Sirs:
I'm trying to dynamically set the font color in the TileList PeekTemplate. The code that I'm using is below (and it works), but Visual Studio generates 7 warning for the syntax. Is there a better way? I can't seem to access that property in the TileDataBound event.
<
telerik:RadTileList
runat
=
"server"
ID
=
"RadTileList1"
TileRows
=
"1"
>
<
DataBindings
>
<
CommonTileBinding
TileType
=
"RadTextTile"
DataNavigateUrlField
=
"NavigateUrl"
/>
<
TextTileBinding
DataTextField
=
"Module_Name"
/>
<
TilePeekTemplate
>
<
div
style
=
"font-size:20px; width:150px;color:<%# DataBinder.Eval(Container.DataItem, "
TileColor") %>">
<
div
><%# DataBinder.Eval(Container.DataItem, "ModuleID") %></
div
>
<
div
style
=
"font-size:14px"
><%# DataBinder.Eval(Container.DataItem, "NumberOfTables") %></
div
>
</
div
>
</
TilePeekTemplate
>
</
DataBindings
>
</
telerik:RadTileList
>