Posted on: 11/9/2014 1:20:17 PM | Views : 423

Hi,
I have the HyperLink that its NavigateUrl constructed by a method, it should be pass 2 parameters to other page. When I hover my mouse over the link it seems right (the link has 2 parameters), but when I clicked it the parameter sent is only 1.
What I mean is like this: When I hover my mouse to the link, it look like this: SeeDetail.aspx?ItemID=123456&CustID=ABCDE but when I click it, the link become: SeeDetail.aspx?ItemID=123456 how to fix that?
Here is the code:
<asp:HyperLink ID="ImageLink" NavigateUrl='<%# GetDetailFullURL(Eval("ItemCode").ToString()) %>' runat="server"> and the GetDetailFullURL is something like this:
protected string GetDetailFullURL(string cItemCode) { return String.Format("~/SeeDetail.aspx?ItemID={0}&CustID={1}", cItemCode, edCust.SelectedValue); ...

Go to the complete details ...