You will want to make sure your popup is Modal. Then you can refresh your page. Here is a link to use Modal Dialogs:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp >Hi Cathi,
>
> Thanks for the response. Are you saying I should have the following code?
>
><script type="text/javascript">
> function Popup(lsPage)
> {
> window.open (lsPage,"CalendarWindow,"toolbar=no,location=no,directories=no, status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=300")
> window.document.form.submit
> }
></script>
>
>>You could try using the Form.submit() javascript code in your script.
>>
>>>Cathi,
>>>
>>> I have a birthdate textbox with a hyperlink next to it on a webform. When the user clicks the hyperlink a javascript is called and a calendar window pops up. The user selects the date they want and closes the window. The SelectedIndexChanged event on the calendar sets a session variable to the date selected. The problem I'm having is refreshing the webform that the calander webform is called from. Do you know of a way of doing this?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi