DOCTYPE Error for RadFilter css

2 posts, 1 answers
  1. July
    July avatar
    205 posts
    Member since:
    Jul 2011

    Posted 16 Aug 2011 Link to this post

    I need change somes style of RadFilter.
    i added RadFilter.css in my project and the follow control_:
                                ID="RadFilter3" runat="server"  
                                Culture="es-AR"  CssClass="RadFilter RadFilter_Default"
                                ExpressionPreviewPosition="Bottom" Skin="Vista">
                                <telerik:RadFilterTextFieldEditor DisplayName="Fulltext" FieldName="1" />
                                <telerik:RadFilterTextFieldEditor DisplayName="Name" FieldName="2" />
                                <telerik:RadFilterTextFieldEditor DisplayName="Modified" FieldName="3" />
    Ths css is:
    .RadFilter_Default,.RadFilter_Default .rfDiv{display:block}
    .RadFilter_Default:after,.RadFilter_Default .rfDiv:after{content:"";display:block;height:0;visibility:hidden;}

    .RadFilter_Default.rfField {
      display: block !important;

    If I have in aspx:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    ths css doesnt work

    But if i change it by this:
    <!DOCTYPE html >

    If works!

    BUT I need use
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

    How I can resolved this issue??

    I attach imnage with DOCTYPE  and whitout DOCTYPE

    I need RadFilter such as withoutDocType Image

  2. Answer
    Galin avatar
    526 posts

    Posted 19 Aug 2011 Link to this post

    Hi Julieta,

    The RadControls of Telerik support any valid !Doctype for xHTML.

    Additionally I have tested the proved markup, but the the described issue does not appears independent of !Doctype scenario.

    Also I am not quite sure that I correctly understand what you are trying to achieve. The selector in CSS rule .RadFilter_Default.rfField have to be with interval between both classes, but it is still unexplainable why you need to render the anchers like block elements.

    You can find my sample web site as attached file, check it out and let me know if missed something.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top