Hi,
I've a controller which passes data to the strongly typed view of type IEnumerable. Here, i used a blank template and put my own RadGrid. I've successfully bind the rad grid with the model.
I've added a hyper link column and the purpose is, when i click on hyperlink, the id of the clicked row will be pass to another view. Have a look at below:
When i run the application, error appears. I just want to know how to achieve the above defined functionality. I know i can't use "Modal.Id".. What is the other way?
Thanks
Ovais
I've a controller which passes data to the strongly typed view of type IEnumerable. Here, i used a blank template and put my own RadGrid. I've successfully bind the rad grid with the model.
I've added a hyper link column and the purpose is, when i click on hyperlink, the id of the clicked row will be pass to another view. Have a look at below:
<telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" UniqueName="TemplateColumn"> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" Text="View" NavigateUrl='<%# Url.Action("Inspector","Vessel",new{id=Model.Id}) %>'> </asp:HyperLink> </ItemTemplate></telerik:GridTemplateColumn>When i run the application, error appears. I just want to know how to achieve the above defined functionality. I know i can't use "Modal.Id".. What is the other way?
Thanks
Ovais