0

Hi to all, I have installed VS2008 pro in Xp sp2 pro. I have a problem with positioning of the controls while in the Design mode during a webpage development. Whenever I Add a "BUTTON" or any control in the form and want to drag it anywhere within the form means I need to "Select the Control " then Goto "Format->Position->Absolute". After this I can place the control anywere in the form. Is there any way to overcome it ?

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by amitshrivas
0

hi dear,
Asp.net enviornment is quite different from Visual basic form but asp.net form called web form in which u have to work with with LAYERS,DIVS and tables ....

Possible Solutions:
1-make the table structure like that in order you need your control placed.
2-Right click on control -> properties -> Style -> Position tab -> Top (set your required top , left etc positions)

Regardss

0

Hi to all, I have installed VS2008 pro in Xp sp2 pro. I have a problem with positioning of the controls while in the Design mode during a webpage development. Whenever I Add a "BUTTON" or any control in the form and want to drag it anywhere within the form means I need to "Select the Control " then Goto "Format->Position->Absolute". After this I can place the control anywere in the form. Is there any way to overcome it ?

................
Go on Tools->options->HtmlDesigners->CSS Positioning and select the top most check box and select Absolute Postioning. and OK

0

@amitshrivas : ur answer solves the positioning of other controls except "Label" which is fixed in its Left Top position.

0

@amitshrivas : ur answer solves the positioning of other controls except "Label" which is fixed in its Left Top position.

Actually you have already taken the Label control before all these settings to made may be that's the reason just drag it that control and it will automatically adjust to left top of window then after you can adjust that Label Control accordingly

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.