Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
RefreshInterval in WebAsyncRefreshPanel
posted

I want to set RefreshInterval property value 3000 when I check/uncheck my checkbox in code behind. But it is not working. Below by code ...

<infra:WebAsyncRefreshPanel ID="asyncPanel" runat="server" Width="100%" RefreshComplete="asyncPanel1_RefreshRequest" ContentRefresh="WebAsyncRefreshPanel1_ContentRefresh"RefreshTargetIDs="UltraWebGrid">

</infra:WebAsyncRefreshPanel>

protected void Page_Load(object sender, EventArgs e)
{   
        if (chkAutoRefresh.Checked)
        {
            asyncPanel.RefreshInterval = 3000;
        }

}

protected void WebAsyncRefreshPanel1_ContentRefresh(object sender, EventArgs e)
{
        GetInListData();
}

Parents
  • 37874
    posted

    Hello suday,

    I tested the WebAsyncRefreshPanel under IE9, Chrome and Firefox using your code, but it is working as expected. Could you please specify what exactly is not working and the version of Infragistics controls you are using?

Reply Children
No Data