简体   繁体   中英

No Refresh() method for ListView in ASP.NET 4?

I am using ASP.NET 4 and Visual Studio 2010 Express Edition. I get an error when I try to use the refresh() method for ListView control in my web form. It says there is no such thing for ListView control whereas the documentation on msdn says it should have one.

Right now, I am refreshing the content of the control by changing the SELECT command of the Sql Data Source that the control is bound to. Please help.

The ListView for WinForms has a Refresh Method however ASP.Net does not afaik. I think a solution to your problem can be found here How do I refresh an ASP.NET ListView using jQuery and AJAX?

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