Posted on Aug 11, 2010 (permalink)
<%
Html.Telerik().Grid(Model.AvFaxActiveBriefings)
.Name(
"Grid"
)
.DataKeys(d => d.Add(x => x.AvFaxid))
.Columns(columns =>
{
columns.Bound(x => x.AvFaxid).Title(
"ID"
);
columns.Bound(x => x.AvFaxNumber).Title(
"Number"
columns.Bound(x => x.DateIssued).Title(
"Issued"
columns.Bound(x => x.UpdateTill).Title(
"Update"
columns.Bound(x => x.Format);
columns.Bound(x => x.Target);
columns.Bound(x => x.Content);
})
.Selectable()
.RowAction(row =>
if
(row.Index % 2 == 0)
row.HtmlAttributes[
"style"
] =
"background:#F0F0F0;"
;
}
.Footer(
false
.Render();
%>
Reply
Back to Top
[ ASP.NET MVC Grid Features | Documentation | Demos | Telerik TV ]
UI controls for ASP.NET AJAX, MVC, WPF,Silverlight, Windows 8 and Windows Phone
Cross-platform Mobile Development Toolwith cloud-based architecture
Everything you need to build sites andmobile apps with JavaScript and HTML5
One easy tool for Functional, Performance,Load and Mobile software testing
Everything for your online business - contentmanagement, ecommerce, emarketing
Simple and intuitive project managementand collaboration software