This is a migrated thread and some comments may be shown as answers.

Control BackColor for each single TileList from XMLDatasource

1 Answer 47 Views
TileList
This is a migrated thread and some comments may be shown as answers.
orim
Top achievements
Rank 1
orim asked on 25 Feb 2016, 01:34 PM

Hi All,

how can i control the background color for each TileList from XML File...

Something like DataTitleTextField="Text" ... DataBGColorField="BGColor" ?

Thanks

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 25 Feb 2016, 02:06 PM

Hi,

You can use the TileDataBound event, access the field from your data source and set the tile property as needed. You can find an example in the documentation: http://docs.telerik.com/devtools/aspnet-ajax/controls/tilelist/server-side-programming/events/ontiledatabound.

Regards,

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TileList
Asked by
orim
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or