Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I have a scenario.I have a button on which a page on click of which another form opens up,then on this form i select a values from a grid which i put it in a string and save it in a session.Now i want this session value to be put on the previous page in a textbox.

It is bit similar like a browse button,but with a diffrent implementation.i want idea for this.I am working in asp and c#.

So please help me on this.

Regards,
Amol
Posted

You tagged it as ASP.NET so, have a look at this article:
Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]

Based on similar logic, you can pass on the values in Session or Windows return value and update the parent page with child page value.
 
Share this answer
 
When the user clicks the button to submit, have the 2nd page redirect to the first, and load the text from the session var into the text field.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900