This Youtube video shows a solution in preventing dresses from riding up https://www.youtube.com/watch?v=pEXfDsuPYeQ

I have only had this happen once and it was a skirt where the lining was too tight.