ASP.NET 4.0-FormView Control Enhancement –RenderOuterTable Property

Form view control is part of standard control suite since 2.0. We are using it when we need to display one record at a time. ASP.NET 4.0 has made form view control more enhanced.Now its has a property called RenderOuterTable which will decide the whether outer table was render in form view or not. So now the html generated by formview control is more css friendly and easy to manage. Like following we can define the property of from view control.

<asp:FormView ID="myFormView" runat="server" RenderOuterTable="true">
this is form view inner content
If we made redneroutertable=”false” then it will render html like following.
this is form view inner content
So now form view control is more css friendly in and its easy to manage markup generated by

Shout it
kick it on


Popular posts from this blog

Creating PDF with ASP.Net MVC and RazorPDF

Horizontal and vertical scrollbar in HTML5 and CSS3

How to create Rest API(Web API) with ASP.NET Core 1.0