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

RadAjaxManagerProxy - error in documentation

1 Answer 24 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Steve LaForge
Top achievements
Rank 1
Steve LaForge asked on 17 Jan 2012, 04:39 PM
in the 2011 Q3 documentation that is installed on my local computer during setup, I found what I am pretty sure is a typo for the RadAjaxManagerProxy.

The ASPX code has the following:

    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function myUserControlClickHandler() {
            $find("<%= RadAjaxManager.GetCurrent(PageClientID %>").ajaxRequest("content");
        }
    </script>
</telerik:RadCodeBlock>

I believe that the code in the $find has an error, and should be the following instead:

$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("content");

The difference is that is should be ".GetCurrent(Page).ClientID" instead of ".GetCurrent(PageClientID".

At least that is what works for me.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 18 Jan 2012, 03:07 PM
Hi Steve,

Thank you for reporting this typo.

You are correct the code should look like you suggested. We will fix the mistake in our documentation so the correct version will be available in the next official release.


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
Tags
Ajax
Asked by
Steve LaForge
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or