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

Display only Year

3 Answers 59 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Syed Danish
Top achievements
Rank 1
Syed Danish asked on 30 Mar 2010, 07:10 AM
I want to display only year of the selected Date.(I am using CSLA & Prism).Can anybody please help me.

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 01 Apr 2010, 08:15 AM
Hello Syed Danish,

You may create a view model in which the RadDatePicker will be bound to some particular property of the same type. Then you have to implement a custom Converter that will be used for transforming the date to the desire format by you. Let us know if you need any further assistance.

Greetings,
Kaloyan
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
Syed Danish
Top achievements
Rank 1
answered on 03 Apr 2010, 04:41 AM
Hello...Kaloyan
Can you explain it clearly. Sorry to say I cant understand what you said
0
Konstantina
Telerik team
answered on 07 Apr 2010, 03:58 PM
Hello Syed,

Thank you for contacting us.

You can set format of the TimePicker and the DatePicker by using RadMaskedTextBox. Attached you will find a sample project which illustrates that.

If you have further questions please do not hesitate to contact us again.

All the best,
Konstantina
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.
Tags
DatePicker
Asked by
Syed Danish
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Syed Danish
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or