| Register
Monday, December 01, 2008
SharePoint Forums
SearchForum Home
     
  SharePoint Development  Begining Web Part Development  Webpart that re...
 Webpart that responds to clientside events
 
millerthegorilla
7 posts
4th
Joined
6/17/2008

Webpart that responds to clientside events
Posted: 17 Jun 08 10:46 AM
I want my webpart to respond to clientside events.  I've derived it from IPostBackEventHandler and defined the right methods but am not sure where to go from there.  I've got a button in the webpart that calls the javascript function __doPostBack with the uniqueid of the webpart passed to it but nothing happens.  What am I doing wrong.  Does anyone know of any good tutorials/examples about this?
millerthegorilla
7 posts
4th
Joined
6/17/2008

Re: Webpart that responds to clientside events
Posted: 18 Jun 08 6:52 AM
I found the answer - I was passing in the wrong Id value to _doPostBack.  IT works fine now.
  SharePoint Development  Begining Web Part Development  Webpart that re...
(c) 2006 SharePoint Forums   |  Privacy Statement  |  Terms Of Use