J JohnG Aug 19, 2003 #1 Hi All, Can anyone tell me how to open a new window when user clicks a button? Thanks. John
S Steve C. Orr, MCSD Aug 19, 2003 #2 You can do it with some client side javascript such as this: window.open('WebForm2.aspx','_new') Here's more information: http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
You can do it with some client side javascript such as this: window.open('WebForm2.aspx','_new') Here's more information: http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
J JohnG Aug 19, 2003 #3 Hi, Steve, Thank you for the reply. Will this method be able to pass data (page property) to the new page? I want to pass data to the destination page using page property. John.
Hi, Steve, Thank you for the reply. Will this method be able to pass data (page property) to the new page? I want to pass data to the destination page using page property. John.
S Steve C. Orr, MCSD Aug 19, 2003 #4 You could pass data to the new page via Session State. Or you could do it via querystring like this: window.open('WebForm2.aspx?MyID=43','_new')
You could pass data to the new page via Session State. Or you could do it via querystring like this: window.open('WebForm2.aspx?MyID=43','_new')