How to render an Ajax Theme


I have a common list of my registered users, and created a quick-view feature for my administrators that shows information about a user (just a thickbox popup).

In the AJAX, I call a controller/action pair (as usual) but I’d like to render a view which is NOT surrounded by my layout. (because right now, in the little popup window it renders the header, footer etc … which I wouldn’t need)

I know, i could just echo() everything out in the controller, but that’s not pretty MVC :)



Do you mean "renderPartial" ?

Thats how I render my ajax views ;)

thanks man…

I only used renderPartial() in my views before :confused:

Was this so obvious? :) haha

thanks again,