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

Colour picker in grid when add row throws cannot parse colour

1 Answer 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 27 Aug 2015, 09:49 AM

I have a colour code property on my model which has UIHint set to a colour picker partial view.

Everything works as expected for existing values in my grid but not when I add a new row from the Grid.

I have tried setting default values onto my model property and even put debug lines to write out when the Get property is called.

 However when the Add button is pressed from the Grid, the get property is NOT called and I get a Cannot parse colour "" error.

 How can a default be given to the colour picker?

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 28 Aug 2015, 08:43 AM

Hello Karl,

I covered the question in the support thread on the same topic. Let me know if the information was helpful.

Regards,
Dimiter Madjarov
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
Grid
Asked by
Karl
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or