Loading Control along with Javascript on ajax Call
-
Hi All I have created a web application where I load controls on different callbacks. So When User click on a button "Security" I have to load a security control using ajax which works fine. The problem I am facing is the following. in Security Control I have one javascript function say ShowDetail(){ some js code here } which is required to be called when this control is loaded. When the control loads it does nto trigger , for testing I placed a button on contrl and on click I call ShowDetail() and it says that undefined function. on another control I have Javascript with a variable say var id = '<%=this.ClientID%>' so when I try to access "id" variable after loading that control Javascript rasie error with id is undefined. Can any one help me out with these issues ? Best Regards Rizwan Bashir
Rizwan Bashir <a href="http://www.alm-soft.com/">ALM Soft</a>[<a href="http://www.alm-soft.com/" target="_blank" title="New Window">^</a>]