C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Remove error adorner text from datetime picker

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 6
jezanet Posted: Wed, Jun 10 2009 8:28 PM

How Do i remove the Error adorner textbox from the datetime picker?

I changed the text in the resource file but the text box still appears, is there a way to not show the error adorner textbox?

I tried to edit the control in blend so i opened selected edit a copy and make a template but i get a stacktrace error which basically says InnerExceptioin:Items collection must be empty before using itemssource.

 

 

 

Top 25 Contributor
Posts 576
C1_IrinaP replied on Thu, Jun 11 2009 7:09 AM

I'm not sure that I understand the question. Default control template shows validation messages on errors. You can change template in any way. Don't use template copy created by Blend, Blend can't create exact copy, you might get errors.

Every build and setup of C1Scheduler assembly contains folder with the full copy of source xaml. Find this folder and copy DateTimePicker template from there. Aero.NormalColor.xaml contains template for Aero Windows theme, Classic.xaml - for classic theme and WindowsXPDateTimePicker.xaml - for all Win XP themes.

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.