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

[Solved] RadGrid losing settings on callback

2 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark Dawson
Top achievements
Rank 1
Mark Dawson asked on 12 Mar 2008, 12:37 AM
Hi,

I'm using Prometheus (1425) and I have a master page which lays out the page using RadSplitter.  The master page contains two content areas.

In my content page, I have a user control in the first content area and a grid in the second content area. The grid is set to take up 100% x 100% of the content area and works fine when the page loads (at least in IE).

However, following a callback via RadAjaxManager, the grid loses its settings.  Rows are no longer selectable and the grid data area resets to 300px high.

I've debugged on the server side and all the corrrect values are there as far as pre-render so I can only presume it's something thats happening on the client as a result of the callback.

Any ideas?

Thanks,
Mark.

2 Answers, 1 is accepted

Sort by
0
Mark Dawson
Top achievements
Rank 1
answered on 12 Mar 2008, 11:39 AM
I've put together a quick test project to show whats happening.  I'll submit the project via a support ticket.
0
Vlad
Telerik team
answered on 12 Mar 2008, 12:00 PM
Hello Mark,

Please refer directly the control which will initiate the ajax call instead of the entire UserControl. Here is an example:

<telerik:radajaxmanager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ProductsGridFilter1$dlSupplier">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:radajaxmanager>

All the best,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Mark Dawson
Top achievements
Rank 1
Answers by
Mark Dawson
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or