Use RadTimeView as a regular control

3 posts, 1 answers
  1. Seekbirdy
    Seekbirdy avatar
    7 posts
    Member since:
    Aug 2006

    Posted 14 Aug 2012 Link to this post

    Hello,

    could I use RadTimeView just as usual control, not connected to some e.g. RadTimePicker or something?
    When I just put it on my page I see from HTML markup that the "wrapper" div has the "display:none" style, so it is not visible.
    How could I make it visible on the server?

    Thanks in advance,
    Ilya.
  2. Answer
    Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 17 Aug 2012 Link to this post

    Hi,

    RadTimeView could not be used as regular control, because this class is used internally by RadCalendar and RadDatePicker controls.

    If you want to use RadTimeView class you could define RadCalendar or RadDatePicker and set its style to "display: none" and thus you will be able to access the RadTimeView object through the corresponding controls.

    Give this approach a try and check whether this suite your needs.

    All the best,
    Andrey
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Seekbirdy
    Seekbirdy avatar
    7 posts
    Member since:
    Aug 2006

    Posted 24 Aug 2012 Link to this post

    Thanks a lot for the reply!

    But I discovered by now that I need another extra thing in TimeView - multi selecting of hours.
    So I have to implement the control by myself.

    Ilya.
Back to Top