WebForm AddHeader implemented?
Posted
#1
(In Topic #792)
Trainee

Has anyone tried to work with WebForms and the AddHeader function. According to help, it accepts an string as argument. However, when I test the app the header is not included.
Code snippet:
Webform1.AddHeader("<link href="http://cdn.syncfusion.com/19.4.0.38/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet" />")
Any ideas?
UPDATE: Or how can I add an external javascript library to my header (or project)? Any help will be appreciated.
Thanks
Posted
Banned
Possibly once Form_Open happens the headers are already written?
PS does WebForm.AddJavascriptFile() not do what you want?
1 guest and 0 members have just viewed this.





