Switching Views - Error. - InfoPath Dev
in

InfoPath Dev

Switching Views - Error.

Last post 02-05-2009 06:03 AM by schanta. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-23-2007 12:30 PM

    Switching Views - Error.

    Hello Everyone,

    I am using infopath 2007 and hosting it within visual studio windows application with the formControl. My form has about 7 or 8 views in it and all of a sudden when i try to switch the view (and i do this using a button) i get the "InfoPath cannot execute any view-related object model calls. The view is not ready." error. I have no idea what i've done to make this happen or how to make it go away. Anyone know? One thing i did try however was on my button events i call NotifyHost to switch the view inside my windows form but initially that was working and when i switch back to just switching the view inside my infopath form i continue to get that error.

    please help, this is most frustrating!

    Thanks

  • 05-24-2007 10:56 AM In reply to

    Re: Switching Views - Error.

    Are you per chance trying to switch views while a switch view is in progress? For example, you click the button, it switches the view, but the code behind the button tries to switch to another view?

    This will cause the issue (or something similar to the one) you are seeing.

  • 02-05-2009 06:03 AM In reply to

    Re: Switching Views - Error.

    did you ever figure out how to switch views. I'm getting the same error message when switching to my final view (view-1 is user, view-2 is manager, view-3 is for a different group and it should be read only). please help. schanta

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