Using a MVC.net RenderPartial(), i cannot get the TimePicker to load its' images unless I put a TimePicker in the parent view before the RederPartial is called.
Does anyone know why this may be, and any possible solutions to fix it?
The issue you observed is due to the fact that the RenderPartial(partialViewName, Model) method renders the control explicitly and its popup images are not registered on the page.
To avoid that merely add RadStyleSheetManager in the partial view which will register the styles/images explicitly. I am attaching a test project to this forum thread for further reference (my partial view is in Views/RadTimePicker folder and is called RadTimePickerPartialView).
I finally got around to trying this project out and found that while the images now all work, the actual popup control does not popup the time picker.
Do you have a solution for this?
0
Rosen
Telerik team
answered on 12 Jun 2009, 12:57 PM
Hello Kier,
I'm afraid that currently our RadDatePicker does not support rendering in partial views. However we are currently researching a possibility to better the support for partial view rendering.