Browse by Tags

All Tags » AJAX (RSS)

Refresh the UpdatePanel using JavaScript Code by JeffreyZhao

Lots of customers asked me that how to refresh the UpdatePanel - it actually is to raise an async postback using JavaScript code. The feature is quite important in some scenarios but unfortunately, ASP.NET AJAX does not give any native support, so we have to find work arounds to do that....

Giving rich styles to auto-complete feature using StyledAutoCompleteExtender by JeffreyZhao

Ajax Control Toolkit provides AutoCompleteExtender control build the feature without writing any JavaScript codes. But it's still not so useful in some kinds of scenarios - in my opinion - since the control can only support plain text as the choices. I've extended the AutoCompleteExtender to solve the problem and now we can build rich styled auto-complete features like Google Suggest and email selection in Windows Live Mail....

IE will be stuck when requests too much? Fake the XHR! by JeffreyZhao

When you make a lot of AJAX calls, the browser keeps all the requests in a queue and executes two at a time. So, if you click on something to try to navigate to anthoer page, the browser has to wait for running calls to complete before it can take another one. The bug is quite serious in IE 6 and unfortunately, it still exists in IE 7. Let's build a fake XHR object to solve the bug in Internet Explorer....
Filed under: ,
More Posts