N
Nevyn Twyll
I've got a web form with a number of dropdowns, combos, etc.
When the user submits the form, I want to redirect them to another form, but
I need to pop it in another window. So, I have a hyperlink on the form
whose NavigateURL gets refreshed whenever the user makes a selection
(...NavigateUrl = '<%#DataBinder.Eval(Container, "GetRedirect()") %>'...) -
but it's too slow to do all those round-trips!
I understand that in the code-behind form, I can Response.Redirect(), but I
can't do it in a new window (like if you set the <asp:hyperlink
Target="_blank">).
So, could someone show me how I could link a button to some Javascript that
would call code-behind code to get the response string, and run that code in
a new window?
Thanks!
(e-mail address removed)
When the user submits the form, I want to redirect them to another form, but
I need to pop it in another window. So, I have a hyperlink on the form
whose NavigateURL gets refreshed whenever the user makes a selection
(...NavigateUrl = '<%#DataBinder.Eval(Container, "GetRedirect()") %>'...) -
but it's too slow to do all those round-trips!
I understand that in the code-behind form, I can Response.Redirect(), but I
can't do it in a new window (like if you set the <asp:hyperlink
Target="_blank">).
So, could someone show me how I could link a button to some Javascript that
would call code-behind code to get the response string, and run that code in
a new window?
Thanks!
(e-mail address removed)