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

Disabled Stylesheets Displayed After RadAjaxManager Postbox

1 Answer 22 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 31 Jul 2012, 01:15 PM
I have been working on a new layout for an existing site. The layout uses jQuery for some styling and a notification system.

There is a number of stylesheets commented out for debugging and IE, eg:
    <!--<link href="Skin/v5/debug.css" rel="stylesheet" type="text/css" />-->
    <!--[if lt IE 9]><link rel="stylesheet" type="text/css" href="Skin/v5/ie8minus.css1" /><![endif]-->

Everything works fine, except on pages using RadAjaxManager. When a postback through the ajaxmanager occurs, these stylesheets mysteriously get activated.

If I remove jQuery, it doesn't happen... however then I lose the notification system and styling which I require.

I've got no idea where to begin to track down how this is occurring? I am guessing something is clashing with jQuery and the RadAjaxManager.
In chrome dev tools the stylesheets still appear to be commented out, yet the styles are somehow applied after AJAX postbox.

The problem occurs in all browsers - I have tested in Chrome, IE9, IE8 and Firefox.

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 03 Aug 2012, 08:28 AM
Hi Dennis,

Could you please revise your code and ensure that you do not add a control on the page which uses this styles internally? This way when the control renders the styles could be registered and applied unexpectedly.

Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Dennis
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or