This topic is locked
[SOLVED]

 list page hyperlink with row data

7/18/2015 7:03:22 PM
ASPRunner.NET General questions
J
JHN author

I am trying to add a column to the list page and have an image with a hyperlink. I need the hyperlink to include the row id. Have tried many variations but no luck. Could anyone help with this?



<TD class="{$tool_id_class} runner-cc" rowspan="1" colspan="1">

<A href="dbo_tool_use/edit?editid1=value{$tool_use_id_value}">

<IMG alt="check in" src="images/toolbar_edit.png" border="0">

</A>


Also tried: /dbo_tool_use/edit?editid1=data["tool_use_id"].ToString();
Thanks in advance for your help.

admin 7/20/2015

It won't work this way. My suggestion is to add a new dummy field to your SQL query, make sure this field is only displayed on the List page, set 'View as' type of this field to 'Custom' and write your hyperlink code there.
Find more info and code samples at http://xlinesoft.com/asprunnernet/docs/_view_as__settings_custom.htm