This is a migrated thread and some comments may be shown as answers.

Use RadTimeView as a regular control

2 Answers 41 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Seekbirdy
Top achievements
Rank 1
Seekbirdy asked on 14 Aug 2012, 12:32 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 17 Aug 2012, 08:36 AM
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.
0
Seekbirdy
Top achievements
Rank 1
answered on 24 Aug 2012, 06:34 PM
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.
Tags
Calendar
Asked by
Seekbirdy
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Seekbirdy
Top achievements
Rank 1
Share this question
or