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

import css file disables Ajax

1 Answer 33 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Swapna M
Top achievements
Rank 1
Swapna M asked on 05 Apr 2010, 12:27 PM
Hi ,
    I want to import a different css file for IE7 which i am able to achieve using the following.
 
  <!--[if gte IE 7]> 
  <style type="text/css">@import '/SharedResources/Css/actionheader_ie.css';</style> 
<![endif]-->


But, the above line disables Ajax. (It says RadAjaxManager is NULL) Any idea what could be the reason for this?
and also is there any other way to include different css file which will not disable Ajax?

Waiting for your reply.

Thank You.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 Apr 2010, 05:03 PM
Hello Swapna,

We are not aware for such a problem, but generally, using conditional comments with AJAX causes problems, because they are removed and the CSS file is applied by all browsers. For more information and possible solutions, please refer to:

http://www.telerik.com/help/aspnet-ajax/ajxconditionalcomments.html

Regards,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Ajax
Asked by
Swapna M
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or