ListView client-side databinding

3 posts, 0 answers
  1. Yaroslav
    Yaroslav avatar
    2 posts
    Member since:
    Sep 2012

    Posted 23 Oct 2014 Link to this post

    Is it possible to have many ListView with client-side databinding on one page?
  2. Yaroslav
    Yaroslav avatar
    2 posts
    Member since:
    Sep 2012

    Posted 23 Oct 2014 in reply to Yaroslav Link to this post

    rendered HTML has two <div id="listView"> and first only work

    <div id="listView">
        <a title="Go to previous page" href="javascript:void(0);" class="pagePrev" style=""></a>
        <a title="Go to next page" href="javascript:void(0);" class="pageNext"></a>
        <div id="items">
                <div class="item">
                    <img alt="Photo" src="/Content/Images/GoalsImages/21-2076ad66-a80f-4b97-b2af-1cc122498412.jpg">
                </div>
        </div>
    </div>

    <div id="listView">
        <a title="Go to previous page" href="javascript:void(0);" class="pagePrev" style=""></a>
        <a title="Go to next page" href="javascript:void(0);" class="pageNext"></a>
        <div id="items">
        </div>
    </div>
  3. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2004 posts

    Posted 27 Oct 2014 Link to this post

    Hello Yaroslav,

    You could bind as many RadListView control on client-side as you want, but you must ensure that they will have unique IDs (for the inner elements as well).

    Can you please provide the markup and the client-side logic of your current implementation, so we could investigate locally what could cause problems on your end. 

    I am looking forward to your reply.


    Regards,
    Konstantin Dikov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top