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?
Sumit Kesarwani
05-Sep-2014Try using this type of column instead of a ButtonField: