Credit: Alessandro Foggia/Splash News

Think he knows the Electric Slide?

Tom Cruise got down on the dance floor at the weekend wedding of movie producer David Ellison and actress Sandy Modic in Palm Springs, Calif.

The New York Post's Page Six reports that Cruise, 49, wife Katie Holmes and their five-year-old daughter Suri were among the guests for the nuptials; the son of tech billionaire Larry Ellison, David is executive producer of Cruise's upcoming film Mission: Impossible -- Ghost Protocol.

And Cruise -- who famously busted moves in Risky Business and as Les Grossman in Tropic Thunder -- was happy to let loose, according to a witness.

"Suri went to bed before the reception," an observer told Page Six, "and then Tom had a dance-off with a few of the guys in the wedding party."

The superstar is also set to show off his wilder side -- and sing! -- as a headbanger in the all-star heavy metal musical Rock of Ages, currently shooting.

"He can sing!" director Adam Shankman told E! News in February of Cruise's turn as Stacee Jaxx. "It's a miracle!"