ASP.NET 1.1 to ASP.NET 2.0 Migration #2
I believe that MS_POSITIONING keyword is deprecated in ASP.NET 2.0.
ASP.NET 1.1
<body MS_POSITIONING="FlowLayout">
ASP.NET 2.0
By default, ASP.NET 2.0 is based on Flow Layout. So just remove the MS_POSITIONING keyword.
<body>
But how about GridLayout?
That is a very good question. Since all the ASP.NET 2.0 by default are based on FlowLayout, how can we change this?
ASP.NET 1.1
<body MS_POSITIONING="GridLayout">
ASP.NET 2.0
You still have to remove the keyword MS_POSITIONING like this:
<body>
But in order for you to use grid layout for absolute positioning of controls, do this:
In your VS 2005 IDE, click on Tools -> Options -> HTML Designer -> CSS Positioning
Then checks the "Change positioning to the following for controls added using the Toolbox, paste or drag and drop", then selects "Absolute Positioned"
OR you can do this:
Say you only want certain control to be absolute and others still based on flow layout. Select a control on the designer and then go to Layout -> Position
Change from Not Set to Absolute
Hope you find it useful :D