forum

Home / DeveloperSection / Forums / Redirect to specific page when a gridview buttonfield is clicked

Redirect to specific page when a gridview buttonfield is clicked

Manoj Bhatt 2220 05-Sep-2014

I have two fields in my gridview. One is a field with a date range and one of them is a buttonfield. I want to make it so that when a button is clicked, it will redirect them to a specific page with a formatted string similar to how it's done when a hyperlinkfield is clicked as such:

DataNavigateUrlFormatString="ProductInfo.aspx?ProductID={0}"

Is there a way I can do the same thing with a button?


Updated on 05-Sep-2014

Can you answer this question?


Answer

1 Answers

Liked By