asp.net mvc - how to set master layout from controller -


is there way call master layout view controller?

have tried

public actionresult validate() {         return view("~/views/shared/_layout.cshtml");     } 

but not working.

their overload in view method

return view ("nameofview",mastername:"viewname"); 

regard's shanker paudel


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -