>Hi All,
>Sorry for my another newbie question...
>
>Can anyone explain to me which grid event is executed (if any) when I click on the Hyperlink column with the URL field property set to go to another .aspx page ?
>Basically what I am trying to do is to set a session variable based on the selection in the grid ...Ex:
>
>myVar = DataGrid.SelectedItem.Cells.Item(4).Text
>
>TIA
>Daniel Majtczak
Daniel,
Unfortunately, the Hyperlink server control responds to clicks the same way that an HTML hyperlink control does. It immediately redirects to the address in the target property.
If you want your grid to respond to click events, use a LinkButton control instead.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only