This question is locked. New answers and comments are not allowed.
Hello All,
I am experimenting with the Grid. Currently just in Server binding mode. The below renders the grid as expected. What is not expected is that I am not getting the Html Attributes rendered in the output html.
No matter what attributes I try to apply to that column, I do not see them in the html output (via FireBug).
Anyone have this issue or a resolution?
Thanks in advance.
I am experimenting with the Grid. Currently just in Server binding mode. The below renders the grid as expected. What is not expected is that I am not getting the Html Attributes rendered in the output html.
@Code 'declare the grid and enable features Dim contactsGrid = Html.Telerik().Grid(Model.Contacts). Name("Contacts"). Pageable(Function(p) p.PageSize(5)). Scrollable(). Sortable() With contactsGrid .DataKeys(Function(key) key.Add(Function(contact) contact.ID)) .Columns(Function(columns) columns.Bound(Function(contact) contact.Inactive). Title("Inactive"). Width(60)). HtmlAttributes(New With {.style = "text-align:center"}) .Columns(Function(columns) columns.Bound(Function(contact) contact.ID). Title("Id"). Width(80)) .Columns(Function(columns) columns.Bound(Function(contact) contact.FirstName).Title("First Name").Width(180)) .Columns(Function(columns) columns.Bound(Function(contact) contact.LastName).Title("Last Name").Width(180)) .Columns(Function(columns) columns.Bound(Function(contact) contact.EmailAddress).Title("Email Address")) .Render() End With End code
No matter what attributes I try to apply to that column, I do not see them in the html output (via FireBug).
Anyone have this issue or a resolution?
Thanks in advance.