It will only charge via USB connection to the computer if 1) it is a newer USB 2 port (not older USB 1) and 2) the iPad is turned off. Even so it will charge much slower.
The USB port charges at a much lower rate than the 10 watt iPad charger.
Thanks for the info. What purpose does the dock serve then?