https://en.wikipedia.org/w/api.php?action=feedcontributions&feedformat=atom&user=122.176.226.109 Wikipedia - User contributions [en] 2024-11-19T05:31:19Z User contributions MediaWiki 1.44.0-wmf.3 https://en.wikipedia.org/w/index.php?title=ASP.NET_AJAX&diff=580719804 ASP.NET AJAX 2013-11-08T07:04:09Z <p>122.176.226.109: /* Microsoft Ajax Library */</p> <hr /> <div>'''ASP.NET AJAX''' is a set of extensions to [[ASP.NET]] developed by [[Microsoft]] for implementing [[Ajax (programming)|Ajax]] functionality. It is released under the [[Microsoft Public License]] (Ms-PL).<br /> <br /> ==Clients supporting Ajax==<br /> <br /> ASP.NET AJAX runs on the following browsers:<br /> * Microsoft Internet Explorer (&gt;= 6.0)<br /> * Mozilla Firefox (&gt;= 1.5)<br /> * Opera (&gt;= 9.0)<br /> * Apple Safari (&gt;= 2.0)<br /> * Google Chrome<br /> <br /> ==ASP.NET AJAX Suite==<br /> At present, the ASP.NET AJAX suite consists of the following components and packages:<br /> * Microsoft Now Launched Ajax Library 4.0, which supports Data Driven Web Applications.<br /> * Microsoft Ajax Library 3.5, which is a JavaScript library that provides the client-side features of the ASP.NET AJAX framework. Integrated in ASP.NET 3.5, the library is also available as a separate download for use in other environments, such as [PHP].<br /> * A server framework – included in ASP.NET 3.5 – for building Ajax-enabled ASP.NET server controls. These components are also available for ASP.NET 2.0 in a separate package called ASP.NET AJAX 1.0 Extensions.<br /> * ASP.NET 2.0 AJAX Templates, a package with a set of Visual Studio templates for building ASP.NET AJAX applications with ASP.NET 2.0 and Visual Studio 2008.<br /> * ASP.NET AJAX Preview, a package with the new features that will be part of the future versions of the framework.<br /> <br /> ==Microsoft Ajax Library==<br /> The Microsoft Ajax Library is a JavaScript library that provides the features for the client portion of the ASP.NET AJAX framework.<br /> - Components – The library provides an infrastructure to build either visual or non-visual JavaScript components. A global JavaScript object – Sys{{Not a typo|.}}Application – is responsible for managing the lifecycle of client components.<br /> <br /> - JavaScript extensions – An enhanced type system is introduced to emulate object-oriented constructs such as namespaces, classes and interfaces; and to perform reflection on client types.<br /> <br /> - Abstraction API – Common operations on the DOM (retrieving elements, setting styles and other manipulations) are automatically translated by the library into browser-specific calls.<br /> <br /> - Ajax – A set of client components is provided to handle Ajax requests and [[Web service|web-service]] calls.<br /> - Application Services – The library allows accessing the ASP.NET Membership, Authentication, Roles and Profile services from the client side.<br /> <br /> Recently, new features have been announced as part of the ASP.NET AJAX 4.0 release:<br /> - Template Engine – Allows displaying data on the client side by using HTML templates and a custom binding notation. This approach avoids performing page rendering on the server side.<br /> <br /> - Declarative instantiation of client components – Allows registration, instantiation and configuration of client components using markup code, without writing any imperative JavaScript code.<br /> <br /> - Live Bindings – Synchronize element properties.<br /> <br /> ==The UpdatePanel Control==<br /> The UpdatePanel is an ASP.NET server control that updates portions of a web page without reloading it. Through a mechanism called asynchronous [[postback]], the HTML for the region of the page wrapped by the control is sent by the server asynchronously through an Ajax request.<br /> <br /> The ASP.NET controls that have been specified as content in an UpdatePanel are able to cause either synchronous (traditional) or asynchronous postbacks, by means of triggers.<br /> <br /> A trigger is an event coming from an ASP.NET control that causes an UpdatePanel to refresh its contents. Through triggers, an asynchronous postback can be started also by controls that are declared outside the region of the ASP.NET page wrapped by the UpdatePanel control.<br /> <br /> In the following code, only the content of the Update control (the span element that displays the current date and time) is re-rendered every time the button is clicked.<br /> <br /> &lt;source lang=&quot;javascript&quot;&gt;<br /> &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; Text=&quot;Refresh&quot; /&gt;<br /> <br /> &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot;&gt;&lt;Triggers&gt;<br /> &lt;asp:AsyncPostBackTrigger ControlID=&quot;Button1&quot; EventName=&quot;Click&quot; /&gt;<br /> &lt;/Triggers&gt;<br /> &lt;ContentTemplate&gt;<br /> &lt;span&gt;&lt;%= DateTime{{Not a typo|.}}Now %&gt;&lt;/span&gt;<br /> &lt;/ContentTemplate&gt;<br /> &lt;/asp:UpdatePanel&gt;<br /> &lt;/source&gt;<br /> <br /> ==Web-services and JSON==<br /> ASP.NET AJAX framework brings [[JSON]] serialization features to the ASP.NET web-services and allows calling web-services from [[client-side JavaScript]], even using third-party Javascript-libraries like [[jQuery]].<br /> <br /> ==See also==<br /> {{Portal|Free software}}<br /> * [[Ajax framework]]<br /> * [[ASP.NET]]<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> ==External links==<br /> * [http://ajax.asp.net/ ASP.NET AJAX (formerly &quot;Atlas&quot;)]<br /> * [http://msdn.microsoft.com/en-us/magazine/cc163574.aspx Atlas At Last : ASP.NET Atlas Powers the AJAX-Style Sites You’ve Been Waiting For]<br /> * [http://searchvb.techtarget.com/originalContent/0,289142,sid8_gci1176426,00.html?Offer=VBwikiatlasmg Microsoft Atlas Mini-Guide] from SearchVB.com - Registration Required<br /> * [http://www.ajaxlines.com/ajax/stuff/article/ajax_tools_for_aspnet_developers.php Ajax Tools for ASP.NET Developers]<br /> * [http://www.tipsdotnet.com/ArticleBlog.aspx?KWID=2&amp;Area=AJAX&amp;PageIndex=0 ASP.NET AJAX Articles selection]<br /> * [http://www.ajaxtoolkit.net AJAX Control Toolkit]<br /> <br /> [[Category:ASP.NET|AJAX]]<br /> [[Category:Ajax (programming)]]<br /> <br /> {{DotNET}}<br /> <br /> {{DEFAULTSORT:Asp.Net Ajax}}</div> 122.176.226.109 https://en.wikipedia.org/w/index.php?title=ASP.NET_AJAX&diff=580719710 ASP.NET AJAX 2013-11-08T07:02:54Z <p>122.176.226.109: /* Microsoft Ajax Library */</p> <hr /> <div>'''ASP.NET AJAX''' is a set of extensions to [[ASP.NET]] developed by [[Microsoft]] for implementing [[Ajax (programming)|Ajax]] functionality. It is released under the [[Microsoft Public License]] (Ms-PL).<br /> <br /> ==Clients supporting Ajax==<br /> <br /> ASP.NET AJAX runs on the following browsers:<br /> * Microsoft Internet Explorer (&gt;= 6.0)<br /> * Mozilla Firefox (&gt;= 1.5)<br /> * Opera (&gt;= 9.0)<br /> * Apple Safari (&gt;= 2.0)<br /> * Google Chrome<br /> <br /> ==ASP.NET AJAX Suite==<br /> At present, the ASP.NET AJAX suite consists of the following components and packages:<br /> * Microsoft Now Launched Ajax Library 4.0, which supports Data Driven Web Applications.<br /> * Microsoft Ajax Library 3.5, which is a JavaScript library that provides the client-side features of the ASP.NET AJAX framework. Integrated in ASP.NET 3.5, the library is also available as a separate download for use in other environments, such as [PHP].<br /> * A server framework – included in ASP.NET 3.5 – for building Ajax-enabled ASP.NET server controls. These components are also available for ASP.NET 2.0 in a separate package called ASP.NET AJAX 1.0 Extensions.<br /> * ASP.NET 2.0 AJAX Templates, a package with a set of Visual Studio templates for building ASP.NET AJAX applications with ASP.NET 2.0 and Visual Studio 2008.<br /> * ASP.NET AJAX Preview, a package with the new features that will be part of the future versions of the framework.<br /> <br /> ==Microsoft Ajax Library==<br /> The Microsoft Ajax Library is a JavaScript library that provides the features for the client portion of the ASP.NET AJAX framework.<br /> - Components – The library provides an infrastructure to build either visual or non-visual JavaScript components. A global JavaScript object – Sys{{Not a typo|.}}Application – is responsible for managing the lifecycle of client components.<br /> - JavaScript extensions – An enhanced type system is introduced to emulate object-oriented constructs such as namespaces, classes and interfaces; and to perform reflection on client types.<br /> - Abstraction API – Common operations on the DOM (retrieving elements, setting styles and other manipulations) are automatically translated by the library into browser-specific calls.<br /> - Ajax – A set of client components is provided to handle Ajax requests and [[Web service|web-service]] calls.<br /> - Application Services – The library allows accessing the ASP.NET Membership, Authentication, Roles and Profile services from the client side.<br /> <br /> Recently, new features have been announced as part of the ASP.NET AJAX 4.0 release:<br /> - Template Engine – Allows displaying data on the client side by using HTML templates and a custom binding notation. This approach avoids performing page rendering on the server side.<br /> - Declarative instantiation of client components – Allows registration, instantiation and configuration of client components using markup code, without writing any imperative JavaScript code.<br /> - Live Bindings – Synchronize element properties.<br /> <br /> ==The UpdatePanel Control==<br /> The UpdatePanel is an ASP.NET server control that updates portions of a web page without reloading it. Through a mechanism called asynchronous [[postback]], the HTML for the region of the page wrapped by the control is sent by the server asynchronously through an Ajax request.<br /> <br /> The ASP.NET controls that have been specified as content in an UpdatePanel are able to cause either synchronous (traditional) or asynchronous postbacks, by means of triggers.<br /> <br /> A trigger is an event coming from an ASP.NET control that causes an UpdatePanel to refresh its contents. Through triggers, an asynchronous postback can be started also by controls that are declared outside the region of the ASP.NET page wrapped by the UpdatePanel control.<br /> <br /> In the following code, only the content of the Update control (the span element that displays the current date and time) is re-rendered every time the button is clicked.<br /> <br /> &lt;source lang=&quot;javascript&quot;&gt;<br /> &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; Text=&quot;Refresh&quot; /&gt;<br /> <br /> &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot;&gt;&lt;Triggers&gt;<br /> &lt;asp:AsyncPostBackTrigger ControlID=&quot;Button1&quot; EventName=&quot;Click&quot; /&gt;<br /> &lt;/Triggers&gt;<br /> &lt;ContentTemplate&gt;<br /> &lt;span&gt;&lt;%= DateTime{{Not a typo|.}}Now %&gt;&lt;/span&gt;<br /> &lt;/ContentTemplate&gt;<br /> &lt;/asp:UpdatePanel&gt;<br /> &lt;/source&gt;<br /> <br /> ==Web-services and JSON==<br /> ASP.NET AJAX framework brings [[JSON]] serialization features to the ASP.NET web-services and allows calling web-services from [[client-side JavaScript]], even using third-party Javascript-libraries like [[jQuery]].<br /> <br /> ==See also==<br /> {{Portal|Free software}}<br /> * [[Ajax framework]]<br /> * [[ASP.NET]]<br /> <br /> ==References==<br /> {{reflist}}<br /> <br /> ==External links==<br /> * [http://ajax.asp.net/ ASP.NET AJAX (formerly &quot;Atlas&quot;)]<br /> * [http://msdn.microsoft.com/en-us/magazine/cc163574.aspx Atlas At Last : ASP.NET Atlas Powers the AJAX-Style Sites You’ve Been Waiting For]<br /> * [http://searchvb.techtarget.com/originalContent/0,289142,sid8_gci1176426,00.html?Offer=VBwikiatlasmg Microsoft Atlas Mini-Guide] from SearchVB.com - Registration Required<br /> * [http://www.ajaxlines.com/ajax/stuff/article/ajax_tools_for_aspnet_developers.php Ajax Tools for ASP.NET Developers]<br /> * [http://www.tipsdotnet.com/ArticleBlog.aspx?KWID=2&amp;Area=AJAX&amp;PageIndex=0 ASP.NET AJAX Articles selection]<br /> * [http://www.ajaxtoolkit.net AJAX Control Toolkit]<br /> <br /> [[Category:ASP.NET|AJAX]]<br /> [[Category:Ajax (programming)]]<br /> <br /> {{DotNET}}<br /> <br /> {{DEFAULTSORT:Asp.Net Ajax}}</div> 122.176.226.109