About ListView control another ListView

2 posts, 0 answers
  1. Bruce
    Bruce avatar
    1 posts
    Member since:
    Nov 2010

    Posted 04 Jul 2011 Link to this post

    Hi Telerik Team,

    How can I do this:
    I want to put three ListView in my page, when I change the first ListView mode into Insert/Edit then the second ListView and third ListView also change to Insert/Edit mode.

    All of the three ListView's data is from the same table in the DB, but show different columns.
    The second ListView and the third ListView are in the TabSript but different RadTab.

    Could you give a favor
    ?
    Thanks a lot.

    Bruce
  2. Marin
    Admin
    Marin avatar
    1043 posts

    Posted 07 Jul 2011 Link to this post

    Hello Bruce,

     You can put the RadListView programmatically in insert mode using its ShowInsertItem method. As for the edit mode you will need to determine which ListView items you want to put in edit mode and then add them to the EditIndexes or EditItems collection of the control. Have in mind that you will need to call Rebind after each of those operations to take effect.

    Kind regards,
    Marin
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top