or
<telerik:RadScheduler ID="rsTACCUsage" runat="server" DataKeyField="intLeaseDateId" Skin="Web20" DataStartField="dtStartDate" DataEndField="dtEndDate" DataSubjectField="Subject" SelectedView="MonthView" Height="800px" AllowEdit="false" AllowInsert="false" AllowDelete="false" CustomAttributeNames="strOrgType"> </telerik:RadScheduler>sql = "select d.intLeaseDateId, d.dtStartDate, d.dtEndDate, 'Lease Name: ' + l.strLeaseeName + ' Event: ' + l.strEventType Subject, l.intStatusID from tblLeaseDates d LEFT JOIN tblTaccLease l on l.intLeaseId = d.intLeaseId where l.intArmoryId = " & Armory rsTACCUsage.DataSource = getReader(sql) rsTACCUsage.DataBind()
function DeferWebFormInitCallback(){ULSA13:; if (typeof(WebForm_InitCallback)=='function') window['_WebForm_InitCallback']=window['WebForm_InitCallback']; window['WebForm_InitCallback']=function () {ULSA13:; if (firstCalled) { firstCalled=false; _callbackinitdelayed=true; _spBodyOnLoadFunctionNames.push('WebForm_InitCallback'); } else { _callbackinitdelayed=false; if (typeof(window._WebForm_InitCallback)=='function') window._WebForm_InitCallback();**** } } if (typeof(WebForm_DoCallback)=='function') window['_WebForm_DoCallback']=window['WebForm_DoCallback']; window['WebForm_DoCallback']=function(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync) {ULSA13:; if (_callbackinitdelayed) { _callbackinitdelayed=false; if (_spBodyOnLoadFunctionNames !=null) { var count=_spBodyOnLoadFunctionNames.length; for (var i=0; i<count; i++) { if (_spBodyOnLoadFunctionNames[i]=="WebForm_InitCallback") { _spBodyOnLoadFunctionNames.splice(i,1); break; } } } if (typeof(window._WebForm_InitCallback)=='function') window._WebForm_InitCallback(); } window._WebForm_DoCallback(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync); }}var oWnd = radopen("Categories.aspx", "RadWindow1");' didn't work as it didn't popup the rad window (Firefox & Chrome))):function openWin() { var oWnd = radopen("Categories.aspx", "RadWindow1"); } function OnClientClose(oWnd, args) { //get the transferred arguments var arg = args.get_argument(); if (arg) { //var cityName = arg.cityName; var selCategory = arg.selCategory; var selCategoryId = arg.selCategoryId; //$get("order").innerHTML = "You chose to fly to on <strong>" + seldate + "</strong>"; document.getElementById("<%=selectCategory.ClientID%>").value = selCategory; document.getElementById("<%=selectCategoryId.ClientID%>").value = selCategoryId; } }function returnToParentDC(sId, sectionTitle) { //create the argument that will be returned to the parent page var oArg = new Object(); oArg.selCategory = sectionTitle; oArg.selCategoryId = sId; //get a reference to the current RadWindow var oWnd = GetRadWindow(); //Close the RadWindow and send the argument to the parent page if (oArg.selCategory && oArg.selCategoryId) { alert("test before closing"); //This line is actually executed oWnd.close(oArg); } else { alert("Please fill both fields"); } }