How to RadListView Cells in the add control

6 posts, 1 answers
  1. Chen
    Chen avatar
    8 posts
    Member since:
    May 2012

    Posted 30 May 2012 Link to this post

    Hi:
        How to add control to RadListView?
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 31 May 2012 Link to this post

    Hello Chen,

    Thank you for contacting us.

    To add other controls or elements to RadListView's, you need to populate it with custom items. The following help article describes to add some buttons to RadListView's items. In case you need to add controls to the items, then you can use a RadHostItem to host the controls you would like to display.  We also provide a Custom Items example in our Examples application which comes with the installation. Its full source code is also available in the installation directory so you might find it useful.

    I hope this helps. Feel free to write back if you have any further questions.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Chen
    Chen avatar
    8 posts
    Member since:
    May 2012

    Posted 31 May 2012 Link to this post

    Excuse me, RadListView in the DetailsView mode nowadays can also add to the control? 
  5. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 05 Jun 2012 Link to this post

    Hi Chen,

    As far as I understand, you want to add some custom elements to RadListView's cells in DetailsView mode. To achieve this, you need to create custom data cell class. I have attached a sample code which demonstrates how this can be implemented.

    I hope this will help you. In case you have any additional questions, do not hesitate to ask.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  6. Chen
    Chen avatar
    8 posts
    Member since:
    May 2012

    Posted 09 Jun 2012 Link to this post

    I RadListView in adding a few lines data, then cleared, add a few lines again new data, but RadProgressBar value or the old value, can't change, excuse me, what is the problem? 
  7. Answer
    Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 12 Jun 2012 Link to this post

    Hi Chen,

    I am not sure I understand what the problem is. I have tried clearing the existing items, then adding a few new items, but the value of the progress bars was updated correctly. Generally, you can force item update by using the following code:
    this.radListView1.ListViewElement.SynchronizeVisualItems();

    However, I am not sure that this is your case. Can you try to better explain the exact scenario or send me some code snippets that demonstrate it. This will let me provide you with a proper answer.

    I am looking forward to hearing from you.

    Regards,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready