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

Problem in Calling ClientEvents of RadAjaxManager after migration.

2 Answers 35 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Sandeep
Top achievements
Rank 1
Sandeep asked on 31 May 2012, 06:25 AM
Hi Team,
We are migrating to Telerik's dll with version "2010.2.929.20". Currently we are facing an issue with RADAjaxManager.
Initially we declared RADAjaxManager in .aspx page and AjaxSettings where added dynamically in Page_PreRender event.
Now, after rewplacing the dll I've moved the dynamically added AjaxSettings from .cs -to-> .aspx.
telerik:RadScriptManager tag is on my Master page.

we are using Client Side API i.e.,

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
  <script type="text/javascript" language="javascript">
    function RequestStart(sender, eventArgs) {
      alert('inside RequestStart');
    }
    function RequestEnd(sender, eventArgs) {
      alert('inside RequestEnd');
    }
  </script>
</telerik:RadCodeBlock>
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="Server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<ClientEvents OnResponseEnd="ResponseEnd" OnRequestStart="RequestStart" ></ClientEvents>
 <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Button1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>



Problem is some how on button click none of the clientevents are getting called and neither do i see any difference in terms of page postback's. I mean Page does not seem to be ajaxified. Please help.

Thanks

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 Jun 2012, 11:33 AM
Hello Sandeep,

In the provided markup I noticed that you are adding RadAjaxPanel as updated control in the RadAjaxManager settings. Note that it is not a supported scenario to add RadAjaxPanel in the RadAjaxManager settings or use the both control to update the same part of the page. Please replace the RadAjaxPanel with regular asp Panel and verify if this makes any difference.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Sandeep
Top achievements
Rank 1
answered on 04 Jun 2012, 12:18 PM
Not working either.
Tags
Ajax
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Sandeep
Top achievements
Rank 1
Share this question
or