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

onrequeststart and onrequestend not doing anything (radajaxmanger)

3 Answers 129 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 11 Jul 2008, 04:50 AM
I've added functions for onrequeststart and onrequestend yet they don't get run. It seems pretty straight-forward but I have no idea what the issues is - is there any common reason/things I should look for?

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 11 Jul 2008, 06:00 AM
Hello Josh,

As long as yo have the AJAX turned on (EnableAJAX="true") and the respective controls is AJAXified by RadAjaxManager for example, the events should be raised. May we see your markup, please?

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Josh
Top achievements
Rank 1
answered on 26 Jul 2008, 12:54 AM
Been awhile until I could get back to this...

The gist of it is that I have a tree control which I want to update another control (rad splitter) without updating the tree control itself. I put the tree control in a update panel which doesn't update and used radajaxmanager to handle updating the splitter:

<telerik:AjaxSetting AjaxControlID="Tree">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="Splitter" LoadingPanelID="LoadingPanel" />

</UpdatedControls>

</telerik:AjaxSetting>
This works fine however the client scripts associated with the radajaxmanager don't get fired. They do if I remove the update panel but I don't want the tree to update. I guess I'm not understanding why those client scripts don't run, the update is still being handled by the ajaxmanager...

0
Maria Ilieva
Telerik team
answered on 28 Jul 2008, 01:19 PM
Hello Josh,

Actually using both RadAjaxManegr and UpdatePanel in one application is not supported scenario.
I could not completely underestnad the main idea of this settings. If you just set the RadTreeView as ajax initiator and the RadSplitter as updated control the RadTreeView will not be updated in this request, except it is not placed in the RadSplitter control. In this case you could just set the RadSplitter to update itself and exclude the RadTreeView control from updating by using following help topic.

Sincerely yours,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Josh
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Josh
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or