Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HyperLinkColumn and multiple parameters

Status
Not open for further replies.

phil7445

Programmer
Jan 3, 2002
3
US
Doe anyone know how to pass multiple parameters using a HyperLinkColumn in a datagrid? In the code below I need to pass a second argument to the linked asp page.

Any help would be greatly appreciated.

Thanks.

<asp:HyperLinkColumn
HeaderText=&quot;Event ID&quot;
headerstyle-horizontalalign=&quot;Center&quot;
itemstyle-horizontalalign=&quot;Center&quot;
Text=&quot;Details&quot;
DataTextFormatString = &quot;&quot;
DataTextField = &quot;eventid&quot;
DataNavigateUrlField = &quot;eventid&quot;
DataNavigateUrlFormatString=&quot;../process/procprocd.aspx?id={0}&quot;
Target=&quot;_self&quot; />
 
Jack,

&quot;&&quot; is invalid in a HyperLinkColumn. Invalid syntax.

Any other ideas?

Thanks

Phil
 
Did you find an answer? I'm doing it, but I've hard-coded one of the values:
ie. drilldown.aspx?tab=reference&id={0}


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top