How to redirect to another page
-
I have a simple WebForm on Visual Studio 2005 Web Developer. I have 2 textboxes with integer values in them How can I do an instruction placed on the Page_load Sub that opens a new page or redirects to a new page automatically when value from TextBox1 = TexBox2 ?? Usign Visual Basic.net? THANX
-
I have a simple WebForm on Visual Studio 2005 Web Developer. I have 2 textboxes with integer values in them How can I do an instruction placed on the Page_load Sub that opens a new page or redirects to a new page automatically when value from TextBox1 = TexBox2 ?? Usign Visual Basic.net? THANX
set the textbox to auto postback then put the redirect or open new page in the load event if ispostback and textbox1 = textbox2 then redirect or new page end if Da Intern
-
I have a simple WebForm on Visual Studio 2005 Web Developer. I have 2 textboxes with integer values in them How can I do an instruction placed on the Page_load Sub that opens a new page or redirects to a new page automatically when value from TextBox1 = TexBox2 ?? Usign Visual Basic.net? THANX
Hi there, You can hook on KeyPress event on these 2 textboxes by using js. In the js code, you can do a comparision of these 2 textboxes, if equal, using
window.open(....)
to open a new page... Hope u get the idea... << >>