You should copy the <pages><controls> section from the mojoportal web.config into the web.config file of your custom feature.
If your feature uses AjaxControlToolkit you should delete the reference and re-create it to make sure it is referencing the same version as mojoPortal.
Hope it helps,
Joe