How can I add a parameter to navigateurl?

Camillia used Ask the Experts™
I want to add <%# Eval("PatientPhone")%> to the end of the the navigateURL , right after "&patient" but not sure how. How can I do this?

<asp:HyperLink runat="server" Text="FileUpload" NavigateUrl="~/Main/FileUpload/DefaultFile.aspx?pageTitleId=39&patient=" ID="hlFile"></asp:HyperLink>
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Engineer
Top Expert 2011
try :

asp:HyperLink runat="server" Text="FileUpload" NavigateUrl='<%#"~/Main/FileUpload/DefaultFile.aspx?pageTitleId=39&patient=" + Eval("PatientPhone") %>' ID="hlFile"></asp:HyperLink>

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial