Databinding

5 posts, 1 answers
  1. Alex Wu
    Alex Wu avatar
    31 posts
    Member since:
    Dec 2009

    Posted 10 Jan 2010 Link to this post

    How do I bind TimePicker value to a SQL DateTime column type?
  2. Alex Wu
    Alex Wu avatar
    31 posts
    Member since:
    Dec 2009

    Posted 12 Jan 2010 Link to this post

    This should be very simple. I basically just want to display the time from a db datetime field with TimePicker control. Can someone please help?
  3. DevCraft banner
  4. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 13 Jan 2010 Link to this post

    Hello Alex Wu,

    Actually this is very simple. You need to set the ClockItemSource property of the RadTimePicker to every different type of collection. Check our online example for reference. 

    Best wishes,
    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.
  5. Alex Wu
    Alex Wu avatar
    31 posts
    Member since:
    Dec 2009

    Posted 13 Jan 2010 Link to this post

    If I understand the example correctly it doesn't really display any value, it just set the options available for user to pick. What I need is to bind the value/display text to a value in my database.
  6. Alex Wu
    Alex Wu avatar
    31 posts
    Member since:
    Dec 2009

    Posted 13 Jan 2010 Link to this post

    I found my answer in this thread. Thank you

    http://www.telerik.com/community/forums/silverlight/datepicker/how-to-display-the-selected-date-and-time-in-a-textbox.aspx
Back to Top
DevCraft banner