Solved

Webparts Drop event

Posted on 2009-07-10
3
218 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now