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

[Solved] the grid collapses when it is invisible and gives an update

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
drac94
Top achievements
Rank 1
drac94 asked on 07 Nov 2009, 09:21 PM
hello,

i hope you can help me
i have a grid in a tab and a formview in another tab, i wish that when something happens on the FV, the grid updates. I make a databind, the update is ok, but the grid form isn't, this collapse and i just can see the headertext and the pagination but not the rows

in the ajaxmanager i have this

<telerik:AjaxSetting AjaxControlID="fmv_FormaDatosFCC_Funcion">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grd_Datos_Filtro"/>
                </UpdatedControls>
</telerik:AjaxSetting>

in the function this

protected void fmv_FormaDatosFCC_Funcion_OnItemInserted(object sender, EventArgs e)
{
        grd_Datos_Filtro.DataBind();
}

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 Nov 2009, 03:01 PM
Hi drac94,

Such problems are usually caused by incorrect layout, which prevents RadGrid from applying its height correctly (when it is specified in percent).

If you send us a simple demo page and specify which RadControls version you are using, we will give you instructions what to do. But first of all, please try setting a 100% height to the RadGrid update panel, as demonstrated at :

http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-set-100-height-and-random-styles-to-a-radajaxmanager-update-panel.aspx

Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
drac94
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or