6 Answers, 1 is accepted

19676|updatePanel|ctl00_DefaultContent_ctl00_DefaultContent_pnlResultsPanel|
But if i select another page it goes away. It happenes alternatively, on page load it doesn't come , select any page this message comes and select again another page it goes away.
It looks like it is due to ajaxmanager's javascript but i don' know how to fix this.
Any one any idea.??
The reason for this message most probably is wrong html sent in the response. However to investigate the problem further, we will need to replicate the issue locally. Can you strip the problematic page and post here the code we can use to observe the behavior?
Best wishes,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

<%
@ Page Language="C#" AutoEventWireup="true" Codebehind="Default.aspx.cs" Inherits="AAA.SavingsTracking.AdHocReporting.Views.AdHocReportingDefault"
Title="Default" MasterPageFile="~/Shared/DefaultMaster.master" %>
<%
@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxTK" %>
 
<
asp:Content ID="content" ContentPlaceHolderID="DefaultContent" Runat="Server">
<script type="text/javascript">
function onRequestStart(sender, args) {
if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0 ||
args.get_eventTarget().indexOf(
"ExportToWordButton") >= 0 ||
args.get_eventTarget().indexOf(
"ExportToCsvButton") >= 0) {
args.set_enableAjax(
false);
}
}
</script>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<ClientEvents OnRequestStart="onRequestStart" />
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="pnlResults">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnlResults" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<
h4>Ad Hoc Reporting</h4>
<
asp:UpdatePanel ID="upnlPage" runat="server" >
<Triggers>
<asp:PostBackTrigger ControlID="ddlReportFilterColumns" />
</Triggers>
<ContentTemplate>
<
table><tr>
<
td valign="top">
<
asp:Label ID="lblNoReportsAvailable" runat="server" Text="You are not assigned to any Ad Hoc reports." CssClass="requiredField" Visible="false" />
<
asp:Panel ID="pnlAvailableReports" runat="server" GroupingText="Available Reports">
<
asp:DropDownList ID="ddlAvailableReports" runat="server"
DataSourceID="odsAdHocReportsList" font-size="8pt"
DataValueField="DatabaseObject" DataTextField="Description"
OnDataBound="ddlAvailableReports_DataBound" ValidationGroup="NewSearch">
</
asp:DropDownList>
<
asp:Button ID="btnGetAdHocSearch" runat="server" Text="Go"
UseSubmitBehavior="false"
OnClick="btnGetAdHocSearch_Click" ValidationGroup="NewSearch" />
<
br /><asp:RequiredFieldValidator ID="rfvAvailableReports" runat="server"
ControlToValidate="ddlAvailableReports"
ErrorMessage="Please select a report"
ValidationGroup="NewSearch" font-size="8pt"
Display="Dynamic" InitialValue="-- Select A Report --">
</
asp:RequiredFieldValidator>
</
asp:Panel>
</
td>
<
td width="150"> </td>
<
td valign="top">
 
 
<
asp:Panel ID="pnlDDLSavedSearches" runat="server" Enabled="True" GroupingText="Saved Searches" Width="250">
<asp:DropDownList ID="ddlSavedSearches" runat="server"
DataSourceID="odsSavedUserSearches" font-size="8pt"
DataTextField="SearchName" DataValueField="Id"
ondatabound="ddlSavedSearches_DataBound">
</asp:DropDownList>
<asp:ImageButton ID="btnDeleteSavedSearch" runat="server"
ToolTip="Delete This Saved Search." ImageURL="~/App_Themes/SavingsTracking/Telerik/delete.gif"
Visible="false" OnClientClick="return confirm('Delete This Search?');" onclick="btnDeleteSavedSearch_Click" />
<asp:Button ID="btnGetSavedSearch" runat="server" Text="Go" ValidationGroup="SavedSearch"
UseSubmitBehavior="false"
OnClick="btnGetSavedSearch_Click" />
<br />
 
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="ddlSavedSearches"
ErrorMessage="Please Select A Search"
ValidationGroup="SavedSearch" font-size="8pt"
Display="Dynamic" InitialValue="-- Select A Report --">
</asp:RequiredFieldValidator>
<asp:RangeValidator id="rvSavedSearches" runat="server" ControlToValidate="ddlSavedSearches"
MinimumValue="1" MaximumValue="9999" ErrorMessage="Please Select A Search"
Display="Dynamic" ValidationGroup="SavedSearch" >
</asp:RangeValidator>
</
asp:Panel>
 
