Mathie
03-08-2006, 04:01 PM
Hello everyone. I know that this must be an easy question, but I am a beginner with ASP.NET 2005. I have constructed 2 webforms and with one webform i have 2 textboxes which are then used to select certain data from an Xml feed off of a URL. I Have successfully done that and know that i have that working. The thing that i want to do now is make my one form not visible and change my view to my second form to display this data. However, for the life of me, i have no idea how to do this, how to make my Form1 invisible, and my Form2 visible. I dont want to use a PostBackURL because in my button from form1, i have a set of instructions that i want it to do before i go to my second form. So my main question is:
how can i bring this data to the 2nd form (which i have put into an array in the form1) and make the 2nd form visible after the things in the button method is done in the first form. thank you very much!
I should also note too that i am used to Visual Basic, and i was used to using the Form1.Visible = false, then Form2.Visible = true, but it doesnt seam to allowq me to chose form2, there is none in the autotype. is this normal? are different aspx files independent of each other?
how can i bring this data to the 2nd form (which i have put into an array in the form1) and make the 2nd form visible after the things in the button method is done in the first form. thank you very much!
I should also note too that i am used to Visual Basic, and i was used to using the Form1.Visible = false, then Form2.Visible = true, but it doesnt seam to allowq me to chose form2, there is none in the autotype. is this normal? are different aspx files independent of each other?