3
Answers

Hyperlink Control with navigateUrl

kawaljit  singh

kawaljit singh

14y
7.6k
1

Hi,
can anyone please tell me how can i use eval in nvaigateurl of hyperlink control....
i just want to take the destination page from database and apply it to the <%#Eval("ProductPage")%> and Its Record Id to <%#Eval("recId")%>..
but its now working.....
here's what i m using....
<asp:HyperLink ID="hplProductPage" NavigateUrl="<%#Eval("ProductPage")%>?productId=<%#Eval("recId")%>" runat="server"></asp:HyperLink>

Answers (3)
Next Recommended Forum