This is a migrated thread and some comments may be shown as answers.

DOCTYPE Error for RadFilter css

1 Answer 51 Views
Filter
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 16 Aug 2011, 04:55 PM
I need change somes style of RadFilter.
i added RadFilter.css in my project and the follow control_:
                   <telerik:RadFilter
                            ID="RadFilter3" runat="server"  
                            Culture="es-AR"  CssClass="RadFilter RadFilter_Default"
                            ExpressionPreviewPosition="Bottom" Skin="Vista">
                        <FieldEditors>
                            <telerik:RadFilterTextFieldEditor DisplayName="Fulltext" FieldName="1" />
                            <telerik:RadFilterTextFieldEditor DisplayName="Name" FieldName="2" />
                            <telerik:RadFilterTextFieldEditor DisplayName="Modified" FieldName="3" />
                        </FieldEditors>
                        </telerik:RadFilter>
    
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

How I can resolved this issue??

I attach imnage with DOCTYPE  and whitout DOCTYPE

I need RadFilter such as withoutDocType Image

1 Answer, 1 is accepted

Sort by
0
Accepted
Galin
Telerik team
answered on 19 Aug 2011, 02:42 PM
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.

Regards,
Galin
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.

Tags
Filter
Asked by
July
Top achievements
Rank 2
Answers by
Galin
Telerik team
Share this question
or