Solved

Webparts Drop event

Posted on 2009-07-10
3
219 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

14 Experts available now in Live!

Get 1:1 Help Now