Reputation: 4319
Duplicate of How to redirect to another page onclicking on button in gridview along with parameters
hi guys, I have a gridview with button in one column.I want to redirect to another page along with parameters on clicking on button.Is there any option to do this in rowdatabound event in gridview.If there is any other option can anybody help
Upvotes: 0
Views: 2318
Reputation: 30734
Do you mean in Silverlight? If so you can use the HtmlPage.Window.Navigate
method.
Upvotes: 0
Reputation: 5745
If you want it to be a button that does the redirecting, you have to capture the RowCommand event, and from there on you can redirect using the options you want.
Upvotes: 1