Bug with colorPickerUIAdv

Hello,

I think there is a slight bug with the colorPickerUIAdv control.
If you run the RibbonControlAdv_2008 sample app and click on the Custom Colors. Push More colors button, Select a color and hit OK. Then try to click on the More colors button again its gone. I think it got pushed off and you are unable to see it. You also can't see the Recent color that you picked.

1 Reply

LS Lingaraj S Syncfusion Team April 22, 2010 06:14 PM UTC

Hi Dave,

Thank you for the update.

Please try using below codes in ColorPickerUIAdv.Picked event to avoid this misbehavior as shown below.

// Ensures that the PopupControlContainer is closed after the selection of a color.
ColorPickerUIAdv cc = sender as ColorPickerUIAdv;
Syncfusion.Windows.Forms.PopupControlContainer pcc = cc.Parent as Syncfusion.Windows.Forms.PopupControlContainer;
pcc.ShowPopup(pcc.Location);
pcc.HidePopup(Syncfusion.Windows.Forms.PopupCloseType.Done);


Please let me know if you have any queries.

Regards,
Lingaraj S.

Loader.
Up arrow icon