Drag 'n Drop Web Controls in Source View

By Michael Flanakin @ 3:14 PM :: 144 Views :: 1 Comments :: Visual Studio, (Open), (Reported) :: Digg it!

While my post's title may not seem that way, I'm more of a "coder" than a "drag 'n dropper." Whenever I edit a user control or web page, I'm always in source view -- well, 98% of the time, anyway. With that, I'd love to see the ability to drag a control from the Solution Explorer to the code to have it instantiated. My main concern is when dragging user controls to HTML-based pages (i.e. master pages, web pages, and user controls); however, the concept works in just about any environment (i.e. drag server controls to HTML-based pages or drag any type of class to a code file). The concept of dragging any class file over to another seems pretty cool to me. The only problem is when people use stupid practices like including more than one class in a file. Even with that, tho, a simple context menu could solve the issue by allowing the user to specify which class to instantiate.

Ratings

Comments

By Michael Flanakin @ Friday, November 17, 2006 1:01 PM
I just checked Microsoft Connect and noticed there were a couple issues reported for this. Unfortunately, the official word is that this isn't possible for performance reasons. Honestly, I can live with that, but having an option might be nice for those who do this a lot. Personally, I don't.

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102917

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=103813

Click here to post a comment



Archives Archives

Categories Categories

Related Links Related Links