Howard Katz
asked on
syntax for hyperlink field in a grid view with 3 querystrings coming from Session variables
Hello Experts,
I need the sytax for the navigateURL attribute in a asp:hyperlink control
<asp:TemplateField>
<itemtemplate>
asp:hyperlink text="<%# Bind("quote_number"%>" navigateURL=applicant.aspx ?qn=" "
The first Item is the value in the text=="<%# Bind("quote_number"%>"
the next 2 items are in session variables.
Thanks
Howard
I need the sytax for the navigateURL attribute in a asp:hyperlink control
<asp:TemplateField>
<itemtemplate>
asp:hyperlink text="<%# Bind("quote_number"%>" navigateURL=applicant.aspx
The first Item is the value in the text=="<%# Bind("quote_number"%>"
the next 2 items are in session variables.
Thanks
Howard
<asp:TemplateField>
<itemtemplate>
<asp:hyperlink text='<%# Bind("quote_number")%>' navigateURL='<%# "applicant.aspx?qn=" & session("varName") %>'></asp:hyperlink>
<itemtemplate>
<asp:hyperlink text='<%# Bind("quote_number")%>' navigateURL='<%# "applicant.aspx?qn=" & session("varName") %>'></asp:hyperlink>
ASKER
lem2802,
I need to have the qn be equal to the value that is in text attribute.
After that, I have 2 more query strings that are coming from session variables.
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -
Chumad, when trying to build your solution, i got errors on the Bind in the navigateURL part.
I need to have the qn be equal to the value that is in text attribute.
After that, I have 2 more query strings that are coming from session variables.
--------------------------
Chumad, when trying to build your solution, i got errors on the Bind in the navigateURL part.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<asp:hyperlink text='<%# Bind("quote_number") %>' navigateUrl = '<%# String.Format("applicant.a