4 ms·
Webforms version of asp.net always sypported this idea through soething called UpdatePanel https://msdn.microsoft.com/en-us/library/bb399001.aspx https://msdn.
by chandmkhn 10y ago
Webforms version of asp.net always sypported this idea through soething called UpdatePanel
https://msdn.microsoft.com/en-us/library/bb399001.aspx https://msdn.microsoft.com/en-us/library/bb399001.aspx
Commercial control providers in .Net world support these scenario with something called "CallbackPanel".
https://demos.devexpress.com/MVCxMultiUseExtensionsDemos/CallbackPanel/Example https://demos.devexpress.com/MVCxMultiUseExtensionsDemos/Cal...
Real conufsion starts when you have nested HTML controls that automagcally making ajax calls. Nice idea as long as you can get away with minimal work.
The moment you want to use any moden SPA framework, you are up for a big rewrite.
- shankun 10y agoFunny, when I saw this I immediately thought of UpdatePanel (I used to be on the ASP.NET team back then). The motivation of UpdatePanel was not to provide the best design pattern for AJAX, but provide the fastest path to incremental page updates for ASP.NET Web Forms developers (with minimal code changes) - with all its limitations. It makes a lot less sense to have a pattern like this in a modern SPA.