Updating a Secondary Data Source in InfoPath Using AJAX
page 6 of 6
by S.Y.M. Wong-A-Ton
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 41658/ 155


In this article you saw how to update the data of a secondary data source by using AJAX to call an ASP.NET page, perform updates to the data store of the secondary data source, and return XML data to the InfoPath form to trigger a refresh of the data in the secondary data source.

While there are different ways to update data within a secondary data source, this technique offers the following benefits:

1.      It can be used with any web technology that is able to perform an update to the underlying data store of a secondary data source in InfoPath and then return XML data, including classic web technology such as e.g. Active Server Pages.

2.      It makes use of the asynchronous nature of AJAX to automatically refresh the data in the secondary data source after the update has been completed, making it ideal for situations in which code might take a long time to run when performing an update.  

View Entire Article

User Comments

No comments posted yet.

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2020 ASPAlliance.com  |  Page Processed at 2020-06-04 7:24:03 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search