Geeks With Blogs

News
kazim mehdi

I developed a custom control that utilizing client side functionality also. What I needed is calling client side function on clicking button.

to accomplish this we need to find the clientside object for that we use $find passing clientId of the custom web control as mentioned below.

 

btn.OnClientClick = string.Format("$find('{0}').add({1});", this.ClientID, ‘add’);
Posted on Friday, January 28, 2011 12:10 PM asp.net , ajax , Javascript | Back to top


Comments on this post: ASP.net AJAX Calling Prototype based client side function on button client click.

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © kazim sardar mehdi | Powered by: GeeksWithBlogs.net