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

Stop GridClientSelectColumn clearing

3 Answers 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SDI
Top achievements
Rank 1
SDI asked on 24 Mar 2017, 08:46 PM

Okay I am sure this has been hammered in the forums, but searching has not pulled me back the desired help. We have a grid in a RadWizard. We do NOT want the grid to postback on switching the tabs in the wizard, coming to or going to a different tab. The data is loaded using the NeedDataSource method. I read where setting the EnableViewState=False, it should not hit the NeedDataSource again, after the initial load.

<telerik:RadGrid runat="server" RenderMode="Lightweight" AutoGenerateColumns="false" EnableGroupsExpandAll="true" AllowMultiRowSelection="true" >

 

Regardless of ViewState being true/false, the method NeedDataSource is still being hit, wiping out the GridClientSelectColumn, because of the databinding. We tried setting the RadWizard property RenderedSteps="All" and "Active", but it did not matter. We need the grid to load once and never be loaded again, which is wiping out the checks. This grid is not update-able, editable, its just read only, with the option to check the GridClientSelectColumn.

How can we make this grid load once and never rebind itself again?

 

<telerik:RadGrid runat="server" ID="RadGridFamily" RenderMode="Lightweight" AutoGenerateColumns="false" Height="300px" EnableGroupsExpandAll="true" AllowMultiRowSelection="true" >
                                            <ClientSettings AllowExpandCollapse="true" AllowGroupExpandCollapse="true">
                                                <Selecting AllowRowSelect="true" />
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" />                                               
                                              </ClientSettings>
                                            <GroupingSettings GroupByFieldsSeparator="      " />
<MasterTableView runat="server" DataKeyNames="FamilyId, MemberId" GroupLoadMode="Client" >

3 Answers, 1 is accepted

Sort by
0
SDI
Top achievements
Rank 1
answered on 24 Mar 2017, 09:02 PM

Here is the RadWizard and the Step

<telerik:RadWizard runat="server" ID="RadWizardEvent" ActiveStepIndex="0" NavigationButtonsPosition="Top" RenderedSteps="All" >

 

<telerik:RadWizardStep runat="server" ID="RadWizardStepRegister" Title="Register Family">

 

 

0
SDI
Top achievements
Rank 1
answered on 31 Mar 2017, 01:49 PM
7 days? Support is on vacation!
0
SDI
Top achievements
Rank 1
answered on 18 Aug 2017, 11:31 AM
Extended vacation
Tags
Grid
Asked by
SDI
Top achievements
Rank 1
Answers by
SDI
Top achievements
Rank 1
Share this question
or