Skipper Dhananjaya de Silva and Kamindu Mendis hit centuries as Sri Lanka recovered from early trouble to end day one on top in the opening cricket test on March 22.
Both de Silva and Kamindu scored 102 to steer Sri Lanka to 280 all out after being reduced to 57-5. The pacers then helped the side consolidate its position by reducing Bangladesh to 32-3 at stumps.
Fast bowlers Khaled Ahmed and Nahid Rana, who made his debut, claimed three wickets each for Bangladesh on a 13-wicket day.