Hi, David,
You can use the following workaround:
public class MyRadToggleSwitchElement : RadToggleSwitchElement
{
protected override void OnValueChanged()
{
if (this.ElementTree != null && this.ElementTree.Control != null)
{
Control control = this.ElementTree.Control;
string analyticsConstant = this.Value ? Telerik.WinControls.Analytics.AnalyticsConstants.Checked : Telerik.WinControls.Analytics.AnalyticsConstants.Unchecked;
Telerik.WinControls.Analytics.ControlTraceMonitor.TrackAtomicFeature(this, analyticsConstant, control.Name);
}
}
protected override Type ThemeEffectiveType
{
get
{
return typeof(RadToggleSwitchElement);
}
}
}
Regards,
Nadya | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.