</
td>
<
td rowspan="2" valign="top">
<span style="clear:none;font-size:8pt;">
<asp:Label ID="Label1" runat="server" Text=""></asp:Label>
<asp:Image ID="imgShowSaveSearchesHelp" runat="server" ImageUrl="~/App_Themes/SavingsTracking/Images/questionmark.jpg" ToolTip="" Visible="true" />
</span>
<ajaxTK:HoverMenuExtender ID="HoverMenuExtender1" runat="Server"
TargetControlID="imgShowSaveSearchesHelp"
PopupControlID="pnlSavedSearchHelp"
HoverCssClass=""
PopupPosition="Right"
OffsetX="-240"
OffsetY="-80"
PopDelay="200" />
<asp:Panel ID="pnlSavedSearchHelp" CssClass="popupHover" runat="server">
<asp:Label ID="Label2" runat="server">Saved searches are available to you after you have saved at least one search. To do this, run a search then click the "Save This Search" link after the results are displayed. The search will then be available in this dropdown list.</asp:Label>
</asp:Panel>
</
td>
</
tr>
<
tr>
<
td valign="top">
<asp:Panel ID="Panel1" runat="server" Visible="false" GroupingText="Timezone Selection">
<asp:DropDownList ID="ddlTimeZones" runat="server" font-size="8pt">
<asp:ListItem Text="Hawaii Time" Value="HST"></asp:ListItem>
<asp:ListItem Text="Alaska Time" Value="AKDT"></asp:ListItem>
<asp:ListItem Text="Pacific Time" Value="PST"></asp:ListItem>
<asp:ListItem Text="Mountain Time" Value="MST"></asp:ListItem>
<asp:ListItem Text="Central Time" Value="CST"></asp:ListItem>
<asp:ListItem Text="Eastern Time" Value="EST"></asp:ListItem>
<asp:ListItem Text="Greenwich Mean Time (UTC / GMT)" Value="GMT" Selected="True"></asp:ListItem>
</asp:DropDownList>
</asp:Panel>
<asp:Panel ID="pnlDDLReportFilterColumns" runat="server" Visible="false" GroupingText="Filter Columns">
<asp:Label ID="lblDDLReportColumns" runat="server" Text=""></asp:Label>
<asp:DropDownList ID="ddlReportFilterColumns" runat="server" DataSourceID="sdsColumns"
DataTextField="ColumnName" EnableViewState="true"
DataValueField="ColumnName" AutoPostBack="True" font-size="8pt"
ondatabound="ddlReportFilterColumns_DataBound"
onselectedindexchanged="ddlReportFilterColumns_SelectedIndexChanged" >
</asp:DropDownList>
</asp:Panel>
<div style="float:left;width:450px;">
<asp:DataList ID="dlReportFilterColumns" runat="server"
RepeatDirection="vertical" BorderWidth="1"
RepeatColumns="1" RepeatLayout="Table"
DataSourceID="" DataKeyField="Id" font-size="8pt"
OnItemDataBound="dlReportColumns_ItemDataBound"
ondeletecommand="dlReportColumns_DeleteCommand">
<ItemTemplate>
<tr>
<td><asp:Label ID="lblColumnName" runat="server" Text='<%# Eval("ColumnName") %>'></asp:Label></td>
<td><asp:DropDownList ID="ddlFilterOperand" runat="server" font-size="8pt"></asp:DropDownList></td>
<td>
<asp:TextBox ID="tbxColumnFilter" runat="server" font-size="8pt" Width="70" ></asp:TextBox>
</td>
<td valign="middle">
<asp:ImageButton ID="imgCalendar" runat="server" Visible="false"
ImageUrl="~/App_Themes/SavingsTracking/Images/calendar_icon.png" CausesValidation="False" />
<ajaxTK:CalendarExtender ID="cextDateTime" runat="server" Enabled="false"
TargetControlID="tbxColumnFilter"
PopupButtonID="tbxColumnFilter" >
</ajaxTK:CalendarExtender>
</td>
<td><asp:ImageButton ID="btnDelete" runat="server" ImageURL="~/App_Themes/SavingsTracking/Telerik/delete.gif" CommandName="Delete" CausesValidation="false" CommandArgument='<%# Eval("Id") %>' /></td>
<td>
<asp:HiddenField ID="hdnColumnType" runat="server" Value='<%# Eval("ColumnType") %>' />
<asp:HiddenField ID="hdnColumnLength" runat="server" Value='<%# Eval("ColumnLength") %>' />
</td>
</tr>
<tr><td colspan="6">
<asp:RegularExpressionValidator ID="rvColumnFilter" runat="server" Display="dynamic"
ErrorMessage="No Validator"
ControlToValidate="tbxColumnFilter">
</asp:RegularExpressionValidator>
</
td></tr>
</ItemTemplate>
</asp:DataList>
</div>
<!-- SEARCH BUTTONS -->
<
div style="clear:both;margin-top:1em;">
<
asp:Panel ID="pnlSearchButtons" runat="server">
<
asp:Button ID="btnSearch" runat="server" Text="Search"
UseSubmitBehavior="false" OnClick="btnSearch_Click" />
<
asp:CustomValidator ID="cvSearchButton" runat="server" Display="Dynamic"
ErrorMessage="Please select at least one display column."
OnServerValidate="ServerValidation"></asp:CustomValidator>
<
asp:LinkButton ID="btnSaveSearchModal" runat="server"
Text="Save This Search" Visible="false" Font-Size="X-Small" />
</
asp:Panel>
</
div>
</
td>
<
td></td>
<
td valign="top">
<!-- SELECT COLUMNS DATALIST -->
<asp:Panel ID="pnlSelectColumns" runat="server" Visible="false" GroupingText="Display Columns">
<span style="float:left;width:50%;font-size:8pt;">
<asp:CheckBox ID="cbxSelectAllColumns" runat="server" Text="Select All"
AutoPostBack="true" Visible="true" Checked="false"
OnCheckedChanged="cbxSelectAllColumns_CheckedChanged" />
</span>
<span style="float:none;width:50%;font-size:8pt;">
<div style="overflow:auto; height:250px; width:240px;font-size:8pt;border:solid 1px black;">
<asp:DataList ID="dlSelectColumns" runat="server" DataSourceID="sdsColumns"
onitemdatabound="dlSelectColumns_ItemDataBound" >
<ItemTemplate>
<td><asp:CheckBox ID="cbxColumn" runat="server" Checked="false" AutoPostBack="False" /></td>
<td><asp:Label ID="lblColumnName" runat="server" Text='<%# Eval("ColumnName") %>'></asp:Label></td>
</ItemTemplate>
</asp:DataList>
</div>
</span>
</asp:Panel>
</
td>
</
tr>
</
table>
 
