R
r_burgess
I am looking for some guidance on transferring data between two pages in my
ASP.net Web app (intranet).
I have a form that will have a button and a text box on it (among other
controls of course)
When I click the button, I want to open a contacts page which is already
built and functional. From there I want the user to select a contact (using
the search and browse tools on that page)
When the user selects one of the contacts, I want the information I store to
a string to appear in the text box on the original form. Closing the form may
happen but I can take care of that.
Now the big question is how do I send this information to the original page?
I can use cookies, and I can use session variables, but how will I tell the
text box to update its info?
The only way that I can think of accomplishing this is by designing my own
class (in a module, so it is page independent) and have an event that fires
when the data comes in. This still is a bit fuzzy to me and is going to take
me a while to figure out, as I still have to deal with view states, and see
what is going to happen.
Is there some way of doing this that I am missing?
ASP.net Web app (intranet).
I have a form that will have a button and a text box on it (among other
controls of course)
When I click the button, I want to open a contacts page which is already
built and functional. From there I want the user to select a contact (using
the search and browse tools on that page)
When the user selects one of the contacts, I want the information I store to
a string to appear in the text box on the original form. Closing the form may
happen but I can take care of that.
Now the big question is how do I send this information to the original page?
I can use cookies, and I can use session variables, but how will I tell the
text box to update its info?
The only way that I can think of accomplishing this is by designing my own
class (in a module, so it is page independent) and have an event that fires
when the data comes in. This still is a bit fuzzy to me and is going to take
me a while to figure out, as I still have to deal with view states, and see
what is going to happen.
Is there some way of doing this that I am missing?