C
CSINVA
Trying to figure out how to do a cross post page within the code
behind file. I need to do some calculations before I send a string
value to another pages. Here is an example of the concept I would
like to achieve.
Lets start with 2 pages, page1.aspx has the text boxes and page2 is
where I want to display the informaiton.
Page1.aspx
textBox1.text = "John"
textBox 2.text = "Smith"
In my page1.aspx.vb page I have something like
Dim full as string
full = textBox1.text & " " & textBox2.text
Dim url as string = http://localhost/page2.aspx
Page.Response.Redirect(Url)
On page2.aspx all I want to do is display "full" on the page.
Your Full Name: "full"
I have looked at the page.previous.findcontrol but since this is all
done within the code behind file I don't have a control. I need to
beable to instead of findcontrol findvariable("full"), but don't know
how to accomplish that.
behind file. I need to do some calculations before I send a string
value to another pages. Here is an example of the concept I would
like to achieve.
Lets start with 2 pages, page1.aspx has the text boxes and page2 is
where I want to display the informaiton.
Page1.aspx
textBox1.text = "John"
textBox 2.text = "Smith"
In my page1.aspx.vb page I have something like
Dim full as string
full = textBox1.text & " " & textBox2.text
Dim url as string = http://localhost/page2.aspx
Page.Response.Redirect(Url)
On page2.aspx all I want to do is display "full" on the page.
Your Full Name: "full"
I have looked at the page.previous.findcontrol but since this is all
done within the code behind file I don't have a control. I need to
beable to instead of findcontrol findvariable("full"), but don't know
how to accomplish that.