registering some javascript code from within an user control
-
Hi everybody... Does anybody know if it`s possible do register some javascript code in a control`s parent page, especially inside a head tag? These javascripts need to access and interact with some Html Controls inside the control. Is it possible? I don`t want to post back my page so I do prefer to interact with users just using DHTML and Javascript. Thanks in advance... Cheers!!! XD
-
Hi everybody... Does anybody know if it`s possible do register some javascript code in a control`s parent page, especially inside a head tag? These javascripts need to access and interact with some Html Controls inside the control. Is it possible? I don`t want to post back my page so I do prefer to interact with users just using DHTML and Javascript. Thanks in advance... Cheers!!! XD
Register the javascript file name in the Parent aspx page like And Register the Event and function in load page in the control ascx.cs page
Thanks and Regards Sandeep If you want something you never had, do something you have never done!