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

RadGrid expand detailview and disappear for a second

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matteo Beretta
Top achievements
Rank 1
Matteo Beretta asked on 04 May 2010, 05:12 PM

Hi, i search in the forum and i had see that is a comune problem but following the instrunction doesn't work

Posting you some code

protected void rgrOrdEvo_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)  
        {  
            e.DetailTableView.DataSource = dettaglio;  
        }  
 
 protected void rgrOrdEvo_NeedDataSource(object source, GridNeedDataSourceEventArgs e)  
        {  
            if (!e.IsFromDetailTable)  
            {  
                rgrOrdEvo.DataSource = this.DS();  
            }  
        }  
        } 
    <telerik:RadGrid ID="rgrOrdEvo" runat="server"  
        GridLines="None" AllowPaging="true" PageSize="15"  
        ondetailtabledatabind="rgrOrdEvo_DetailTableDataBind"   
            AutoGenerateHierarchy="true" Skin="Hay"  
            onitemdatabound="rgrOrdEvo_ItemDataBound"   
            onneeddatasource="rgrOrdEvo_NeedDataSource">  
    <PagerStyle Mode="NextPrevNumericAndAdvanced" />  
    <ClientSettings>  
    <Selecting  AllowRowSelect="true"/>  
    </ClientSettings>  
   <MasterTableView DataKeyNames="ORT.OTNUOR" TableLayout="Fixed" GroupLoadMode="Client">  
<DetailTables>  
   <telerik:GridTableView TableLayout="Fixed" GroupLoadMode="Client" EnableViewState="true"

how can i stop this disappear/show of the grid when i expand

thank you

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 07 May 2010, 10:16 AM
Hello Matteo,

Please try to ajaxify your grid using the RadAjaxManager or RadAjaxPanel Controls and let me know if it makes a difference. Refer to the following help documents to understand how to use these controls.
AJAX Manager
AJAX Panel

Kind regards,
Pavlina
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
Matteo Beretta
Top achievements
Rank 1
answered on 07 May 2010, 06:17 PM
thank you now it's ok!!!
Tags
Grid
Asked by
Matteo Beretta
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Matteo Beretta
Top achievements
Rank 1
Share this question
or