AjaxManager with radlistview and raddatapager

2 posts, 0 answers
  1. Luca
    Luca avatar
    5 posts
    Member since:
    Jul 2012

    Posted 04 Jan 2010 Link to this post

    Hello there,
    I have a RadListView inside a RadListView both with a RadDataPager inside the layout template something like this:

    <telerik:RadListView ID="ListView1"
      <LayoutTemplate> 
        ............... 
        <telerik:RadDataPager ID="DataPager1" PagedControlID="ListView1"></telerik:RadDataPager> 
      </LayoutTemplate> 
      <ItemTemplate> 
        ....................... 
        <telerik:RadListView ID="ListView2"
          <LayoutTemplate> 
              ...................... 
              <telerik:RadDataPager ID="DataPager2" PagedControlID="ListView2"></telerik:RadDataPager> 
          </LayoutTemplate> 
        </telerik:RadListView> 
      <ItemTemplate> 
    <telerik:RadListView> 


    You can see what i mean here Image

    All works fine without ajax, now i want to ajaxify the internal listview and their datapager so i added this:

       
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="DataPager2"
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="ListView2" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManagerProxy> 


    (I have a master page)

    Again the first item of Listview1 is working fine  (the first datapage you see in the picture) i can change page of listview2 inside it without any page reload BUT when i click on the datapager in the second item of the listview1 i have a page reload and the datapager of the upper listview resets... it's like the second datapager isn't ajaxified.

    I tried also with updatepanel and radajaxpanel to see if it works but i had no success.

    I hope the explanation was clear enough, if not just ask.

    Waiting for some help, thanks in advance for your time.
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 06 Jan 2010 Link to this post

    Hello Luca,

    Based on the supplied information, it is hard to determine what is causing this unwanted behavior.
    To further track the problem, you can open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and get back to you with more information on the matter.

    Kind regards,
    Yavor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top