Hello Mike,
Currently there is no Client API for recent colors manipulation. Nonetheless, you can accomplish what you want by using the client-side
_recentColors collection and
_updateRecentColors method of
RadColorPicker. With
_recentColors you can get the last colors and then store the result in order to persist them through postback. Afterwards call
_updateRecentColors to display the specified colors as the most recently used.
Below is an example of manually adding recent colors in a
RadColorPicker:
Note that the client-side script is placed outside the
form tag.
Best wishes,
Slav
the Telerik team