Xpode.com        Click here to Print this article.

Types of layouts in .NET

There is only one type of layout in .NET i.e. Flow Layout. In 2003 there were two- Grid layout and flow layout. But now grid layout is not present here.

There were some drawbacks in grid layout.

1. These were: controls change their position at run time.

2. If we have to write some text we need labels. The speed of web page also depends on how many controls have been used on a page.

We can use grid layout in .NET 2005 To use grid layout on page follow this step Put a control on your web page, then select Layout->Position->Absolute.

You'll then be able to move the control to any position you desire.

You can also change mode permanently in Tools | Options | HTML Designer | CSS | "Set Position of control..." to "Absolutely Positioned".



http://


Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=76

Click here to go on website