By default for controls placed in the designer the layout position is as ‘Not Set’ thus we cannot drag the control to a specified location.
We have to change the layout position to absolute position to achieve that.
In Visual Studio we can make the default postion as we need.For that we have to enable the css postioning of controls.
Here is how we can do
1. Go to Layout->Position->Auto-position Options->HTML Designer–>CSS Styling
or
2. Go to Tools->Options->HTML Designer–>CSS Positioning
And check “Change positioning to the following for controls added using Toolbox, paste or drag and drop” and select the postion you perfer.Here we select Absolute Positioning.
Now we can move the controls placed in the designer with absolute positioning.
The Given Procedure is for Visual Studio 2005 which is same for Visual Studio 2008.
Popularity: 17% [?]
Related posts:

December 3rd, 2008
admin
Posted in 

Can i position the controls programmatically if so how?
Yes u can do it programmatically
ex :
TextBox1.Style.Add(“left”, “500px”);
Thank you so much…………….
What about layout in 2008, it’s not found .
please help me ,
How to do exactlt the same in Visual Studio 2010????????
Will anyone reply??? Or this thread is dead?