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

ColorEditor initial value

8 Answers 101 Views
ColorEditor
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 19 Apr 2012, 05:48 PM
Is there a way to get the color editor to show the initial color in the editor when the control is first instantiated? If you simply want to tweak the existing color it is convenient to have the editor values initialized to the current color at startup. Right now the color editor seems to startup with some default color independent of the settings for Initial or Selected color are.

8 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 24 Apr 2012, 05:52 PM
Hi David Goughnour,

 We understand your frustration. We can confirm that this is a bug in RadColorEditor. We'll investigate it and we will l provide an additional info tomorrow (whether a workaround is possible, or when to expect a fix).
Thank you in advance for your patience.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Accepted
Petar Mladenov
Telerik team
answered on 25 Apr 2012, 02:56 PM
Hi Goughnour,

 We managed to fix this issue and the fix will be available in the next week's internal build. 

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
David
Top achievements
Rank 1
answered on 25 Apr 2012, 03:15 PM
Thank you very much for your prompt attention. When will this be officially released? Given your quarterly releases I am pretty sure that will be fine.
0
Petar Mladenov
Telerik team
answered on 25 Apr 2012, 03:36 PM
Hello David,

Our Q2 2012 official release is scheduled for the first half of June. 
On a side note, you can expect the official release of RadDiagrams with Q2, I hope you will like it.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
David
Top achievements
Rank 1
answered on 25 Apr 2012, 03:42 PM
That's funny, I just wrote my own OrgChart using Telerik controls for the nodes and basic Canvas drawing methods for the network. I believe RadDiagrams will be quite useful.

Thanks
Dave

0
herme
Top achievements
Rank 1
answered on 27 Apr 2015, 09:58 PM

Hi,

What was the workaround for this problem?

We are stuck on version Q1 2012, so we would not get this fix.

Thanks,

0
Martin Ivanov
Telerik team
answered on 30 Apr 2015, 08:24 AM
Hi Herme,

You can work this around by setting the SelectedColor in the Loaded event of the color picker control using a Dispatcher.
private void editor_Loaded(object sender, RoutedEventArgs e)
{
    Dispatcher.BeginInvoke(new Action(() => {
        this.editor.SelectedColor = Colors.Red;
    }));
}
Please try this approach and let me know if it helps.

Regards,
Martin
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
herme
Top achievements
Rank 1
answered on 08 May 2015, 12:52 AM

Hello Martin, 

That resolved the issue.

Thank you very much,

Tags
ColorEditor
Asked by
David
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
David
Top achievements
Rank 1
herme
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or