Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?

how do i change the position settings of a WebForm?

hanglam (Programmer)
19 Jul 12 23:50
Hi,

I just started using Visual Studio 2010 to develop an ASP.NET Web Application.
My question is whenever I drag a component (Label, Textbox, etc) onto the WebForm, the component (Label, Textbox, etc) automatically goes to the top left corner of the WebForm. How do I change the settings of the WebForm so I can place a component (Label, Textbox, etc) anywhere I want to the WebForm?
Same question applies whenever I placed a component (Label, Textbox, etc) inside a Panel or the Content container, the labels or textboxes just position themselves on the top left corner of the Panel of Content Container in a sequential manner. How can I place components inside a Panel or Content container anywhere I want inside the Panel or Content container?

Thanks,
Hang
jbenson001 (Programmer)
20 Jul 12 10:01
If you are coming from a windows application development background, getting used to creating web applications takes some getting used to. When developing a windows app, it is a WISIWIG environment. With a web app it is not. This is because there are many different browsers and each one can potentially render your page differently, even if slightly. That being said, you will need to learn CSS and use that for positioning of your form elements. It can be a bit frustrating at first, but you will get used to it.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close