aar0n
Member
I'm sure I'm missing something here.
All I need to do is simply refresh my parent page when the JavaScript calendar control, CLOSES. I can only seem to get the "Onclick" handler to work, which is not what I need. This causes it to refresh upon OPENING the control. I did not write the code for this control. It is used as the calendar throughout the app.
The code is very lengthy, so I only included what I think is relevent to the problem. I tried to use a modal window but I'm thinking my issue may be something else.
From the Calendar Control code:
Function signature:
Relevent Code from above function:
Function called in the Asp.Net source code...as you can see, I've already tried a couple of things.
Any help here would be greatly appreciated. I'm definitely not a JavaScript expert.
-Aaron
All I need to do is simply refresh my parent page when the JavaScript calendar control, CLOSES. I can only seem to get the "Onclick" handler to work, which is not what I need. This causes it to refresh upon OPENING the control. I did not write the code for this control. It is used as the calendar throughout the app.
The code is very lengthy, so I only included what I think is relevent to the problem. I tried to use a modal window but I'm thinking my issue may be something else.
From the Calendar Control code:
Function signature:
VB.NET:
function show_calendar_date(str_target, str_datetime)
VB.NET:
vWinCal = window.open("", "Calendar","width=200,height=210,status=no,resizable=no,top="+screen.width/3+" ,left="+screen.height/2+"");
Function called in the Asp.Net source code...as you can see, I've already tried a couple of things.
VB.NET:
function reload()
{
show_calendar_date_modal('document.aspnetForm.ctl00$ContentPlaceHolder2$txtIntPaidDt', document.aspnetForm.ctl00$ContentPlaceHolder2$txtIntPaidDt.value);
//window.location.refresh();
__doPostBack(txt.name,'0');
}
Any help here would be greatly appreciated. I'm definitely not a JavaScript expert.
-Aaron