Display only Year

4 posts, 0 answers
  1. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 30 Mar 2010 Link to this post

    I want to display only year of the selected Date.(I am using CSLA & Prism).Can anybody please help me.
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 01 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 02 Apr 2010 Link to this post

    Hello...Kaloyan
    Can you explain it clearly. Sorry to say I cant understand what you said
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 07 Apr 2010 Link to this post

    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.
Back to Top