Whole section get selected when some elements are programmaticlly inserted into it - InfoPath Dev
in

InfoPath Dev

Whole section get selected when some elements are programmaticlly inserted into it

Last post 04-25-2008 11:58 AM by sayanghosh. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-16-2008 09:54 PM

    Whole section get selected when some elements are programmaticlly inserted into it

    Hi,

     

    In my InfoPath form, I have a number of sections which are shown/hidden based on certain criteria. Now, these sections again contain some buttons. When these buttons are clicked, some elements are inserted into the XML DOM using this.CurrentView.ExecuteAction (elements which were not included in the form when it was first created but explicitly inserted when user indicates so by clicking on a button). However, the issue I am facing is, whenever I click a button to insert the elements, the elements get added fine, but the entire section containing it gets selected. I have to click outside the section again to unselect the section. It would be really helpful if I could know what could be done to get around this issue.

     

    Thanks in advance.

  • 04-17-2008 08:51 AM In reply to

    Re: Whole section get selected when some elements are programmaticlly inserted into it

    This is a known issue.

    Greg calls it bubling up.

    You have to bind the container section to a different, not related, group to prevent this phenonmena.

  • 04-25-2008 11:58 AM In reply to

    Re: Whole section get selected when some elements are programmaticlly inserted into it

    Thanks, resolved it with that approach.

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