Handle events in SPWebPartManager

Posted by Ashok on Stack Overflow See other posts from Stack Overflow or by Ashok
Published on 2009-07-28T07:16:26Z Indexed on 2010/06/11 8:23 UTC
Read the original article Hit count: 153

Filed under:

How do i handle events such as "WebPartMoving" and "WebPartMoved" in a page conataining webparts. The webpart manager tag is added to the master page. So i added the handler to code behind:

m.WebPartMoving += new System.Web.UI.WebControls.WebParts.WebPartMovingEventHandler(m_WebPartMoved);

but it's not working...what could be the reason?

© Stack Overflow or respective owner

Related posts about sharepoint