Time change

4 posts, 0 answers
  1. Pan hal
    Pan hal avatar
    61 posts
    Member since:
    Aug 2009

    Posted 09 Dec 2009 Link to this post


    Currently the default timepicker dropdown shows 1 hour difference time ie 12.00 AM, 1.00 PM, 2.00 PM, 3.00PM,4.00PM  etc  etc
    Instead is there a way to control the time difference (eg :30 minutes or 15 minutes )

    like 12.00 AM,12.30 AM,1.00 PM, 1.30 PM,  2.00 PM, 2.30PM,3.00PM ,3.30 PM etc 

    We use this control in several places with this feature.

    Can some one help with this
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 10 Dec 2009 Link to this post

    Hello Pan,

    Thank you for your interest in our products.

    To change the time difference all you have to do is to set the TimeInterval property of the TimePicker to the desired interval.
    Here is a very simple TimePicker defined in XAML:

    <telerik:RadTimePicker x:Name="MyRadTimePicker" 
                     StartTime="0:0:0" 
                     EndTime="23:0:0" 
                HorizontalAlignment="Left" Width="200" 
                     Height
    ="20"       
                     TimeInterval
    ="0:30" Culture="en-US">
    </telerik:RadTimePicker>
    However, if you want to custom set the time displayed in the TimePicker you can visit http://demos.telerik.com/silverlight/#TimePicker/DataBinding and check out the example for data binding.

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


    All the best,
    Konstantina
    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. Pan hal
    Pan hal avatar
    61 posts
    Member since:
    Aug 2009

    Posted 10 Dec 2009 Link to this post

    Thanks for your reply. But The demo website has some issues. Get this errors. I tried both on IE and Firefox but no luck.

    Can you please help me,
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 11 Dec 2009 Link to this post

    Hi Pan, 

    You can try cleaning the cache of the browsers.

    Hope this works.
     
    All the best,
    Konstantina
    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