Here is the code snippet from the grid.
I would like to set the DataNavigateUrlFormatString from a field in the bound datatable, just like the visible text field is set by setting the DataTextField property, or set this property in the code behind before the grid is rendered.
Can this be done and how do I do it??
Thanks!
<telerik:GridHyperLinkColumn DataTextField="EstimateID" UniqueName="EstimateID" HeaderText="Quote #" AllowFiltering="false" |
DataNavigateUrlFormatString="~/QuoteDetail.aspx?EstimateID={0}" DataNavigateUrlFields="EstimateID" SortExpression="EstimateID" |
SortAscImageUrl="~/Images/SortAsc.gif" SortDescImageUrl="~/Images/SortDesc.gif" ItemStyle-Font-Underline="true"> |
<ItemStyle HorizontalAlign="Center" Font-Size="12px" /> |
</telerik:GridHyperLinkColumn> |
I would like to set the DataNavigateUrlFormatString from a field in the bound datatable, just like the visible text field is set by setting the DataTextField property, or set this property in the code behind before the grid is rendered.
Can this be done and how do I do it??
Thanks!