简体   繁体   中英

Refreshing data without reloading

I want to refresh data in ASP.NET without reloading page. If it is possible I don't want to use AJAX.

I am interesting in clearly .NET

Try PokeIn a Comet implementation for ASP.NET

You can also use SignalR which is officially supported by Microsoft.

If you don't want to use AJAX you can use JQuery to do an Async Http request and refresh only the portion of the page you are interested in (Partial Rendering).

http://api.jquery.com/jQuery.get/

http://api.jquery.com/jQuery.post/

you can't refresh a portion of the page without using any client side framework (lots of years ago when JQuery was not out yet and JavaScript was not used we were using IFrame to achieve that but today would be really bad)

You can use UpdatePanel to refresh your data.

http://ajax.net-tutorials.com/controls/updatepanel-control/

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