Subscribe to Subscribers
Talk to Webmaster Tony John


Forums » .NET » ASP.NET »

Drag and Drop the controls at runtime in ASP.NET application


Posted Date: 01 Dec 2009      Posted By:: krishna chaitanya     Member Level: Gold    Member Rank: 797     Points: 1   Responses: 2



Can anyone help

I want to create an ASP.NET application that has a toolbox at runtime, drag the controls from toolbox and drop in the form. Once we drop the controls in the form, the properties related to that particular control should be displayed in property Panel. Once we change the properties it should affect the form controls.

(This Application like Visual studio toolbox and property box)




Responses

#448694    Author: pradeep kumar reddy      Member Level: Silver      Member Rank: 1216     Date: 01/Dec/2009   Rating: 2 out of 52 out of 5     Points: 2

hi,
we cannot drag&drop directly. we can write code to create code dynamically after clicking a button. we can write code to create a new control in button_click event.

Thanks & Regards,
Pradeep Kumar Reddy.

Believe in yourself, Success comes with You.



 
#448856    Author: Ankur      Member Level: Gold      Member Rank: 75     Date: 01/Dec/2009   Rating: 2 out of 52 out of 5     Points: 2

you have to dynamically generate the controls and than use of them

Regards
Ankur

Dont forget to rate it if it help



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : How to use multi Forms in a single ASPX page?
Previous : Urgent.!how put a horizontal scroll bar to drop down list box server control using asp.net
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.