Problem in Calling ClientEvents of RadAjaxManager after migration.

3 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    8 posts
    Member since:
    Dec 2010

    Posted 31 May 2012 Link to this post

    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. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 04 Jun 2012 Link to this post

    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.
  3. Sandeep
    Sandeep avatar
    8 posts
    Member since:
    Dec 2010

    Posted 04 Jun 2012 Link to this post

    Not working either.
Back to Top