![]() |
| ||
| Open Page2 from Page1 in Web Developer 1 Attachment(s) I am using "Microsoft Visual Web Developer 2008 Express Edition". I have created a First page with a button and 2 textBoxes( see attached file) In my project I have added a new item/Page 2 to this project. What I now is trying to do or wonder how it is possible, is how to open this Page2 when pressing this button. Normally when you do this in C# you would have done something like this to open a new Form. Is the solution something simular to this ? Form2 form2 = new Form2(); |
| ||
| Re: Open Page2 from Page1 in Web Developer Quote:
What your looking to do is Response.Redirect = "http://www.google.com/"; having not used visual web developer i am unsure how you would go about it, but you would not want to post back to achieve this when it can be done in standard HTML unless you needed to perform some validation. If these are ASP controls which i assume they are, a property is available to you which you can set on each of the buttons along the lines of 'PostBackURL' |
| ||
| Re: Open Page2 from Page1 in Web Developer Yes that was the way I wanted to do. It did work fine using the property: 'PostBackURL' for the button and put the address there. Thank You! |
| All times are GMT -4. The time now is 9:45 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC