E
elbomberotorero
Hi everyone,
I have several aspx files which inherit from a common file called
Menu.
In this file, I overwrite the Page_Load method and I put inside it the
LoadControl method to load an user control to the daughters without
having these any code line referred to that control (@Register
control, ...).
Now, I would like to do the same for the js files and the css files. I
would like to add them just by inheritance and not by code or by
using "id" or "runat='server'" inside the webforms.
Is there any solution apart from parsing the HTML, looking for the
"head" tag, adding the code and substituting the control?
I have several aspx files which inherit from a common file called
Menu.
In this file, I overwrite the Page_Load method and I put inside it the
LoadControl method to load an user control to the daughters without
having these any code line referred to that control (@Register
control, ...).
Now, I would like to do the same for the js files and the css files. I
would like to add them just by inheritance and not by code or by
using "id" or "runat='server'" inside the webforms.
Is there any solution apart from parsing the HTML, looking for the
"head" tag, adding the code and substituting the control?