Multiple server-call RadListView

2 posts, 0 answers
  1. nilesh
    nilesh avatar
    5 posts
    Member since:
    May 2009

    Posted 03 Apr 2010 Link to this post

    Hello
     i am using the RadListView for displaying product boxes with ingress. i have following code


    <telerik:RadListView runat="server" ID="products" Visible="false" ItemPlaceholderID="ProductItemContainer">
       <layouttemplate>
              <asp:PlaceHolder runat="server" ID="ProductItemContainer"/>
        </layouttemplate>
         <itemtemplate>
                <div class="<%=ArticleClassName%>">
                                 <%#finArtTitle(CStr(DataBinder.Eval(Container.DataItem, "itemname")))%>
               </div>
       </itemtemplate>
    </telerik:RadListView>


    Now when i have place break-point for function "finArtTitle()" then i surprised to know that it fires for 16-times; when i have 4-products boxes (records).


    Any suggestions / reasons please ?

    Thanks.




  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 06 Apr 2010 Link to this post

    Hello Nilesh,

    We have recently address similar issue with current version of RadListView. Therefore the fix will be included in the SP1 of Q1 2010 release. Meanwhile you may check the next internal build, as it should contains the fix too.

    However, taking into account the mentioned method execution count, you should check your logic for double binding. In normal conditions, with ViewState enabled and on initial load, even without the fix, the method should be called 8 time not 16.

    Regards,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top