I started using ascx yesterday and begun a process of chopping up my “dynamic” default.aspx page into smaller parts.
In my default.aspx I have a lot of JavaScript/jquery code that handle different events. When I removed some html code from .aspx, while leaving the javascript in default.aspx, and placed it into .ascx the jquery events stopped working, do I have to write something special so that my JavaScript can access the html in my usercontrol?
Thanks
M
take into consideration that element Ids change from stuff like Control1 to ctl00stuff_Control1 when you put them in user controls