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

RadAjaxManager behaviour with MasterPage radgird and usercontrol

1 Answer 111 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
mauro.cecili
Top achievements
Rank 1
mauro.cecili asked on 19 Jun 2008, 01:49 PM

Hello.

I am trying to use RadAjaxManager to manage with the following scenario:

- nested master pages:

  I will refer to them as Outer MasterPage, inner MasterPage and Page.

- I put RadAjaxManager in Outer MasterPage

- Outer MasterPage has a RadSplitter to manage layout, the contentplaceholder for the inner MasterPage is in the right panel of the splitter.

- Inner MasterPage Contains a RadGrid.

- Page tells the inner MasterPage what datasource its RadGrid must use and the name of the UserControl to be used for edit/insert mode.

- I don't use RadAjaxManagerProxies, yet. (will be done in future)

- RadAjaxManager "ajaxifies" RadSplitter's RightPanel updating itself on its own request and on external (in MasterMasterPage) RadToolBar and RadMenu requests. I specified my RadUpdatePanel, the same for both cases.

- If I use the RadToolbar, partial rendering works good and RadUpdatePanel is shown correctly, so as on all other requests i did not mention

except from inside the radgrid, my problem.

Inside the RadGrid, indeed, if I use RadGrid commands, all of the postback controls inside my usercontrol (in edit/insert mode) and all grid commands (in edit/insert mode and in normal mode) are still doing partial rendering correctly, but my updatepanel is not shown this time. I capture OnRequestStart" from the RadAjaxManager, but the event is captured only on requests coming from outside the grid (i need to disable from a request inside an user control, which is inside the grid)

I tried to replace RadAjaxManager with a RadAjaxPanel, and in this case the problem is solved. But I need to use RadAjaxManager.

In addition (maybe different problem) all validators used inside my UserControl don't work client-side on the first request (but work server-side), but only after a postback was done.

Any hints to correct these issues?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 Jun 2008, 11:04 AM
Hello mauro,

From the supplied information, I suspect that there is a problem with the AjaxSettings. You can try nesting the splitter contents in a panel, and Ajaxify the panel through the AjaxManager, by setting it as an updated control.
If the issue persists, you can open a formal support ticket, and send us a small working project, demonstrating the setup, and the issue, for additional testing.

All the best,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
mauro.cecili
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or