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

Missing images / stylesheet in partialView

3 Answers 63 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
SolutionStream
Top achievements
Rank 1
SolutionStream asked on 14 May 2009, 05:08 PM
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?

3 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 18 May 2009, 05:24 PM
Hello Kier,

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).

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
SolutionStream
Top achievements
Rank 1
answered on 09 Jun 2009, 05:24 PM
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.

Please excuse us for the inconvenience.

Kind regards,
Rosen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
SolutionStream
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
SolutionStream
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or