I currently have a radgrid that opens a nestedview template like so:
I want to change this now though so that the AppViewer UserControl opens in a RadWindow modal popup. I am not sure how to do that programmatically as I want it to happen when the row is clicked, not a select link or button.
Also, in the radwinow I will have editing available, so when the radwindow is closed how do I automatically refresh the grid?
Thank you.
Protected Sub grid_applications_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles grid_applications.ItemCommand |
If e.CommandName = "RowClick" Then |
Dim item As GridDataItem = e.Item |
If item.Expanded = True Then |
item.Expanded = False |
Else |
item.Expanded = True |
End If |
End If |
End Sub |
<NestedViewTemplate> |
<asp:Label ID="GridRec" runat="server" Visible="false" Text='<%# Eval("record") %>' /> |
<uc1:AppViewer ID="AppViewer1" runat="server" /> |
</NestedViewTemplate> |
I want to change this now though so that the AppViewer UserControl opens in a RadWindow modal popup. I am not sure how to do that programmatically as I want it to happen when the row is clicked, not a select link or button.
Also, in the radwinow I will have editing available, so when the radwindow is closed how do I automatically refresh the grid?
Thank you.