简体   繁体   中英

Sharepoint Webpart load asynchronous on page load

I'm just having a webpart on a page which consumes webservice of a RSS feed, converting into datatable displaying with my own design, because of which the whole page load is slowed down.

What i wanted to do is to let the other webparts render and this webpart can take it's own time to load?

Does anyone come across this kind of situation where the webpart on page load is asynchronously loaded?

Please help me on this.

Thanks in advance

A WebPart cannot be loaded asynchronously as it is delivered within the page rendering process (in the end a web browser only understands HTML).

What you can do is to load the content of the WebPart asynchronously by using Javascript. So you could get your RSS feed via Javascript and a Webservice and load that after everything else has finished loading on the page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM