I was working with Kendo ColorPicker and ColorPalette and I created a widget for serenity. Everything works perfect, except at the constructor time, I do not know the color. This is how is working now...
// [KendoColorPickerEditor(Columns=2, Palette = "['#000', '#333', '#666', '#999', '#ccc', '#fff']",Buttons =true,Preview =true)]
//Palette : "basic" | "websafe" | "['#000', '#333', '#666'] or leave blank"
[KendoColorPickerEditor( Buttons = true, Preview = true)]
public String Color
{
get { return Fields.Color[this]; }
set { Fields.Color[this] = value; }
}
A refresh method is needed to reload the properties changed after constructor...like the "Color" property