Handling partial postbacks in a Jquery enhanced InfoPath Form - InfoPath Dev
in

InfoPath Dev

Handling partial postbacks in a Jquery enhanced InfoPath Form

Last post 12-01-2013 12:44 PM by Kohsel. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 12-01-2013 12:44 PM

    • Kohsel
    • Not Ranked
    • Joined on 12-01-2013
    • Posts 1

    Handling partial postbacks in a Jquery enhanced InfoPath Form

    Hello I have created an InfoPath which is being displayed in an InfoPath Form Web Part. The form contains a number of question mark icons indicating that help is available for the fields in the form. Hovering the icons displays the help text which is fetched from a SharePoint list using Jquery Ajax and REST. If no help text is found for a specific field the attached icon is removed. This part works fine. The tricky part however, lies in the fact that the form contains a set of cascading dropdowns and 3 people pickers. When these fields change it causes a partial postback which re render the full form including the original icon markups, which does include the help text but includes also the pruned icons. I need to hook to the partial postback event, so that I can rerun the help text attachment to the icons. I have tried to attach to the normal ASP.NET ajax PageRequestManager using the Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(pageLoadedHandler) method, but apparently FormServices postbacks do not trigger these events. Any ideas how to hook up to a partial postback in a InfoPath form? Thanks, Lars Kohsel
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.