- I created some hidden text fields in the modal popup.
- When a row in the grid view was selected by a user certain fields in the selected row were transferred to the hidden text fields.
- Protected Sub GridView1_SelectedIndexChanging(ByVal sender As Object, ByVal e As GridViewSelectEventArgs)
Dim index As Integer = GridView1.SelectedIndex
Dim row As GridViewRow = GridView1.Rows(e.NewSelectedIndex)
hTicket.Text = row.Cells(1).Text ...(etc.)
- Me.txtTicketNbr.Text = hTicket.Text