PDA

View Full Version : Changing values of another page


zerutal
04-01-04, 10:17 PM
Hi, i am new to .NET and hope someone can help me with this ...
i have a textbox(txtDate) in the page display.aspx that is suppose to take in date values. When i click on the caldendar button, it will open calendar.aspx in a new window. So how do i change txtDate.text in display.aspx when i click on the calendar in calendar.aspx. What am i suppose to write in Calendar1_SelectionChanged in order to change the values in another page.

Thanks in advanced.

chirag
05-04-04, 06:34 AM
Hi,

Try this..

add one close button in your pop up window

and write following java script in its click event

windows.opener.formname.txtdate = value of your calender control;
window.close;