O
Ole Viaud-Murat
Hi,
i'm developing a relatively large user-control based ajax enabled
asp.net 3.5 application and am wondering if it is somehow possible to
decouple the javascript portions from the UserControls.
Often i need to create client-ids within those scripts, so i need a
reference to the server-controls in the control.
What i want to do is extract all javascript from the UserControls in
order to centralize them into libs and make them more cacheable (for
the browser).
Has someone done that before or could point me to the right direction
or resources? Should a ScriptManager be used for that? What is the
recommended pattern to accomplish a clean separation?
thanks in advance
with regards
Ole
i'm developing a relatively large user-control based ajax enabled
asp.net 3.5 application and am wondering if it is somehow possible to
decouple the javascript portions from the UserControls.
Often i need to create client-ids within those scripts, so i need a
reference to the server-controls in the control.
What i want to do is extract all javascript from the UserControls in
order to centralize them into libs and make them more cacheable (for
the browser).
Has someone done that before or could point me to the right direction
or resources? Should a ScriptManager be used for that? What is the
recommended pattern to accomplish a clean separation?
thanks in advance
with regards
Ole