This is a migrated thread and some comments may be shown as answers.

Session timeout not working at export grid inside a radwindow

1 Answer 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
VIJAY
Top achievements
Rank 1
VIJAY asked on 24 Feb 2012, 03:42 PM
After session expired when the user click on any Export icon of the grid. it doesnt fire the session expire event.

We have placed the grid inside a radwindow.Following is the code snippet for the grid.
 <telerik:RadGrid ID="rgdDisplay" runat="server" AllowPaging="true" PageSize="5" GridLines="Both"
                                    AutoGenerateColumns="true" EnableEmbeddedSkins="false"   OnColumnCreated="rgdDisplay_ColumnCreated"
                                    EnableViewState="True" OnNeedDataSource="rgdDisplay_NeedDataSource" CellPadding="0"
                                    AllowMultiRowSelection="true" OnItemDataBound="rgdDisplay_ItemDataBound" OnItemCommand="rgdDisplay_ItemCommand"
                                    HeaderStyle-HorizontalAlign="Left" OnItemCreated="rgdDisplay_ItemCreated">
                                    <ExportSettings HideStructureColumns="false" IgnorePaging="true" ExportOnlyData="true"
                                        FileName="Result" OpenInNewWindow="true">
                                        <Pdf PageHeight="210mm" PageWidth="297mm" PageTitle="Advance Search Result" DefaultFontFamily="Arial Unicode MS"
                                            PageBottomMargin="20mm" PageTopMargin="20mm" PageLeftMargin="20mm" PageRightMargin="20mm" />
                                    </ExportSettings>
                                    <MasterTableView DataKeyNames="PatientId" ClientDataKeyNames="PatientId" EnableColumnsViewState="False"
                                        CommandItemDisplay="Top">
                                        <Columns>
                                            <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" ItemStyle-Width="2%" />
                                        </Columns>
                                        <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                                            ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowRefreshButton="false"
                                            ShowAddNewRecordButton="false" />
                                    </MasterTableView>
                                    <ClientSettings>
                                        <Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" EnableDragToSelectRows="false" />
                                        <ClientEvents OnRowSelecting="RowSelecting" OnRowDeselected="RowDeselected" />
                                    </ClientSettings>
                                    <HeaderContextMenu  EnableEmbeddedSkins="False">
                                    </HeaderContextMenu>
                                </telerik:RadGrid>

We tried using PAGE METHODS, it worked in IE .
but its causing problem in chrome and Firefox.

Kindly let me knw if more information is needed from my end.

Thnks in advance.


1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 29 Feb 2012, 10:45 AM
Hello Vijay,

I'm not sure that I fully understand your question. The global Session_End event will be fired automatically when the session expires and there is no need to click any buttons.
Please give us more detailed explanation of the problem. This will help us provide to-the-point answers.

Thanks,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
VIJAY
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or