<
asp:Panel ID="pnlSaveSearch" runat="server" CssClass="modalPopup" style="display:none;">
Save This Search As:
<br />
<asp:TextBox ID="tbxSearchName" runat="server"></asp:TextBox>
<br /><br />
<asp:Button ID="btnSaveSearch" runat="server" Text="Save" OnClick="btnSaveSearch_Click" ValidationGroup="SaveSearch" />
<asp:Button ID="btnCancelSaveSearch" runat="server" Text="Cancel" />
<asp:RequiredFieldValidator ID="rfvSearchName" runat="server" ErrorMessage="Please enter a name." ControlToValidate="tbxSearchName" ValidationGroup="SaveSearch" ></asp:RequiredFieldValidator>
<%
// hdnController is used as a dummy activator for the ModalPopup window. %>
<asp:HiddenField ID="hdnController" runat="server" />
</
asp:Panel>
<
ajaxTK:ModalPopupExtender ID="modalSaveSearch" runat="server"
BackgroundCssClass="modalBackground"
TargetControlID="btnSaveSearchModal"
PopupControlID="pnlSaveSearch"
CancelControlID="btnCancelSaveSearch">
</
ajaxTK:ModalPopupExtender>
<
telerik:RadAjaxPanel ID="pnlResults" runat="server" BorderWidth="0" BackColor="" Width="900" GroupingText=" " Visible="false" >
 
<
asp:Label ID="lblTotalRows" runat="server"></asp:Label><asp:Label ID="lblTotalRowsText" runat="server"></asp:Label>
<
div style="overflow:scroll;width:900px;height:500px;" >
<
br />
 
<
telerik:RadGrid ID="gridResults" runat="server" DataSourceID="" ShowGroupPanel="true"
AutoGenerateColumns="true" onsortcommand="gridResults_SortCommand" AllowAutomaticInserts="false"
>
<ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="false"
FileName="SavingsTracking_GeneratedReport" Excel-Format="ExcelML" Excel-FileExtension="xlsx" >
</ExportSettings>
<ClientSettings AllowDragToGroup="True" AllowGroupExpandCollapse="True" AllowColumnsReorder="True"></ClientSettings>
<GroupingSettings ShowUnGroupButton="true" />
<MasterTableView runat="server" AllowPaging="true" AllowSorting="true" CommandItemDisplay="Top" >
<CommandItemSettings ExportToPdfText="PDF" ExportToExcelText="Excel" ExportToCSVText="CSV"
ShowExportToCSVButton="true" ShowAddNewRecordButton="false" ShowExportToExcelButton="true"
ShowRefreshButton="false" />
</MasterTableView>
</
telerik:RadGrid>
</
div>
</
telerik:RadAjaxPanel>
 
</
ContentTemplate>
</
asp:UpdatePanel>
 
<!--- Modal Window --->
<asp:Panel ID="pnlProgress" runat="server" style="background-color:#ffffff;display:none;width:400px">
<div style="padding:8px">
<table border="0" cellpadding="2" cellspacing="0" style="width:100%">
<tbody>
<tr>
<td style="width:50%"></td>
<td style="text-align:right">
<asp:Image ID="Image1" runat="server" ImageUrl="~/App_Themes/SavingsTracking/Images/einstein.gif" />
</td>
<td style="text-align:left;white-space:nowrap">
<span style="font-size:larger">Searching, Please wait ...</span>
</td>
<td style="width:50%"><input type="button" name="cancel" onclick="Abort();" value="Cancel" /></td>
</tr>
</tbody>
</table>
</div>
</asp:Panel>
<ajaxTK:ModalPopupExtender ID="mpeProgress" runat="server" TargetControlID="pnlProgress" PopupControlID="pnlProgress" BackgroundCssClass="modalBackground" DropShadow="true" />
<script type="text/javascript">
Sys.Net.WebRequestManager.add_invokingRequest(onInvoke);
Sys.Net.WebRequestManager.add_completedRequest(onComplete);
function onInvoke(sender, args) {
$find(
'<%= mpeProgress.ClientID %>').show();
}
function onComplete(sender, args) {
$find(
'<%= mpeProgress.ClientID %>').hide();
}
function pageUnload() {
Sys.Net.WebRequestManager.remove_invokingRequest(onInvoke);
Sys.Net.WebRequestManager.remove_completedRequest(onComplete);
}
function Abort() {
var obj = Sys.WebForms.PageRequestManager.getInstance();
if (obj.get_isInAsyncPostBack())
obj.abortPostBack();
window.location = window.location;
$find(
'<%= mpeProgress.ClientID %>').Text = "Job Cancel In Progress ...";
}
</script>
<!--- Modal Window --->
 
