Hi,
I have the following grid.On submit button click I want to get the selected row datas.How this possible?
<%Html.Telerik().Grid(model.test())
.Name("rgItems")
.DataKeys(dataKeys => dataKeys.Add(model => model.temID))
.Columns(columns =>
{
columns.Template(model =>
{
%>
<input type='checkbox' id='chkSelect'/>
<%
})
.Title("<input type='checkbox' id='chkSelectAll'/>")//To get clientselect column format
.Width("5%")
.HeaderHtmlAttributes(new { Style = "width:5%;" })
.ClientTemplate("<input type='checkbox' id='chkSelect'/>");
columns.Bound(model => model.Name)
.HeaderHtmlAttributes(new { Style = "width:20%" })
.Title("Project")
.Width("20%");
.HtmlAttributes(new { style = "width:99.8%" })
.Sortable()
.Selectable()
.Filterable()
.Pageable(pager => pager.PageSize(30).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.Numeric))
.Render();
%>
I have the following grid.On submit button click I want to get the selected row datas.How this possible?
<%Html.Telerik().Grid(model.test())
.Name("rgItems")
.DataKeys(dataKeys => dataKeys.Add(model => model.temID))
.Columns(columns =>
{
columns.Template(model =>
{
%>
<input type='checkbox' id='chkSelect'/>
<%
})
.Title("<input type='checkbox' id='chkSelectAll'/>")//To get clientselect column format
.Width("5%")
.HeaderHtmlAttributes(new { Style = "width:5%;" })
.ClientTemplate("<input type='checkbox' id='chkSelect'/>");
columns.Bound(model => model.Name)
.HeaderHtmlAttributes(new { Style = "width:20%" })
.Title("Project")
.Width("20%");
.HtmlAttributes(new { style = "width:99.8%" })
.Sortable()
.Selectable()
.Filterable()
.Pageable(pager => pager.PageSize(30).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.Numeric))
.Render();
%>