By parameter, do you mean a query string?
If you are trying to do this on the code behind, based on your query string, select the appropriate tab in one of the page events.
It would be something like,
if(adding) then
ultratab.selectedtabindex=2
elseif(detail)
ultratab.selectedtabindex=0
end if