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
295
How to get async callback instead of full page postback
posted

I have a drop down list to choose which chart to display.

When I choose a chart - the whole page is rerendered instead of just my warp!?

How to achieve that just warp refreshes? Any idea?

  <asp:DropDownList ID="ddl_ChartNames" runat="server" AutoPostBack="True" />
            <igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server" TriggerControlIDs="ddl_ChartNames" RefreshTargetIDs="chart_Main" >
                <igchart:UltraChart ID="chart_Main" runat="server" Visible="false" Width="100%">
                </igchart:UltraChart>
            </igmisc:WebAsyncRefreshPanel>

 

 

Parents
No Data
Reply
  • 813
    posted

    put that dropdown inside warp like this and it should be fine.

     

                <igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server" TriggerControlIDs="ddl_ChartNames" RefreshTargetIDs="chart_Main" >

                     <asp:DropDownList ID="ddl_ChartNames" runat="server" AutoPostBack="True" />
                    <igchart:UltraChart ID="chart_Main" runat="server" Visible="false" Width="100%">
                    </igchart:UltraChart>
                </igmisc:WebAsyncRefreshPanel>

Children