Well, never though i”d see the day where i”d make 4000 posts on a forum. But it did happen in the asp.net MS forums…
November, 2006Archive
Are extenders broken?
Yesterday I saw a post on the AJAX discussion forums which stated that an extender stopped working after a partial postback. Since i”m a curious guy, i decided to take some time and investigate the code. The guy with the problem had a really simple sample that reproduced the problem (which is really cool since […]
In beta 2, xml-script is maintained in the value-added bits. So, in order to use it, you need to insert the client side script file needed to support its parsing and processing. If you”re using a simple HTML page, just drop the previewscript.js file on that page; if you”re using an ASP.NET page, then you can load […]
Today I”ve found another post on the AJAX discussion forums asking info about the “Cannot unregister UpdatePanel with ID XXX since it was not registered with the ScriptManager.This might occur if the UpdatePanel was removed from the control tree and latter added again”. This happens only in dynamic pages, when you have UpdatePanels added to […]
Why can''t page methods have parameters with the same name but with different casing?
Short answer: because the internal WebServiceMethodData class is using a Dictionary<string, WebServiceParameterData> and is using the StringComparer.OrdinalIgnoreCase comparer which, as the name suggests, is responsible for performing a case insensitive comparison (in practise, this means that id equals ID, equals Id, etc). Special thanks to Garbin for pointing the obvious :,,) It”s important to note that this […]
Garbin has another great tip on his blog. He has just publish an event helper which cuts down the necessary code to create an event.
As I”ve mentioned yesterday, I was having some problems with bridges. the problem was that every method call returned an error saying that a NullException was thrown. Well, after looking at the generated code from the parsing of the asbx file and doing some debugging, it was clear that the problem was happening in the […]
Strongly typed collections
A good post by my Garbin on how to achieve something close to this…
Today, only time for a couple of quick notes: types are now included into bridges by using the GenerateScriptTypeAttribute to include types in the client side (in the CTP, you”d use the <xmlinclude> element i”m having problems when returning complex object back to the server to make a bridge method call (it looks like a […]
Loading external scripts
During beta 1, we could easily load external scripts by adding a <script> element to the page, by using the ClientScriptManager and even by using the ScriptReference element in order to add references to external Javascript files. Beta 2 introduces some changes when you load a script file through a ScriptElement entry. The docs mention this […]
I already had a post prepared on how to set the focus on a control after an async postback. Unfortunately, it went directly to “garbadge” since now it”s all too easy: we can do that by using the new SetFocusmethod exposed by the ScriptManager class. Here”s a demo page that does just that! <%@ […]
.NET 3.0 final version has been released!
I”ve just read it in JPC”s blog (which is in Pt) that it”s out!
Yes, the november release is out and you can get it from this page.
Testing your internet speed connection
Nothing new, but an interesting site that let”s you test your connection speed.
Dino is starting to get it!
I”m glad to see that Dino has changed his mind regarding AJAX extensions beta 1. I”m also glad to see him acknowledge that his first post on it just the result of frustration regarding the changes made to beta 1. Everyone makes mistakes. Not everyone is able to say or even admit that they”re wrong. It […]