Hi all,
I have a button on a web page. When clicked, a radWindow pops up. The popup radWindow contains a radgrid. On each row in the radGrid there is a <asp:LinkButton>. Up to this point, everything works fine.
Now when I click this linkbutton, I want to return the DataKeyNames value to the main calling web page and close the popup window. How do I do this? I think I would want to do this in the ItemCommand event for the radGrid like:
I have a button on a web page. When clicked, a radWindow pops up. The popup radWindow contains a radgrid. On each row in the radGrid there is a <asp:LinkButton>. Up to this point, everything works fine.
Now when I click this linkbutton, I want to return the DataKeyNames value to the main calling web page and close the popup window. How do I do this? I think I would want to do this in the ItemCommand event for the radGrid like:
Protected
Sub rgEntities_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgEntities.ItemCommand
Select Case e.CommandName
Case "Select"
' Return EntityID and close popup window
End Select
End Sub
So how do I do this?
Thanks,
Bob