ASP.Net WebForms problem

  • Thread starter Thread starter Big E
  • Start date Start date
B

Big E

I'm using ASP.Net and 2 webforms.
The first web form is open and users click a hyperlink on the datagrid and
that pops up a 2nd form with more details. If the user likes the record he
will click a button that will send that info into textboxes on the first
page.
Problem: I can't use server side code because I will lose the info on the
first page. What I need to do is use some client side code that will simply
put data from the onclick like: PAGE2.Textbox into PAGE1.Textbox.
Would I use Javascript or VBScript or simple HTML. Does anybody have sample
code for this?

Thank you,
Big E
 
PAGE1 should open PAGE2 with a showModalDialog call. PAGE2 should put the
result info into window.returnValue. PAGE1 will get the info as the result
value of the showModalDialog call and will put it into the textbox.

Eliyahu
 
Back
Top