return value from popup window in asp.net

G

Guest

I have a web page which allows user to enter some values in a text boxes and
combo boxes. The user should be allowed to select a date in the same page.
For this when the user clicks a image button, i have to show the calender in
a separate window. But as the user selects a value, it should be displayed in
the parent page and all the values in the parent page which the user has
selected earlier in the parent page should also be retained. How can i do
this?
 
S

Shiva

Take a look at window.showModalDialog() client-side JS function. MSDN has a
sample for the same. And this too:
http://www.webreference.com/js/tutorial1/dialog.html

Remember it works on IE only.

HTH

I have a web page which allows user to enter some values in a text boxes and
combo boxes. The user should be allowed to select a date in the same page.
For this when the user clicks a image button, i have to show the calender in
a separate window. But as the user selects a value, it should be displayed
in
the parent page and all the values in the parent page which the user has
selected earlier in the parent page should also be retained. How can i do
this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top