This question is locked. New answers and comments are not allowed.
Hi,
i want to show a detailsview window on selected row grid.
can someone help ?
i want to show a detailsview window on selected row grid.
<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl(Of IEnumerable(Of Ares4AgsmDbModels.RequestQueue))" %><script type="text/javascript"> function OnRowSelect(sender, args) { $('#Window').data('tWindow').center().open(); }</script><%: Html.Telerik.Grid(Model).Name("GridRequestsByLogin") _ .Sortable _ .Scrollable _ .Selectable _ .Filterable _ .DataBinding(Function(ajxbind) ajxbind.Ajax.Select("_AjaxBinding", "RequestQueue")) _ .Columns(Sub(col) col.Bound("RequestGuid").Hidden(True) col.Bound("Status").ClientTemplate("<img width='16' height='16' alt='<#= Status #>' src='" + Url.Content("~/Content/Images/Status/") + "<#= Status #>.png' />") col.Bound("CTI") col.Bound("ExternalId") End Sub) _ .ClientEvents(Sub(ev) ev.OnRowSelect("OnRowSelect")) %> <%: Html.Telerik.Window _ .Name("Window") _ .Title("Request details") _ .Scrollable(True) _ .Resizable _ .Draggable(True) _ .Width(600) _ .Height(400) _ .Visible(False) _ .Modal(True) _ .Buttons(Sub(bt) bt.Maximize.Close()) _ .LoadContentFrom("Details", "RequestQueue", New With {.id = "{0}"}) <---- when passing hardcoded ID it works but
here i want to pass the selected grid row ID to the details view
%> can someone help ?