Writer.WriteElmentString not populating values - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Writer.WriteElmentString not populating values

Last post 05-13-2013 10:52 AM by mittulm. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-13-2013 10:52 AM

    Writer.WriteElmentString not populating values


              I have a multiple-selection box, which when a user selects a value will add an additional row to a repeating table. This part works like a charm, but I'm facing two problems after the fact.

     Within my code, I have used the following on a object_Changed event:

      writer.WriteElementString("field1", myNamespace, "test");

    The code writes the text box without any problems, but, it doesn't populate the value in a browser-based form. Mind you this works flawlessly in the preview, no coding errors either, as it has been validated in preview mode. When it's used in a browser is when it doesn't work.  

    Further, I have a hidden section that operates on the repeating table columns, the formatting action works for only the first row when it is being filled out in browser, but when in infopath form it works, again, flawlessly.

     It's been driving me absolutely crazy. I'm not sure if I absolutely require a button or is it just that programatically written rows behave differently with SharePoint 2010 and InfoPath 2010? Any help is greatly appreciated.


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