Sign In  Sign Up Live-Chat

StackOverflowException with check box

Last post 08-08-2008, 10:41 AM by Chris Wood. 1 replies.
Sort Posts: Previous Next
  •  08-06-2008, 5:24 AM 138517

    StackOverflowException with check box

    Probably me missing something unimaginably obvious, but:

    1) Create a new form template using InfoPath 2007

    2) Drag a check box control onto the form

    3) Save form in 2005 format

    4) Create web application in Visual Studio 2005

    5) Put Aspose.Form XmlFormView control on page

    6) Set XsnLocation to the saved template

    7) Build/Run application

    I get a StackOverflowException, with warnings about checking for infinite loops. Over the years, I have seen this in cases where the CheckedChanged handler changes the checked state. Seems unlikely that this is the problem here - would be glaringly obvious in testing - so I assume I am doing something wrong - first time I used Aspose.form or InfoPath was 2 days ago.

    If I remove the check box and use other controls, all is well.

    Thanks in advance.

     
  •  08-08-2008, 10:41 AM 138977 in reply to 138517

    Re: StackOverflowException with check box

    Me again.

    Noticed that there was a new version of Aspose.Form (1.4) and since I was using 1.3, I thought I'd give it a try, even though the notes didn't mention anything about check boxes - combos boxes which were also not working for me, yes, but check boxes no.

    To my surprise, check boxes are now working, so I'll say that this one is closed for now. However, there are some other issues which I will report in a separate post so as to not muddy the water.

     
View as RSS news feed in XML