I have a worklist (RadGrid) inside a XmlHttpPanel on a page. The grid gets refreshed every 30 seconds. The data inside the grid is remaining the same but the size of the post body is growing with every interval. I am using FF and Firebug to evaluate what is going out on the wire. I can see that the __EVENTVALIDATION is increasing with each post...below is a sample of the javascript used to invoke the postback...any insight would be greatly appreciated. Thanks Doug
var wlCtrlGridID = null;
var wlCtrlAutoRefreshRate = 10000;
var wlIntervalId = 0;
function startWorklistRefresh() {
if (wlIntervalId == 0) {
wlIntervalId = setInterval("reloadWorklist();", wlCtrlAutoRefreshRate);
}
}
function reloadWorklist() {
$find("<%= XmlGridPanel.ClientID %>").set_value("Reload");
}
function cancelWorklistRefresh() {
clearInterval(wlIntervalId);
wlIntervalId = 0;
}
function GridXmlPanel_OnResponseEnded(sender, args) {
startWorklistRefresh();
}
<asp:Panel ID="PnlGrid" runat="server" style="margin-top: -4px; margin-left: 3px;">
<telerik:RadXmlHttpPanel ID="XmlGridPanel" runat="server" OnServiceRequest="GridXmlPanel_OnServiceRequest"
OnClientResponseEnded="GridXmlPanel_OnResponseEnded" EnableClientScriptEvaluation="true">
<telerik:RadGrid id="GridWorklist" runat="server" SkinID="main" GridLines="None" style="outline: none;"
OnItemCreated="GridWorklist_ItemCreated" OnItemDataBound="GridWorklistt_ItemDataBound">.....
var wlCtrlGridID = null;
var wlCtrlAutoRefreshRate = 10000;
var wlIntervalId = 0;
function startWorklistRefresh() {
if (wlIntervalId == 0) {
wlIntervalId = setInterval("reloadWorklist();", wlCtrlAutoRefreshRate);
}
}
function reloadWorklist() {
$find("<%= XmlGridPanel.ClientID %>").set_value("Reload");
}
function cancelWorklistRefresh() {
clearInterval(wlIntervalId);
wlIntervalId = 0;
}
function GridXmlPanel_OnResponseEnded(sender, args) {
startWorklistRefresh();
}
<asp:Panel ID="PnlGrid" runat="server" style="margin-top: -4px; margin-left: 3px;">
<telerik:RadXmlHttpPanel ID="XmlGridPanel" runat="server" OnServiceRequest="GridXmlPanel_OnServiceRequest"
OnClientResponseEnded="GridXmlPanel_OnResponseEnded" EnableClientScriptEvaluation="true">
<telerik:RadGrid id="GridWorklist" runat="server" SkinID="main" GridLines="None" style="outline: none;"
OnItemCreated="GridWorklist_ItemCreated" OnItemDataBound="GridWorklistt_ItemDataBound">.....