Feb 16, 2011, 11:53 AM
Load PartialViews on Panel
Hi,
I want to load several PartialViews on a Panel. That is, I have a selection list and each time an element is selected I want to load only the PartialView associated with this element.
If I use a DirectEvent, I can load a Partial view but Controls are added to the existed ones. Besides, with a DirectEvent I don't know how to change the url to render the PartialView dynamically.
If I use a Listener instead and load the PartialView url on the Panel, I only can view the string corresponding to the control javascript declaration.
Does anyone knows how can I perform this?
Thanks in advance,
Dominik.
I want to load several PartialViews on a Panel. That is, I have a selection list and each time an element is selected I want to load only the PartialView associated with this element.
If I use a DirectEvent, I can load a Partial view but Controls are added to the existed ones. Besides, with a DirectEvent I don't know how to change the url to render the PartialView dynamically.
If I use a Listener instead and load the PartialView url on the Panel, I only can view the string corresponding to the control javascript declaration.
Does anyone knows how can I perform this?
Thanks in advance,
Dominik.