Solved

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

Posted on 2006-07-07
1
427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
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).

632 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