Infopath 2010 Export to .MHT and switch view - InfoPath Dev
in

InfoPath Dev

Infopath 2010 Export to .MHT and switch view

Last post 09-04-2012 12:29 PM by Joemanc. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-04-2012 12:29 PM

    Infopath 2010 Export to .MHT and switch view

    I'm trying to export a view to an .MHT file. I am on one view and in the code behind a button click, I am trying to switch to my Print View and then export that view, but that seems to be a no-go.

    I found an old thread on the site that discussed this very issue, but that was 4 years and an IP version or 2 ago and there didn't seem to be a fix back then. Wondering if anyone has come up with a workaround.

    In the meantime, I tried a couple of things to no avail. One of them was a solution to printing views and switching, but that does not work with the Export. I also tried to add a Thread.Sleep command to give IP a chance to switch views, but no dice there either.

    Joe

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.