Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

760 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

19 Experts available now in Live!

Get 1:1 Help Now