?
Solved

Webparts Drop event

Posted on 2009-07-10
3
Medium Priority
?
228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
jinal earned 200 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

765 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