Gridbutton question

1jaws
1jaws used Ask the Experts™
on
I have GridButtonColumn ID that I want to make iit send value of ID and load the page according to that ID.. how can I do that?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
have a look at http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.hyperlinkfield.aspx

<asp:HyperLinkField
                    DataNavigateUrlFields="GridButtonColumnID"
                    DataNavigateUrlFormatString="~/Details.aspx?ID={0}"
                    DataTextField="GridButtonColumnLabel"
                    />

Author

Commented:
thx

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial