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
380
Custom Summaries are lost after async request
posted

 

Version: 11.1.20111.2238

Hello,

I have a WebDataGrid in an UpdatePanel. If I select a row and this fires a RowSelectionChanged event the CustomSummary in the SummaryRow disappears (the cell is empty then).
If I add standard column summaries they stay, only custom summaries are lost (also with EnableViewState="true").

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
 <ContentTemplate>
  <ig:WebDataGrid ID="wdg1" runat="server" EnableAjax="false" EnableDataViewState="true">
                            <Behaviors>
                                <ig:Selection CellClickAction="Row" RowSelectType="Single">
                                    <AutoPostBackFlags RowSelectionChanged="true" />
                                </ig:Selection>
                                <ig:SummaryRow ShowSummariesButtons="False" FormatString="{1}" CompactRendering="On" EmptyFooterText="" Enabled="true">
                                    <ColumnSummaries>
                                        <ig:ColumnSummaryInfo ColumnKey="Avg1">
                                            <Summaries>
                                                <ig:Summary SummaryType="Custom" CustomSummaryName="Avg1" />
                                            </Summaries>
                                        </ig:ColumnSummaryInfo>
                                    </ColumnSummaries>
                                    <ColumnSettings>
                                        <ig:SummaryRowSetting ColumnKey="Avg1" ShowSummaryButton="false">
                                            <SummarySettings>
                                            <ig:SummarySetting SummaryType="Custom" CustomSummaryName= "Avg1" FormatString="{1:##.#0}" />
                                            </SummarySettings>
                                        </ig:SummaryRowSetting>
                                    </ColumnSettings>
                                </ig:SummaryRow>
                            </Behaviors>
                        </ig:WebDataGrid>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="butUpdate" EventName="Click" />
                    </Triggers>
</asp:UpdatePanel>

Regards,
Andreas

Parents Reply Children