Hi Guys,
I have a RadGrid and I need to place a hyperlink in the ItemTemplate. If I hard code the NavigateURL to "Supplier.aspx?ID=1079" everything works well. However, I want to replace the "1079" with the supplier id for this particular record and I just can not get the syntax correct. How do I get Eval("suplid") into the NavigateURL?
<asp:HyperLink ID="HyperLink11" runat="server" NavigateUrl='Supplier.aspx?Supplier=1079'><%# Eval("suplnm")%></asp:HyperLink>
William
I have a RadGrid and I need to place a hyperlink in the ItemTemplate. If I hard code the NavigateURL to "Supplier.aspx?ID=1079" everything works well. However, I want to replace the "1079" with the supplier id for this particular record and I just can not get the syntax correct. How do I get Eval("suplid") into the NavigateURL?
<asp:HyperLink ID="HyperLink11" runat="server" NavigateUrl='Supplier.aspx?Supplier=1079'><%# Eval("suplnm")%></asp:HyperLink>
William