I have created custom layout in mVC4 which is rendering fine with normal URL like

<http://myhost.com:2475/User/CreateUser>

but when i add parameter in my url like 

<http://myhost.com:2475/User/CreateUser/1>

the layout gets disturbed and completely fails While debugging it shows the layout property which I set to my custom layout but the layout fails.