Control in Repeater doing full postback even when having RadAjaxManager

3 posts, 0 answers
  1. Omar
    Omar avatar
    12 posts
    Member since:
    Jun 2012

    Posted 26 Apr 2013 Link to this post

    In reference to a previous thread about the same topic , but the user seems to have had the answer in a support ticket and it wasn't published for the rest of the users on the forum to benefit from.

    Kindly help me resolve this problem. I have a repeater that contains dynamic linkbuttons which perform a certain function server-side. I referenced that repeater in the AjaxManager settings and configured its updatedcontrols, however, the behavior is random!!

    Sometimes it performs ajax requests when clicking on one of those linkbuttons, and some other times out of no where, it performs a full postback :S there is no specific pattern to it and am at my wits with trial and error.

    Please help :(
  2. Viktor Tachev
    Viktor Tachev avatar
    2342 posts

    Posted 30 Apr 2013 Link to this post

    Hi Omar,

    You could resolve this by placing the repeater in a container.
    Try placing the repeater in a Panel and in the RadAjaxManager set the Panel to update itself.

    Please refer to the example below:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <telerik:AjaxSetting AjaxControlID="Panel1">
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
    <asp:Panel ID="Panel1" runat="server">
        <asp:Repeater ID="Repeater1" runat="server">
                <asp:LinkButton ID="Button1" runat="server" Text="LinkButton"></asp:LinkButton>
                      . . .

    Let me know if this information is helpful.

    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. Omar
    Omar avatar
    12 posts
    Member since:
    Jun 2012

    Posted 30 Apr 2013 Link to this post

    Just got this...i will try and let you know, thanks :)
Back to Top