1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Format of backcolour propery

Format of backcolour propery

2 posts, 0 answered
  1. Michael Aston
    Michael Aston avatar
    1 posts
    Registered:
    25 May 2010
    18 Sep 2010
    Link to this post
    I'm trying to set the backcolor property on a image content but I can't figure out the correct format. I'm always getting the error message "Input string not in the correct format". Anyone know the correct format?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    19 Sep 2010
    Link to this post
    Hi Michael Aston,

    This property will render for only certain controls. For example, Table, Panel, DataGrid, Calendar, and ValidationSummary will render this property. It will also work for CheckBoxList, RadioButtonList and DataList if their RepeatLayout property is RepeatLayout.Table, not RepeatLayout.Flow.

    BackColor is a public property of WebControl class. By default our controls inherit from CompositeControl which inherits from WebControl and this is why you might see some of these properties in the Control Designer, but we have not exposed implementation that will render your changes to BackColor property.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered