I have a panel with a textbox on it. In the GridView I have a button in a template. I can send the row data from the button's OnClick to the text box easily enough.
<asp:Button ID="Preview_btn" runat="server" CausesValidation="false"
Protected Sub GoToPreviewPage(ByVal sender As Object, ByVal e As EventArgs)
Dim row As GridViewRow = DirectCast(TryCast(sender, Control).NamingContainer, GridViewRow)
Dim myRowIndex As Integer = row.RowIndex
Textbox2.Text = Gridview1.Rows(myRowIndex).Cells(1).Text
When I added the ModalPopupExtender to the button and pointed it to the panel, now the button's OnClick event and OnClientClick and CommandName no longer fire. The Popup works fine, I'd just like to be able to pass the RowID to i
View Complete Post