Numeric Up Down control for Year selection

4 posts, 0 answers
  1. Satish J
    Satish J avatar
    52 posts
    Member since:
    Aug 2009

    Posted 02 Sep 2009 Link to this post

    Is it possible to display a numeric Up-Down control for the Year selection in the RadDatePicker control?. Also, I would like to know if a month calendar could be displayed given a month and its year (eg: 3 months from the current month, i.e Dec 2009 calendar shd be displayed).

    If supported, pls confirm the same functionality for weeks too (i.e 3 weeks from the current week).

    Thanks,
    SatishJ
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 03 Sep 2009 Link to this post

    Hello Satish J,

    I am attaching a simple project that includes an application showing you how to use a RadNumericUpDown with the RadDatePicker. I hope that it is a confirm scenario for your case. Also you can check our online examples, where you will find a solution for a different month-view display date. In this case you have to use the DataTemplateSelector class.

    Sincerely yours,
    Kaloyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Satish J
    Satish J avatar
    52 posts
    Member since:
    Aug 2009

    Posted 03 Sep 2009 Link to this post

    Hi Kaloyan ,

                              Thanks for your immediate reply. I wasn't able to successfully compile the sample project attached, as I get VS2008 complaining of RadDatePicker type not being present in the Telerik.Windows.Controls namespace.

    Any inputs pls?

    Thanks,
    Satish J
  5. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 04 Sep 2009 Link to this post

    Hi Satish J,

    You should include a reference to all necessary assemblies that are used in the solution. Note that the Input_SL should be Telerik.Windows.Controls.Input as we did a mistake while sending the project.

    We have distributed our controls in several assemblies under the same namespace e.g. Telerik.Windows.Controls, so if anything is missing from this namespace you probably don't have the assembly containing the class part of your solution.

    Thank you for contacting us and I hope this will resolve your issue.

    Sincerely yours,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top