I want to be able to programmatically register style sheets at runtime in the global.asax which I pull from plugins at runtime.
Can I access the StyleSheetRegistrar and add them in code so that they render appropriately?
3 Answers, 1 is accepted
0
Atanas Korchev
Telerik team
answered on 25 Sep 2009, 11:20 AM
Hi John McDowall,
The StyleSheetRegistrar is created when the view is being rendered. Perhaps you could store the stylesheets in HttpContext.Current.Items (in global.asax) and then register them in your view.