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

OnEnabledChanged error (Q1 2010)

2 Answers 79 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Chris Jones
Top achievements
Rank 1
Chris Jones asked on 16 Mar 2010, 07:30 PM
Hello,

I am in the process of upgrading from q3 sp2 to q1 2010.
I am currently receiving the following error when the RadTimePicker Enabled property is changed:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Tue, 16 Mar 2010 18:23:12 UTC

Message: Unhandled Error in Silverlight Application Cannot resolve TargetName ClockIconForeground.   at MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions)
   at System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
   at Telerik.Windows.Controls.RadTimePicker.GoToState(Boolean useTransitions)
   at Telerik.Windows.Controls.RadTimePicker.OnEnabledChanged(Object sender, DependencyPropertyChangedEventArgs e)
   at System.Windows.Controls.Control.OnIsEnabledChanged(Control control, EventArgs args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

This did not happen in Q3 sp2.
Is there any type of workaround to keep this error from happening?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pana
Telerik team
answered on 17 Mar 2010, 03:14 PM
Hello Chris Jones,

We are aware of that problem and it will be fixed in one of our upcoming service packs and internal builds. I'm also attaching an example project with fixed time picker that you can use as theme for the time picker or extract the style from it.

Best wishes,
Panayot
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chris Jones
Top achievements
Rank 1
answered on 17 Mar 2010, 04:12 PM
Panayot,

Thank you for the response.

The theme works like a charm, and we will use it as a temporary fix until the service pack is released.

Thanks,
Chris
Tags
TimePicker
Asked by
Chris Jones
Top achievements
Rank 1
Answers by
Pana
Telerik team
Chris Jones
Top achievements
Rank 1
Share this question
or