Add useNoLayout method

Add useNoLayout method to handle views in ajax requests