Multiple Parameters With Hyperlink in DataGrid
I have a datagrid with a hyperlinkcontrol column. And it will only take one
parameter. So I created a template column, with a hyperlink based on an
example I saw. (now working directly in the aspx page as opposed to the code
behind) It uses the NavigateURL and then useses
Container.DataItem("itemName") to set the item values inline (so
'someUrl.com?item=.' + Container.DataItem("itemName") ) First off I'm doing
this in C# so I changed the call to Container.DataItem["itemName"]. Now it
throwsa HTML excepetion because the "object" cannot be index. any
suggestions on how to do this. I have tried casting the container but to no
My overall goal is to pass 2 parameters in a query string of a hyperlink
that is embeded in a datagrid. :)
|All times are GMT. The time now is 12:59 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.