Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




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".

Share this article   |    Print    |    Article read by 1475 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles:
Related Interview Questions: