Solved

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

Posted on 2006-07-07
1
422 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Blog posts not showing up on Blog page 7 58
WIX Redirect 1 48
Select record with the most recent date 14 56
Syntax for query to update table 2 12
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

773 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