This is a migrated thread and some comments may be shown as answers.
Add events
1 Answer 6 Views
This is a migrated thread and some comments may be shown as answers.
Chili
Top achievements
Rank 1
Chili asked on 10 Oct 2018, 01:54 PM

Hello,

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Viktor Tachev
Telerik team
answered on 12 Oct 2018, 12:43 PM
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.


Regards,
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.
Asked by
Chili
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or