I want to create a page with a txtbox and a button which opens up a new window with a calender control. After the date is selected the popup should get closed and the textbox in the calling page should be populated with the selected date.
So far I have created the first page with the following code in the button function:
private void btnDOJ_Click(object sender, System.EventArgs e)
{ Response.Write("<script>window.open('Webform2.aspx', 'mycal', 'menubar=no, width=280, height=250')</script>");
}
Now how do I code the second page so that it returns the date??
I'm using VS.net and C# to do the coding. thanks :huh:
So far I have created the first page with the following code in the button function:
private void btnDOJ_Click(object sender, System.EventArgs e)
{ Response.Write("<script>window.open('Webform2.aspx', 'mycal', 'menubar=no, width=280, height=250')</script>");
}
Now how do I code the second page so that it returns the date??
I'm using VS.net and C# to do the coding. thanks :huh: