Solved

Webparts Drop event

Posted on 2009-07-10
3
222 Views
Last Modified: 2012-05-07
Hi, I have 2 webpart zones and a single webpart that I want users to drag and drop from zone 1 to zone 2, or vise versa.
I want to update a database after every drop event.
I am now using "WebPartZone_PreRender" event to update my database, but that triggers on every post back.
How do I capture a user drag and drop event?
Thank you
0
Comment
Question by:ki_ki
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
jinal earned 50 total points
ID: 24829016
Hello ,

You can use WebPartManager Event .

WebPartManager has event called WebPartAdded  , WebPartAdding , WebPartMoving ,WebPartMoved. That might help you.

Please following msdn link.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webpartmanager.webpartadded.aspx
0
 
LVL 4

Author Comment

by:ki_ki
ID: 24833097
Thank you for your answer.
I'll try that on Monday.
Have a nice week end
0
 
LVL 4

Author Closing Comment

by:ki_ki
ID: 31602321
Thank you!
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question