I have a custom layouts page that contains a custom visual WebPart. This WebPart wraps a XsltListViewWebPart with a toolbar. The toolbar is supplied as a RenderingTemplate. The XsltListViewWebPart provides a view on a document library. So far, everything works.
My problem is: that toolbar needs a button that when clicked calls the SharePoint "Open with Explorer" command that you get in the Ribbon menu of a document library.
<wssuc:SPToolBarButton runat="server"
ID="tbbOpenWithExplorer"
Text="Open with Explorer"
OnClientClick="**???**" />
How can I call the "Open with Explorer" command?