I have used Microsoft's Ajax library to do several relatively successful projects. In the process, I also discovered some errors in the Ajax library. Today I will list them all one by one to give you a reference. The main function used in the project is the Xml-script function. This function appeared in the early Atlas and was eliminated in the official version. However, it is still retained in the CTP version in January, and this part of the function may be Will be added to future official versions. If you also happen to use the xml-script part, or are interested in this part, you might as well come and take a look. Welcome to make suggestions for modifications. The list of errors I have fixed so far is as follows:
Fixed an error in Sys.Preview.Binding. In the case of dynamic binding, Sys.Preview.Binding does not work properly;
Modify Sys.Preview.UI.Data.ListView so that it can keep highlighting the currently selected row. The original ListView cannot keep highlighting the currently selected row after turning the page;
Fixed a low-level error in Sys.Preview.BindingBase.Transformers.ToString. {0} was changed to {0. Microsoft really shouldn't have such an error. It seems that they did not check the code properly;
Modify Sys.Preview.UI.Template so that it can obtain layoutElement and scriptNode;
Fixed an error in Sys.Application. The Sys.IDisposable object was managed by Sys.Application, but the object did not notify Sys.Application to delete itself when it died.
The JavaScript source code provided by Microsoft contains Sys.Preview.UI.AutoCompleteBehavior and Sys.Preview.UI.PopupBehavior, but the script in the resource file of Microsoft.Web.Preview.dll does not have these two Behaviors. Do these two When it came to Feature, I felt that I was fooled by Microsoft and added these two Behaviors.
I put these corrections and modifications into a separate script, just add a reference in ScriptManager and download the modified code.
These are all errors that occur when using xml-script in projects, or they need to be modified in this way. Maybe my understanding is wrong, and everyone is welcome to give their opinions.