Hi, First of all you create a new web form for your calendar control. That means this new web form will contain only the calendar control and the ok button. Now you modify the source web form to accept a query string named, for example date like this -- private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here try { string dt = Request.QueryString[0].ToString(); txrDate.Text = dt; } catch { } } You can check for post backs according to your program logic. The code for button which will display the calendar web form will go like this -- private void cmdDate_Click(object sender, System.EventArgs e) { Response.Redirect("calendar.aspx?url=webform1.aspx"); } i have assumed that the calendar control is placed on calendar.aspx and the source web form is webform1.aspx now its turn of the calendar.aspx web form write following code in page load event private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here try { url = Request.QueryString[0]; } catch { } } here i have used a string variable named url to store the source url which will be sent to calendar.aspx through query string. now for the ok button on calendar.aspx write this code -- private void cmdOk_Click(object sender, System.EventArgs e) { if(url != "") { Response.Redirect(url + "?date=" + Calendar1.SelectedDate.ToShortDateString()); this.Visible=false; } } here my calendar control name is calendar1 this.visible=false will hide the calendar.aspx page. similarly if you want you can hide and show the source page. But be sure to check the visible property where it is to be set to true where to false. hope you have understood the code. Its just simple.:) Anant Y. Kulkarni