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

[Solved] RadGrid moving on AJAX postback

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Preston
Top achievements
Rank 1
Preston asked on 28 Jan 2010, 09:57 PM
Hey all, I have a very interesting thing happening with my code and I'm hoping someone can at least point me in the right direction of a solution.

I have a page with a RadAjaxManager, a RadTabStrip that is associated with a RadMultiPage control.  Inside one of the RadPageView controls of the RadMultiPage control is a UserControl that I have created.  In that UserControl I have a RadAjaxManagerProxy (to communicate with the RadAjaxManager on the page), and a RadGrid.  The problem I'm having is that whenever there is an Ajax postback from any of the buttons or drop down lists in the UserControl, when the postback is completed, the RadGrid is somehow rendered in a different place.  It's being put at the end of the RadMultiPageControl, after all of the <div>s of the RadPageView controls.

If I didn't explain that well enough, let me know and I'll try again.

Is there anything special I need to know about having a RadGrid in a UserControl, or using a RadAjaxManagerProxy in a UserControl?  I'm really at a loss as to why this control is seemingly jumping to this new position (outside of it's parent control) upon Ajax postback.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 02 Feb 2010, 03:25 PM
Hello Preston,

I am afraid that we are not aware of such issue. I suggest you examine the following example which elaborates on how to use RadAjaxManager in page->user control scenario:
http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/usercontrol/defaultcs.aspx

However, in order to progress in the resolution of this problem I will ask you to open a formal support ticket and send us a simple working application with reproduced this erroneous behavior. Thus we could debug it locally and advise you further.

Greetings,
Pavlina
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Grid
Asked by
Preston
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or