views:

51

answers:

1

I was recently trying to get the default view engine in ASP.NET MVC 1.0 and couldn't seem to access the ViewEngines.DefaultEngine property that used to be available in the CTP and Beta versions. Does anyone know what the equivalent in the 1.0 release is?

A: 

If I understand this correctly then...

To render a partial view, from a jQuery post back, I do the following;

return PartialView("Calendar", items);

Is this what you were after of did i miss the point of the link you posted?

griegs
not quite... it's to render a view to a string. I have code to render the view to the string but I want to do it with a specific view engine and I want to set the default view engine before I render the view to the string so I can be certain it's the right view engine.
lomaxx