Hi,
I have a link on one of my pages that goes back to the previous page. The link is not in a DataGrid - just in an HTML table.
My code is this:
strURL is defined in my codebehind page as "javascript:goBack("
When I run the page, the only thing that shows up is the word Back. No link or anything.
I really need to set up my URL like this as I have to pass the OrderID via a form variable (my goBack function submits the form)
In other pages I've written, I set up links just like this and it's worked fine. The only difference is that those links were in a datagrid, and this link is not.
Any suggestions would be appreciated.
Thanks in advance!
Suzanne
I have a link on one of my pages that goes back to the previous page. The link is not in a DataGrid - just in an HTML table.
My code is this:
Code:
<asp:hyperlink id=hyperlink1 runat=server NavigateUrl='<%# strURL & lblOrderID.Text & ")" %>'>Back</asp:hyperlink>
strURL is defined in my codebehind page as "javascript:goBack("
When I run the page, the only thing that shows up is the word Back. No link or anything.
I really need to set up my URL like this as I have to pass the OrderID via a form variable (my goBack function submits the form)
In other pages I've written, I set up links just like this and it's worked fine. The only difference is that those links were in a datagrid, and this link is not.
Any suggestions would be appreciated.
Thanks in advance!
Suzanne