Having problems in Razor

Oct 1, 2011 at 6:23 AM
Edited Oct 1, 2011 at 1:29 PM

Hi,

First off, beautiful product and thanks so much for your efforts.

My problem is that I'm trying to use awesome in an MVC app that has Razor as the view engine. I see samples where you are using Razor but I haven't even been able to get the simplest of examples going. I'm in need of the pop-up form but every time I click on the helper generated link to load the popup I get nothing, the modal popup doesn't come up at all. I look at Fiddler and shows that it is grabbing my "create" control but it's wrapping the _Layout.cshtml around it instead of sending simply the "create" view. Maybe I don't have something setup right but I've been working at it for hours. I appreciate any help you can offer as I need to get something going by Monday and I can see your product as greatly helping my efforts. btw, I should mentioned I installed awesome via Nuget.

Thanks and regards.

Oct 1, 2011 at 3:50 PM

Ok I got this to work by not using _ViewStart.cshtml. Instead, I'm explicitly declaring my "Layout" on each page. Is this the expected behavior?

Coordinator
Oct 17, 2011 at 7:59 AM

yes