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

Grid Disappears Momentarily When Edit or Update is Clicked

1 Answer 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt Kerry
Top achievements
Rank 1
Matt Kerry asked on 20 Apr 2011, 04:08 PM

I have a RadGrid, very similar in structure to this one:

http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboingrid/defaultcs.aspx?product=combobox

With the grid above, if you click on Edit you can see the status bar showing loading and the grid is always visible.

However, on my RadGrid whenever I click on Add, Edit or Update (when in edit mode) the grid disappears momentarily and then re-appears. The functions are all correct, it goes in and out of edit mode correctly and saves to the database where appropriate, it is just a bit disconcerting for the user that the grid disappears between functions.

Any advice would be greatly appreciated!

1 Answer, 1 is accepted

Sort by
0
Accepted
Vasil
Telerik team
answered on 25 Apr 2011, 02:00 PM
Hello Matt,

Did you Ajaxify the grid like is done in the demo?

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

If the grid is not ajaxified then regular post-back will happen when you click on Add, Edit, Update. In such a case the page will be reloaded by the browser on each post-back and the grid along with all other controls will disappear for a moment.

Kind regards,
Vasil
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Matt Kerry
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or