How to build Custom dialog boxes using infopath 2007 compatible framework? - InfoPath Dev
in

InfoPath Dev

How to build Custom dialog boxes using infopath 2007 compatible framework?

Last post 08-30-2007 01:50 AM by psp1979. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-25-2007 03:26 AM

    How to build Custom dialog boxes using infopath 2007 compatible framework?

    Hello,I have infopath form in which my code behind has C# office 2007 compatibility support. On clicking on button on my infopath form I need to show custom dialog box, so I was wondering if I could achieve custom dialog boxes by incorporating some code in code behind of my infopath form. I found some tutorials over net as I noticed that ShowModalDialog can be used to show custom dialog box using office 2003 compatible object model of infopath forms. However I didn't find anything which can help me to build custom dialog boxes using office 2007 compatible model of infopath.  Could anyone post me sample code using office 2007 compatible model that work similar to ShowModalDialog function?

    Also, are there any pros or cons of using Office 2007 compatible model of infopath than office 2003 compatible model in code behind of infopath form? If I am designing infopath forms for Office 2007 then which office XXX compatible model should I apply to my forms.

    Appreciate for your help.

    Thanks

     

     

    ~pSP
  • 08-27-2007 12:51 PM In reply to

    Re: How to build Custom dialog boxes using infopath 2007 compatible framework?

    I believe that David Airapetyan has done this using WinForms to create a custom dialog box, and then including that in the project and calling it up as needed.

    Sorry I don't hae any more details than this. Maybe david can respond.

  • 08-28-2007 12:40 AM In reply to

    Re: How to build Custom dialog boxes using infopath 2007 compatible framework?

    Thanks Greg. Is there any sample code available which was developed by David Airapetyan for custom dialog box?

    Would really appreciate.

    ~pSP
  • 08-29-2007 03:37 PM In reply to

    Re: How to build Custom dialog boxes using infopath 2007 compatible framework?

    Here is a blog post that addresses your issue:

    http://www.infopathdev.com/blogs/david/archive/2007/08/29/showing-custom-modal-dialogs-in-managed-code.aspx

    It contains a link to source code for the custom message box winform.

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 08-30-2007 01:50 AM In reply to

    Re: How to build Custom dialog boxes using infopath 2007 compatible framework?

    Thanks David. It worked for me :-)

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