Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Changing values of another page


Changing values of another page

Reply
  #1 (permalink)  
Old 04-01-04, 09:17 PM
zerutal zerutal is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Changing values of another page

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.
Reply With Quote
  #2 (permalink)  
Old 05-04-04, 05:34 AM
chirag's Avatar
chirag chirag is offline
Newbie Coder
 
Join Date: May 2004
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
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;
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
site search page divadov ASP 1 04-14-04 06:39 AM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM
MySQL table problem perleo PHP 9 12-16-03 01:16 PM
asp: values in array not in order?? seala ASP 0 08-16-03 12:06 PM


All times are GMT -5. The time now is 02:52 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.