G
Giuseppe Vitalone
Hi! I've a Hyperlink and I want to give him a dinamic url... how can I do?
In another point of my application I used
<asp:HyperLink runat="server" NavigateUrl='<%
#GetLinkUrl(DataBinder.Eval(Container.DataItem, "item")) %>'/>
In the code behnid file:
protected string GetLinkUrl(object item)
{
...
return "something";
}
and it works very well. Here, I need to call a GetLinkUrl like method but
without arguments. In the code behind I need to examine a DataGrid and to
return a string.
Thanks all
In another point of my application I used
<asp:HyperLink runat="server" NavigateUrl='<%
#GetLinkUrl(DataBinder.Eval(Container.DataItem, "item")) %>'/>
In the code behnid file:
protected string GetLinkUrl(object item)
{
...
return "something";
}
and it works very well. Here, I need to call a GetLinkUrl like method but
without arguments. In the code behind I need to examine a DataGrid and to
return a string.
Thanks all