Automatic form generation - code behind problems - InfoPath Dev
in

InfoPath Dev

Automatic form generation - code behind problems

Last post 07-24-2011 10:53 PM by przemek. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-24-2011 10:53 PM

    Automatic form generation - code behind problems

     Hi :)

     

    My task is to generate infopath forms basing on informations from datasource. I will also need to take care of code behind generation. Inside .xsn we have already compiled .dll. What i would like to do is to be able to generate properly FormCode class on my own. The problem is FormCode is a partial class. If i try to compile part of code available through VS for applications i get errors caused by lack of the second part of FormCode class (InfoPath with just button inside throws error : "An object reference is required for the non-static field, method, or property 'Microsoft.Office.InfoPath.EventManager.ControlEvents.get' ") . Does anybody know how to deal with this? Is there anywhere available FormCode class full body?

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