If the temperature is getting into the 100's, there's no real solution except wearing shorts for biking and changing into pants when you get there.
REI sells thin pants like these -
http://www.rei.com/product/810256/pr...mens-30-inseam
That's the best thing I can think of...that, or thin wool dress pants. Wool breathes better than anything else and let's the sweat out.