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

GridDataItem Disappearing

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atchut
Top achievements
Rank 1
Atchut asked on 19 May 2012, 08:41 PM
Hello,

I am using RadAjax panel for the whole page. I am having listboxes and other labels in my page along with radgrid.

When I move listitem from one listbox to another listbox, I am using radajax panel not to postback.

But after that I see the columns in the RagGrid, 2 of them are disappearing which I am displaying Dynamically.

All other columns are bound columns. What is the reason ?

TIA

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 22 May 2012, 08:03 PM
Atchut:

When you make the AJAX request to update the listbox controls, you inadvertently appear to also be causing the refresh of the RadGrid which then redraws itself based on the declarative markup, and this loses the columns added from the server-side.

You can follow the approach used in this online demo to fine-tune partial ajaxification of your page:

Ajax/Partial Ajaxification

And, you can reference the Exclude Controls from Ajaxifying documentation for insights.

I hope this helps!
Tags
Grid
Asked by
Atchut
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or