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

Conclusion

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-2019 ASPAlliance.com  |  Page Processed at 2019-08-18 9:47:14 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search