I'd like to display an InfoPath form in a custom aspx page using the XmlFormView control. When I do, the Submit/Close options show up in the old style blue toolbar instead of the v4 ribbon - even though there is a ribbon at the top of the page.
Is there something I need to add to my aspx page to get the form to use the ribbon instead?
The custom aspx page is deployed in _layouts\subfolder directory and it uses the site's default master page. The InfoPath form is deployed as a site content type.
I don't think it's a problem with the master page or the InfoPath form itself because if I display the form using the Form View web part the actions show up in the ribbon.
How can I use the ribbon when using the XmlFormView?
View Complete Post