View Single Post
  #4 (permalink)  
Old December 7th, 2004, 06:02 PM
MixedCode MixedCode is offline
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks planoie for your reply, but i did find a solution that works fine, you might wanna try it out.
There are two important things to remember.
1-setting the page target at the top(somewhere between the Head tags).
<base target="_self">.
2- Making sure that the Calendar sends the following back on the
Calendar1_SelectionChanged Event such as:
"protected void Calendar1_SelectionChanged(object sender, System.EventArgs e)
        {
            Response.Write("<script language='javascript'>window.returnValue='" + Calendar1.SelectedDate.ToShortDateString() + "';window.close();</script>");
        }

;)