| | |
Open Page2 from Page1 in Web Developer
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Oct 2008
Posts: 122
Reputation:
Solved Threads: 6
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 ?
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 ?
ASP.NET Syntax (Toggle Plain Text)
Form2 form2 = new Form2(); form2.Show();
Last edited by Liszt; Jan 9th, 2009 at 5:06 pm.
•
•
•
•
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 ?
ASP.NET Syntax (Toggle Plain Text)
Form2 form2 = new Form2(); form2.Show();
What your looking to do is
ASP.NET Syntax (Toggle Plain Text)
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'
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Loop Madness!
- Next Thread: BeginnerQuestions to create WebSite
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox child class compatible content contenttype control countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownmenu dynamic dynamically edit embeddingactivexcontrol feedback fileuploader fill findcontrol flash flv form gridview gudi iis image javascript list listbox menu mouse mssql nameisnotdeclared news novell numerical opera order parent problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security select serializesmo.table sessionvariables silverlight smoobjects software sql sql-server ssl tracking treeview typeof validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming wizard xsl





