When you have many RadTimePicker and/or RadDateTimePicker controls on a page, this might render large amount of HTML and impact performance. For this case, to reduce the html and speed up the loading time, RadTimePicker/RadDateTimePciker controls can share an instance of TimeView control for picking times.
You could configure the shared popup control in two ways:
- in the VS.NET designer - by setting the ID of the shared RadTimeView control to the RadTimePicker.SharedTimeViewID property.
- in code-behind - by passing a reference of the shared RadTimeView control to the RadTimePicker.SharedTimeView property.
This example illustrates both approaches for configuring RadTimePickers to use shared RadTimeView controls.