<!-- DATA SOURCES -->
<
asp:ObjectDataSource ID="odsResults" runat="server" EnablePaging="true"
TypeName="AAA.SavingsTracking.AdHocReporting.AdHocReportingController"
SelectCountMethod="GetPagedReportRowCount"
SelectMethod="GetPagedReportResults"
SortParameterName="order"
MaximumRowsParameterName="maximumRows"
StartRowIndexParameterName="startRowIndex"
onselecting="odsResults_Selecting"
onselected="odsResults_Selected"
onobjectcreated="odsResults_ObjectCreated" >
<SelectParameters>
<asp:Parameter Name="fieldList" Type="String" />
<asp:Parameter Name="whereList" Type="String" />
<asp:Parameter Name="tableOrViewName" Type="String" />
</SelectParameters>
</
asp:ObjectDataSource>
<
asp:SqlDataSource ID="sdsColumns" runat="server"
SelectCommand="AdHocReports_GetTableViewColumns"
ConnectionString="<%$ ConnectionStrings:SavingsTracking%>"
SelectCommandType="StoredProcedure"
onselecting="sdsColumns_Selecting" >
<SelectParameters>
<asp:ControlParameter Name="TableViewName" ControlID="ddlAvailableReports" PropertyName="SelectedValue" />
</SelectParameters>
</
asp:SqlDataSource>
<
asp:ObjectDataSource ID="odsSavedUserSearches" runat="server" EnableCaching="True" CacheDuration="1"
TypeName="AAA.SavingsTracking.AdHocReporting.AdHocReportingController"
SelectMethod="GetSavedUserSearches"
OnSelecting="odsSavedUserSearches_Selecting"
OnSelected="odsSavedUserSearches_Selected"
onobjectcreated="odsSavedUserSearches_ObjectCreated" >
<SelectParameters>
<asp:Parameter DefaultValue="" ConvertEmptyStringToNull="true" Name="UserID" />
</SelectParameters>
</
asp:ObjectDataSource>
<
asp:ObjectDataSource ID="odsAdHocReportsList" runat="server" EnableCaching="true" CacheDuration="10"
TypeName="AAA.SavingsTracking.AdHocReporting.AdHocReportingController"
SelectMethod="GetAdHocReports"
OnSelecting="odsAdHocReportsList_Selecting"
onobjectcreated="odsAdHocReportsList_ObjectCreated">
</
asp:ObjectDataSource>
 
 
</
asp:Content>
 
