Using C#,
I want to get a value from previous page.
For example,
In a page A i have the textbox value like "apple", i want to get the same value in page B
Page A Code.
<a href="javascript:void(0)"
onclick="window.open('pageB.aspx',
'Add','width=700,height=400')">
Add</a>
Above Code is linking a Page B from Page A
How to get a value page A textbox value in Page B.
Need Help
Why don’t you just pass the value as a parameter in your call to open pageB.aspx?
This will generate the URL of
pageB.aspx?param=Apple. Then on the pageB.aspx code behind, you can access that value using theRequest("param")call.