Add events

2 posts, 1 answers
  1. Chili
    Chili avatar
    46 posts
    Member since:
    Aug 2018

    Posted 10 Oct 2018 Link to this post


    I am currently using a listview from Telerik. Now I want to add an OnLoad function so the items will be displayed differently. When I check the possible events for the listview I cant see a onload or some other useful event to display it different directly when the page loads. So now is my question. Is there another alternative to make this work?


    Kind regards.

  2. Answer
    Viktor Tachev
    Viktor Tachev avatar
    2500 posts

    Posted 12 Oct 2018 Link to this post

    Hello Chili,

    By default the appearance of the items in the ListView component will depend on the item template that is defined. If you would like to customize the appearance of the items after the data is loaded I would suggest using the dataBound event. In the event handler you can adjust the appearance of the items based on the data that is available.

    Viktor Tachev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top