Can you try using the Format Code Block tool of the editor where you post your replied to send the code, as this way it is either unreadable nor possible to format with Visual Studio?
Best wishes,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VHA.SavingsTracking.AdHocReporting.Views.AdHocReportingDefault"
Title="Default" MasterPageFile="~/Shared/DefaultMaster.master" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxTK" %>
<
asp:Content
ID
=
"content"
ContentPlaceHolderID
=
"DefaultContent"
runat
=
"Server"
>
<
script
type
=
"text/javascript"
>
function onRequestStart(sender, args) {
if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0 ||
args.get_eventTarget().indexOf("ExportToWordButton") >= 0 ||
args.get_eventTarget().indexOf("ExportToCsvButton") >= 0) {
args.set_enableAjax(false);
}
}
</
script
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
ClientEvents
OnRequestStart
=
"onRequestStart"
/>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"pnlResults"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pnlResults"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
h4
>
Ad Hoc Reporting</
h4
>
<
asp:UpdatePanel
ID
=
"upnlPage"
runat
=
"server"
>
<
Triggers
>
<
asp:PostBackTrigger
ControlID
=
"ddlReportFilterColumns"
/>
</
Triggers
>
<
ContentTemplate
>
<
table
>
<
tr
>
<
td
valign
=
"top"
>
<
asp:Label
ID
=
"lblNoReportsAvailable"
runat
=
"server"
Text
=
"You are not assigned to any Ad Hoc reports."
CssClass
=
"requiredField"
Visible
=
"false"
/>
<
asp:Panel
ID
=
"pnlAvailableReports"
runat
=
"server"
GroupingText
=
"Available Reports"
>
<
asp:DropDownList
ID
=
"ddlAvailableReports"
runat
=
"server"
DataSourceID
=
"odsAdHocReportsList"
Font-Size
=
"8pt"
DataValueField
=
"DatabaseObject"
DataTextField
=
"Description"
OnDataBound
=
"ddlAvailableReports_DataBound"
ValidationGroup
=
"NewSearch"
>
</
asp:DropDownList
>
<
asp:Button
ID
=
"btnGetAdHocSearch"
runat
=
"server"
Text
=
"Go"
UseSubmitBehavior
=
"false"
OnClick
=
"btnGetAdHocSearch_Click"
ValidationGroup
=
"NewSearch"
/>
<
br
/>
<
asp:RequiredFieldValidator
ID
=
"rfvAvailableReports"
runat
=
"server"
ControlToValidate
=
"ddlAvailableReports"
ErrorMessage
=
"Please select a report"
ValidationGroup
=
"NewSearch"
Font-Size
=
"8pt"
Display
=
"Dynamic"
InitialValue
=
"-- Select A Report --"
>
</
asp:RequiredFieldValidator
>
</
asp:Panel
>
</
td
>
<
td
width
=
"150"
>
</
td
>
<
td
valign
=
"top"
>
<
asp:Panel
ID
=
"pnlDDLSavedSearches"
runat
=
"server"
Enabled
=
"True"
GroupingText
=
"Saved Searches"
Width
=
"250"
>
<
asp:DropDownList
ID
=
"ddlSavedSearches"
runat
=
"server"
DataSourceID
=
"odsSavedUserSearches"
Font-Size
=
"8pt"
DataTextField
=
"SearchName"
DataValueField
=
"Id"
OnDataBound
=
"ddlSavedSearches_DataBound"
>
</
asp:DropDownList
>
<
asp:ImageButton
ID
=
"btnDeleteSavedSearch"
runat
=
"server"
ToolTip
=
"Delete This Saved Search."
ImageUrl
=
"~/App_Themes/SavingsTracking/Telerik/delete.gif"
Visible
=
"false"
OnClientClick
=
"return confirm('Delete This Search?');"
OnClick
=
"btnDeleteSavedSearch_Click"
/>
<
asp:Button
ID
=
"btnGetSavedSearch"
runat
=
"server"
Text
=
"Go"
ValidationGroup
=
"SavedSearch"
UseSubmitBehavior
=
"false"
OnClick
=
"btnGetSavedSearch_Click"
/>
<
br
/>
<
asp:RequiredFieldValidator
ID
=
"RequiredFieldValidator1"
runat
=
"server"
ControlToValidate
=
"ddlSavedSearches"
ErrorMessage
=
"Please Select A Search"
ValidationGroup
=
"SavedSearch"
Font-Size
=
"8pt"
Display
=
"Dynamic"
InitialValue
=
"-- Select A Report --"
>
</
asp:RequiredFieldValidator
>
<
asp:RangeValidator
ID
=
"rvSavedSearches"
runat
=
"server"
ControlToValidate
=
"ddlSavedSearches"
MinimumValue
=
"1"
MaximumValue
=
"9999"
ErrorMessage
=
"Please Select A Search"
Display
=
"Dynamic"
ValidationGroup
=
"SavedSearch"
>
</
asp:RangeValidator
>
</
asp:Panel
>
</
td
>
<
td
rowspan
=
"2"
valign
=
"top"
>
<
span
style
=
"clear: none; font-size: 8pt;"
>
<
asp:Label
ID
=
"Label1"
runat
=
"server"
Text
=
""
></
asp:Label
>
<
asp:Image
ID
=
"imgShowSaveSearchesHelp"
runat
=
"server"
ImageUrl
=
"~/App_Themes/SavingsTracking/Images/questionmark.jpg"
ToolTip
=
""
Visible
=
"true"
/>
</
span
>
<
ajaxTK:HoverMenuExtender
ID
=
"HoverMenuExtender1"
runat
=
"Server"
TargetControlID
=
"imgShowSaveSearchesHelp"
PopupControlID
=
"pnlSavedSearchHelp"
HoverCssClass
=
""
PopupPosition
=
"Right"
OffsetX
=
"-240"
OffsetY
=
"-80"
PopDelay
=
"200"
/>
<
asp:Panel
ID
=
"pnlSavedSearchHelp"
CssClass
=
"popupHover"
runat
=
"server"
>
<
asp:Label
ID
=
"Label2"
runat
=
"server"
>Saved searches are available to you after you have saved at least one search. To do this, run a search then click the "Save This Search" link after the results are displayed. The search will then be available in this dropdown list.</
asp:Label
>
</
asp:Panel
>
</
td
>
</
tr
>
<
tr
>
<
td
valign
=
"top"
>
<
asp:Panel
ID
=
"Panel1"
runat
=
"server"
Visible
=
"false"
GroupingText
=
"Timezone Selection"
>
<
asp:DropDownList
ID
=
"ddlTimeZones"
runat
=
"server"
Font-Size
=
"8pt"
>
<
asp:ListItem
Text
=
"Hawaii Time"
Value
=
"HST"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Alaska Time"
Value
=
"AKDT"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Pacific Time"
Value
=
"PST"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Mountain Time"
Value
=
"MST"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Central Time"
Value
=
"CST"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Eastern Time"
Value
=
"EST"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Greenwich Mean Time (UTC / GMT)"
Value
=
"GMT"
Selected
=
"True"
></
asp:ListItem
>
</
asp:DropDownList
>
</
asp:Panel
>
<
asp:Panel
ID
=
"pnlDDLReportFilterColumns"
runat
=
"server"
Visible
=
"false"
GroupingText
=
"Filter Columns"
>
<
asp:Label
ID
=
"lblDDLReportColumns"
runat
=
"server"
Text
=
""
></
asp:Label
>
<
asp:DropDownList
ID
=
"ddlReportFilterColumns"
runat
=
"server"
DataSourceID
=
"sdsColumns"
DataTextField
=
"ColumnName"
EnableViewState
=
"true"
DataValueField
=
"ColumnName"
AutoPostBack
=
"True"
Font-Size
=
"8pt"
OnDataBound
=
"ddlReportFilterColumns_DataBound"
OnSelectedIndexChanged
=
"ddlReportFilterColumns_SelectedIndexChanged"
>
</
asp:DropDownList
>
</
asp:Panel
>
<
div
style
=
"float: left; width: 450px;"
>
<
asp:DataList
ID
=
"dlReportFilterColumns"
runat
=
"server"
RepeatDirection
=
"vertical"
BorderWidth
=
"1"
RepeatColumns
=
"1"
RepeatLayout
=
"Table"
DataSourceID
=
""
DataKeyField
=
"Id"
Font-Size
=
"8pt"
OnItemDataBound
=
"dlReportColumns_ItemDataBound"
OnDeleteCommand
=
"dlReportColumns_DeleteCommand"
>
<
ItemTemplate
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblColumnName"
runat
=
"server"
Text='<%# Eval("ColumnName") %>'></
asp:Label
>
</
td
>
<
td
>
<
asp:DropDownList
ID
=
"ddlFilterOperand"
runat
=
"server"
Font-Size
=
"8pt"
>
</
asp:DropDownList
>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"tbxColumnFilter"
runat
=
"server"
Font-Size
=
"8pt"
Width
=
"70"
></
asp:TextBox
>
</
td
>
<
td
valign
=
"middle"
>
<
asp:ImageButton
ID
=
"imgCalendar"
runat
=
"server"
Visible
=
"false"
ImageUrl
=
"~/App_Themes/SavingsTracking/Images/calendar_icon.png"
CausesValidation
=
"False"
/>
<
ajaxTK:CalendarExtender
ID
=
"cextDateTime"
runat
=
"server"
Enabled
=
"false"
TargetControlID
=
"tbxColumnFilter"
PopupButtonID
=
"tbxColumnFilter"
>
</
ajaxTK:CalendarExtender
>
</
td
>
<
td
>
<
asp:ImageButton
ID
=
"btnDelete"
runat
=
"server"
ImageUrl
=
"~/App_Themes/SavingsTracking/Telerik/delete.gif"
CommandName
=
"Delete"
CausesValidation
=
"false"
CommandArgument='<%# Eval("Id") %>' />
</
td
>
<
td
>
<
asp:HiddenField
ID
=
"hdnColumnType"
runat
=
"server"
Value='<%# Eval("ColumnType") %>' />
<
asp:HiddenField
ID
=
"hdnColumnLength"
runat
=
"server"
Value='<%# Eval("ColumnLength") %>' />
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"6"
>
<
asp:RegularExpressionValidator
ID
=
"rvColumnFilter"
runat
=
"server"
Display
=
"dynamic"
ErrorMessage
=
"No Validator"
ControlToValidate
=
"tbxColumnFilter"
>
</
asp:RegularExpressionValidator
>
</
td
>
</
tr
>
</
ItemTemplate
>
</
asp:DataList
>
</
div
>
<!-- SEARCH BUTTONS -->
<
div
style
=
"clear: both; margin-top: 1em;"
>
<
asp:Panel
ID
=
"pnlSearchButtons"
runat
=
"server"
>
<
asp:Button
ID
=
"btnSearch"
runat
=
"server"
Text
=
"Search"
UseSubmitBehavior
=
"false"
OnClick
=
"btnSearch_Click"
/>
<
asp:CustomValidator
ID
=
"cvSearchButton"
runat
=
"server"
Display
=
"Dynamic"
ErrorMessage
=
"Please select at least one display column."
OnServerValidate
=
"ServerValidation"
></
asp:CustomValidator
>
<
asp:LinkButton
ID
=
"btnSaveSearchModal"
runat
=
"server"
Text
=
"Save This Search"
Visible
=
"false"
Font-Size
=
"X-Small"
/>
</
asp:Panel
>
</
div
>
</
td
>
<
td
>
</
td
>
<
td
valign
=
"top"
>
<!-- SELECT COLUMNS DATALIST -->
<
asp:Panel
ID
=
"pnlSelectColumns"
runat
=
"server"
Visible
=
"false"
GroupingText
=
"Display Columns"
>
<
span
style
=
"float: left; width: 50%; font-size: 8pt;"
>
<
asp:CheckBox
ID
=
"cbxSelectAllColumns"
runat
=
"server"
Text
=
"Select All"
AutoPostBack
=
"true"
Visible
=
"true"
Checked
=
"false"
OnCheckedChanged
=
"cbxSelectAllColumns_CheckedChanged"
/>
</
span
><
span
style
=
"float: none; width: 50%; font-size: 8pt;"
>
<
div
style
=
"overflow: auto; height: 250px; width: 240px; font-size: 8pt; border: solid 1px black;"
>
<
asp:DataList
ID
=
"dlSelectColumns"
runat
=
"server"
DataSourceID
=
"sdsColumns"
OnItemDataBound
=
"dlSelectColumns_ItemDataBound"
>
<
ItemTemplate
>
<
td
>
<
asp:CheckBox
ID
=
"cbxColumn"
runat
=
"server"
Checked
=
"false"
AutoPostBack
=
"False"
/>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblColumnName"
runat
=
"server"
Text='<%# Eval("ColumnName") %>'></
asp:Label
>
</
td
>
</
ItemTemplate
>
</
asp:DataList
>
</
div
>
</
span
>
</
asp:Panel
>
</
td
>
</
tr
>
</
table
>
<
asp:Panel
ID
=
"pnlSaveSearch"
runat
=
"server"
CssClass
=
"modalPopup"
Style
=
"display: none;"
>
Save This Search As:<
br
/>
<
asp:TextBox
ID
=
"tbxSearchName"
runat
=
"server"
></
asp:TextBox
>
<
br
/>
<
br
/>
<
asp:Button
ID
=
"btnSaveSearch"
runat
=
"server"
Text
=
"Save"
OnClick
=
"btnSaveSearch_Click"
ValidationGroup
=
"SaveSearch"
/>
<
asp:Button
ID
=
"btnCancelSaveSearch"
runat
=
"server"
Text
=
"Cancel"
/>
<
asp:RequiredFieldValidator
ID
=
"rfvSearchName"
runat
=
"server"
ErrorMessage
=
"Please enter a name."
ControlToValidate
=
"tbxSearchName"
ValidationGroup
=
"SaveSearch"
></
asp:RequiredFieldValidator
>
<% // hdnController is used as a dummy activator for the ModalPopup window. %>
<
asp:HiddenField
ID
=
"hdnController"
runat
=
"server"
/>
</
asp:Panel
>
<
ajaxTK:ModalPopupExtender
ID
=
"modalSaveSearch"
runat
=
"server"
BackgroundCssClass
=
"modalBackground"
TargetControlID
=
"btnSaveSearchModal"
PopupControlID
=
"pnlSaveSearch"
CancelControlID
=
"btnCancelSaveSearch"
>
</
ajaxTK:ModalPopupExtender
>
<
telerik:RadAjaxPanel
ID
=
"pnlResults"
runat
=
"server"
BorderWidth
=
"0"
BackColor
=
""
Width
=
"900"
GroupingText
=
" "
Visible
=
"false"
>
<
asp:Label
ID
=
"lblTotalRows"
runat
=
"server"
></
asp:Label
><
asp:Label
ID
=
"lblTotalRowsText"
runat
=
"server"
></
asp:Label
>
<
div
style
=
"overflow: scroll; width: 900px; height: 500px;"
>
<
br
/>
<
telerik:RadGrid
ID
=
"gridResults"
runat
=
"server"
DataSourceID
=
""
ShowGroupPanel
=
"true"
AutoGenerateColumns
=
"true"
OnSortCommand
=
"gridResults_SortCommand"
AllowAutomaticInserts
=
"false"
>
<
ExportSettings
ExportOnlyData
=
"true"
IgnorePaging
=
"true"
OpenInNewWindow
=
"false"
FileName
=
"SavingsTracking_GeneratedReport"
Excel-Format
=
"ExcelML"
Excel-FileExtension
=
"xlsx"
>
</
ExportSettings
>
<
ClientSettings
AllowDragToGroup
=
"True"
AllowGroupExpandCollapse
=
"True"
AllowColumnsReorder
=
"True"
>
</
ClientSettings
>
<
GroupingSettings
ShowUnGroupButton
=
"true"
/>
<
MasterTableView
runat
=
"server"
AllowPaging
=
"true"
AllowSorting
=
"true"
CommandItemDisplay
=
"Top"
>
<
CommandItemSettings
ExportToPdfText
=
"PDF"
ExportToExcelText
=
"Excel"
ExportToCsvText
=
"CSV"
ShowExportToCsvButton
=
"true"
ShowAddNewRecordButton
=
"false"
ShowExportToExcelButton
=
"true"
ShowRefreshButton
=
"false"
/>
</
MasterTableView
>
</
telerik:RadGrid
>
</
div
>
</
telerik:RadAjaxPanel
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
<!--- Modal Window --->
<
asp:Panel
ID
=
"pnlProgress"
runat
=
"server"
Style="background-color: #ffffff; display: none;
width: 400px">
<
div
style
=
"padding: 8px"
>
<
table
border
=
"0"
cellpadding
=
"2"
cellspacing
=
"0"
style
=
"width: 100%"
>
<
tbody
>
<
tr
>
<
td
style
=
"width: 50%"
>
</
td
>
<
td
style
=
"text-align: right"
>
<
asp:Image
ID
=
"Image1"
runat
=
"server"
ImageUrl
=
"~/App_Themes/SavingsTracking/Images/einstein.gif"
/>
</
td
>
<
td
style
=
"text-align: left; white-space: nowrap"
>
<
span
style
=
"font-size: larger"
>Searching, Please wait ...</
span
>
</
td
>
<
td
style
=
"width: 50%"
>
<
input
type
=
"button"
name
=
"cancel"
onclick
=
"Abort();"
value
=
"Cancel"
/>
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
div
>
</
asp:Panel
>
<
ajaxTK:ModalPopupExtender
ID
=
"mpeProgress"
runat
=
"server"
TargetControlID
=
"pnlProgress"
PopupControlID
=
"pnlProgress"
BackgroundCssClass
=
"modalBackground"
DropShadow
=
"true"
/>
<
script
type
=
"text/javascript"
>
Sys.Net.WebRequestManager.add_invokingRequest(onInvoke);
Sys.Net.WebRequestManager.add_completedRequest(onComplete);
function onInvoke(sender, args) {
$find('<%= mpeProgress.ClientID %>').show();
}
function onComplete(sender, args) {
$find('<%= mpeProgress.ClientID %>').hide();
}
function pageUnload() {
Sys.Net.WebRequestManager.remove_invokingRequest(onInvoke);
Sys.Net.WebRequestManager.remove_completedRequest(onComplete);
}
function Abort() {
var obj = Sys.WebForms.PageRequestManager.getInstance();
if (obj.get_isInAsyncPostBack())
obj.abortPostBack();
window.location = window.location;
$find('<%= mpeProgress.ClientID %>').Text = "Job Cancel In Progress ...";
}
</
script
>
<!--- Modal Window --->
<!-- DATA SOURCES -->
<
asp:ObjectDataSource
ID
=
"odsResults"
runat
=
"server"
EnablePaging
=
"true"
TypeName
=
"VHA.SavingsTracking.AdHocReporting.AdHocReportingController"
SelectCountMethod
=
"GetPagedReportRowCount"
SelectMethod
=
"GetPagedReportResults"
SortParameterName
=
"order"
MaximumRowsParameterName
=
"maximumRows"
StartRowIndexParameterName
=
"startRowIndex"
OnSelecting
=
"odsResults_Selecting"
OnSelected
=
"odsResults_Selected"
OnObjectCreated
=
"odsResults_ObjectCreated"
>
<
SelectParameters
>
<
asp:Parameter
Name
=
"fieldList"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"whereList"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"tableOrViewName"
Type
=
"String"
/>
</
SelectParameters
>
</
asp:ObjectDataSource
>
<
asp:SqlDataSource
ID
=
"sdsColumns"
runat
=
"server"
SelectCommand
=
"AdHocReports_GetTableViewColumns"
ConnectionString="<%$ ConnectionStrings:SavingsTracking%>" SelectCommandType="StoredProcedure"
OnSelecting="sdsColumns_Selecting">
<
SelectParameters
>
<
asp:ControlParameter
Name
=
"TableViewName"
ControlID
=
"ddlAvailableReports"
PropertyName
=
"SelectedValue"
/>
</
SelectParameters
>
</
asp:SqlDataSource
>
<
asp:ObjectDataSource
ID
=
"odsSavedUserSearches"
runat
=
"server"
EnableCaching
=
"True"
CacheDuration
=
"1"
TypeName
=
"VHA.SavingsTracking.AdHocReporting.AdHocReportingController"
SelectMethod
=
"GetSavedUserSearches"
OnSelecting
=
"odsSavedUserSearches_Selecting"
OnSelected
=
"odsSavedUserSearches_Selected"
OnObjectCreated
=
"odsSavedUserSearches_ObjectCreated"
>
<
SelectParameters
>
<
asp:Parameter
DefaultValue
=
""
ConvertEmptyStringToNull
=
"true"
Name
=
"UserID"
/>
</
SelectParameters
>
</
asp:ObjectDataSource
>
<
asp:ObjectDataSource
ID
=
"odsAdHocReportsList"
runat
=
"server"
EnableCaching
=
"true"
CacheDuration
=
"10"
TypeName
=
"VHA.SavingsTracking.AdHocReporting.AdHocReportingController"
SelectMethod
=
"GetAdHocReports"
OnSelecting
=
"odsAdHocReportsList_Selecting"
OnObjectCreated
=
"odsAdHocReportsList_ObjectCreated"
>
</
asp:ObjectDataSource
>
</
asp:Content
>
I reviewed the code and what I observed is that you are using RadAjaxmanager, RadAjaxPanel and ASP:UpdatePanel to ajaxify the same page content. Such upproach is not recommended and having such nested ajax panels is most probably the reason for the error. Try removing them one by on and see which causes the problem. Start with removing the RadAjaxManager settings. If the error persists, remove the RadAjaxPanel as well.
Check it out and let me know how it goes.
Kind regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.