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

Exception Thrown

3 Answers 37 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Scott
Top achievements
Rank 1
Scott asked on 24 Nov 2010, 12:45 AM
I have a ColorPircker on a ToolBar bound  to a string property.  Everything is working as expected, but I noticed an uncaught exception being thrown in one of the Telerik dlls. Here it is:

A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls


I've verified that the string is never null, so I am assuming this is coming from inside the Controls dll.  Has anyone else noticed this before?

-Scott

3 Answers, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 25 Nov 2010, 12:38 PM
Hello Scott,

Could you please explain a bit more what exactly your scenario is and may be send us a sample project that reproduces the problem?

Greetings,
Viktor Tsvetkov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Kim Kiat
Top achievements
Rank 1
answered on 23 Jul 2014, 08:43 AM
Hi,
We are also facing same issue with ColorPicker. We are trying to use this in PropertyGridDefinition. Exception get raised when I click on SplitButton of ColorPicker.

<DataTemplate x:Key="backgroundTemplate">
                <telerik:RadColorPicker SelectedColor="{Binding NormalHeaderBackground, Converter={StaticResource colorToBrush}, Mode=TwoWay}"  NoColorVisibility="Visible" HeaderPalette="Office" MainPalette="Grayscale" StandardPalette="Standard" />
</DataTemplate>


Thanks,
Kim
0
Petar Mladenov
Telerik team
answered on 25 Jul 2014, 11:04 AM
Hello Kim,

Could you please elaborate a bit more on your scenario - what is the type of exception, what steps do you perform, etc ? Do you follow the approach from this demo - PropertyGrid First Look ? Is it possible for you to open a new support thread with an isolated project that we can investigate ? Thank you in advance for your cooperation.

Regards,
Petar Mladenov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ColorPicker
Asked by
Scott
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Kim Kiat
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or