>>I think I have an idea of what may be wrong with validations, etc.
>>
>>I first tried returning View(client), but then it was returning the view with the menu, so I changed it to partial view. However, Partial view may not have all necessary scripts.
>>
>>Do you think this is what's going on in regards to validations? If so, what is the solution - non-partial view but with a different layout?
>>
>>Or is where a way to use the same Layout, but don't load the top section and bottom?
>>
>
>I usually create a layout named _PopupLayout.cshtml for these types of situations. It includes all the required scripts, but I remove almost everything else (header, footer, etc). I would fix this first before looking at anything else.
I found this page
http://www.devcurry.com/2012/07/aspnet-mvc-displaying-partial-views.html and another by the same author where he uses partial views and loads them slightly different. Do you think I should try his way or we end up with the same problems I have already?
If it's not broken, fix it until it is.
My Blog