Solved

VS 2005 C# ASP can't drag toolbox items(textbox) around in design mode

Posted on 2006-07-07
1
421 Views
Last Modified: 2012-06-21
I just switch from vs 2002 to vs 2005 and my first problem is i could not find a c# web application template. So, i used an empty web template then i added a Web Form to the solution. So, then i opened the web form in design mode and tried to drag a button to form, the button goes in the the top left corner no matter where i drop it(like i am doing html by hand) . Can i use web form design mode like in a win form?
thanks
   tim
0
Comment
Question by:NESupply
1 Comment
 
LVL 13

Accepted Solution

by:
PraxisWeb earned 125 total points
ID: 17059183
In 2002/2003 There was an experiment that failed miserably... the GridLayout mechanism that attempted to make web design like form design.  In VS2005 that is gone.

Depending on your preferences and requirements there are 2 options...

Standards based:
Use HTML and CSS to position your elements... in which case drag and drop is only useful for getting controls on the page, just the way it does.

The old standby:
Use tables to position your elements... in which case you need to create an HTML table (not a server-side table) in VS then you can drag and drop the controls into the cells of the table you create to make your positioning work.

One caveat to all this...  Keep in mind that VS is primarily a developer tool, with a programmers needs in mind.  while it can assist with making things pretty... it is really all about cranking out content.  You may want to use VS to do your coding then another tool of choice to manipulate the GUI the way you want it.


My usual procedure is to create a mock up in Photoshop... then rough out the html to produce the mock up... then write the code to make it work... and finally tweak the CSS to make it pretty.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.

911 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

23 Experts available now in Live!

Get 1:1 Help Now