Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-07-07
1
Medium Priority
?
429 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 500 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

783 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