473,397 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Drag and drop around user controls

I am creating a dashboard in VS 2010. For the widgets, I created a user control multiple instances of which are added to the dashboard. Now, the user should be able to move them around(drag and drop) on the dashboard. I need help with this feature. I tried to use the sample code from Codeproject, but the mouse down click for the user controls won't work. That is because the user controls are inherited by a bar chart, pie chart and so on. When I try to fire the mouseup event for the usercontrol, the mouse click for the bar chart/pie chart is fired. How do I get the mouseup event for the user control to fire?
Dec 5 '12 #1
1 1681
zmbd
5,501 Expert Mod 4TB
Please post the parts of your code dealing with the mouse events... or if not too long, the entire code.

Please remember to use the <CODE/> button in the toolbar to format posted programing code/html/sql
Dec 5 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Kate | last post by:
Hi: Well, I finally jumped into User Controls and am immediately over my head. I have gone through the Help file pages and tutorials completely, getting a vague feeling what I want to do is...
1
by: charliewest | last post by:
I have created a user control (ascx) in C# which accesses a database and fills a datagrid. When i attempt to drag and drop this control onto a new Web Form (aspx), my VS .NET 2003 program crashes....
2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
1
by: Mats-Lennart Hansson | last post by:
Hi, I've created a simple user control (System.Windows.Forms.UserControl) in c#. Then I place two items of this control on a form. After this I try to drag one control to the other and try to...
6
by: A.M | last post by:
Hi, When I drop a ASP.NET control from toolbox into my page, It automatically puts something like this line in my code behind class defenition: protected System.Web.UI.WebControls.TextBox...
3
by: Demetri | last post by:
If one were to develop a web server control (web control library), which enhances the datagrid by implementing a class that inherits from the DataGrid class, and give it drag and drop capability. ...
1
by: randy1200 | last post by:
In Visual Studio 2003, I could create a new user control such as panel1. The name panel1 would appear in the toolbox under "My User Controls." I could drag this panel1 from the toolbox onto...
0
by: R. MacDonald | last post by:
Hello, Group, I have an application that contains a large number of controls of a few different types (all custom defined). During certain specific drag-drop operations, I would like to be able...
0
by: raghunadhs | last post by:
Hi all! i am developing an application in v.b 6.0. it consists of some user controls (developed by using Activex controls...)... I am able to drag and drop the user contols on the screen and these...
0
by: arvinds | last post by:
I have an application in which I have 2 forms. 1.Review Form 2. FilmForm. Review Form is used for Loading some images and we can transfer the Images from Review From to FilmForm by Drag-Drop...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.