I got the calendar working with the following:
<script type="text/javascript">
function ToggleDatePopupCallback()
{
<%=rdoMyCallback.FindControl("clnCallbackDate").ClientID %>.ShowPopup();
}
</script>
I have an issue with refreshing my grid though. I use the following to refresh the grid from radwindow...
function CallFunctionOnParentPage(fnName)
{
var oWindow = GetRadWindow();
if (oWindow.BrowserWindow[fnName] && typeof(oWindow.BrowserWindow[fnName]) == "function")
{
oWindow.BrowserWindow[fnName](oWindow);
}
GetRadWindow().Close();
}
It calls the following function:
function refreshGridCommunication(arg)
{
window["<%=rdoCommunication.FindControl("dgCommunication").ClientID %>"].AjaxRequest('<%=rdoCommunication.FindControl("dgCommunication").ClientID %>', 'Rebind');
}
I checked the source and it is populating information for the radgrid client id within the dock but when I try to refresh, even manually with <a href="#" onClick="return refreshGridCommunication();">Refresh Data</a> it does nothing...