Custom Control won’t trigger Update Panel

November 24, 2009

I was using the __dopostback  function in asp.net to cause a postback that would trigger an update in an updatepanel where relevant.

If you come across this problem make sure that your custom control implements the INamingContainer as well as the IPostBackEventHandler interfaces

Also make sure that your first argument to the __dopostback function is the unique id of your custom control (this.UniqueId)

  • Share/Bookmark

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

tags:
posted in Programming, Troubleshooting by admin

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org