Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Events
Message
From
21/08/2004 21:44:54
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
ASP.NET
Category:
WebForms
Title:
Miscellaneous
Thread ID:
00934916
Message ID:
00935248
Views:
31
>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
Map
View

Click here to load this message in the networking platform