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

AjaxSettings for Tabs In NestedGrid

5 Answers 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chandran Chandran
Top achievements
Rank 1
Chandran Chandran asked on 05 May 2010, 03:02 PM
Dear Telerik,
                   I need your suggetion in AjaxSetting for my Tabs in NestedViewGrid. I am having parent grid and it is also having child grids in 2 tabs. Based on the selection of each tab the respective child grid has to be loaded. So that i set PostBack property of Tab to true. I feel that the postback time is taking too much for tab selection to load the grid. So that i decided to put the Tab control  inside the Ajaxsettings, so that we can avoid the postback by invoking thorough Ajax.
I used the below code for that; So please refer the same and correct me what mistaken i made so that I could be avoid postback time.
 <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" Skin="Vista" />   
            <telerik:RadAjaxManager ID="radAjaxManager1" runat="server" ClientEvents-OnRequestStart="requestStart" 
                OnAjaxSettingCreating="radAjaxManager_AjaxSettingCreating">  
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="ParentGrid">  
                        <UpdatedControls>                             
                            <telerik:AjaxUpdatedControl ControlID="ParentGrid" LoadingPanelID="RadAjaxLoadingPanel1" />   
                        </UpdatedControls>                          
                    </telerik:AjaxSetting> 
                     <telerik:AjaxSetting AjaxControlID="TabStip1">                       
                        <UpdatedControls>                                                
                            <telerik:AjaxUpdatedControl ControlID="TabStip1" /> 
                            <telerik:AjaxUpdatedControl ControlID="Multipage1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                    <telerik:AjaxSetting AjaxControlID="Multipage1">  
                        <UpdatedControls>                         
                            <telerik:AjaxUpdatedControl ControlID="TabStip1" /> 
                            <telerik:AjaxUpdatedControl ControlID="Multipage1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting>                                          
                </AjaxSettings>                                  
            </telerik:RadAjaxManager> 

Regards,
Chandran

5 Answers, 1 is accepted

Sort by
0
Chandran Chandran
Top achievements
Rank 1
answered on 07 May 2010, 01:33 PM
Hello Telerik,
                Whether we need to put all of Child Grid's ID in ajax setting formed under each tab (or) is it enough by placing only parentGrid ID just like i mentioned above for your reference.

So please rectify me the correction

-Thanks
0
Chandran Chandran
Top achievements
Rank 1
answered on 10 May 2010, 04:27 PM
Dear Teleik,
                 I hope the above mentioned code is correct to function the grid in best way. Suppose is there any changes need to be done in the assignment oc control in the ajax panel,please guide towards to achieve the same.

-Chandran
 
0
Veli
Telerik team
answered on 11 May 2010, 06:39 AM
Hi Chandran,

If RadTabStrip and RadMultiPage are inside the parent grid (e.g. in the NestedViewTemplate), then you do not need the extra AJAX settings for the tabstrip and panel. Generally, you need to AJAX-ify some HTML content only once. This is already done by RadGrid AJAX-ifying itself. So, all controls inside the grid will perform asynchronous callbacks. You do not need to extra AJAX-ify nested controls.

Regards,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chandran Chandran
Top achievements
Rank 1
answered on 11 May 2010, 07:47 AM
Hello Veli,
                  Thanks for your response. I AJAX-ify only parent grid but still i am taking so much time in selecting tab to load child grid becuause of its postback. The postback time slowly exceeds depends upon number of parent grid items is expanded and select tha tab of any of child item.

How it would be possible to avoid the amount of postback time taken in above scenario.

Regards,
Chandran
0
Veli
Telerik team
answered on 11 May 2010, 01:39 PM
Hello Chandran,

Without being able to test your scenario locally, we cannot suggest much. Consider opening a regular support ticket where you can send some sample test project we can run locally. Thus, we will be able advise you further on this issue.

Greetings,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Chandran Chandran
Top achievements
Rank 1
Answers by
Chandran Chandran
Top achievements
Rank 1
Veli
Telerik team
Share this question
or