I went to Shanghai in this Sept with my 2 kids and family also.
I brought them to " Shing Wong Miu " and est " siu lung bow " there. And we rent a van to go to Hangzhou and yang ching wu also. Just for sight seeing and eat crab ( for adult ). You can bring you two yr old kid to go to aquarium where located next to " tung fung ming chu tap ". I think it suits young kids. And we went to "sun tin dei " to eat .
Overall speaking, shanghai is a place for adult to eat and travel but it will be ok to bring along with kids.