Sponsored Ad

Sunday, May 2, 2010

ASP.NET AJAX and Web Parts in Windows SharePoint Services 3.0

You can now cover Microsoft ASP.NET 2.0 by using Microsoft ASP.NET 2.0 AJAX Extensions 1.0, which is a new Microsoft Web development technology that incorporates cross-browser script libraries with the ASP.NET 2.0 Web application framework. ASP.NET AJAX allows you to soon made pages with sophisticated, reactive user interfaces and more effective client-server communication, simply by adding a some server controls to your Web pages. This allows you to define "updatable" regions of a Web Page. With ASP.NET AJAX, server roundtrips become asynchronous and ASP.NET AJAX handles the entire infrastructure.

This theme is introduced in Microsoft ASP.NET 1.0 AJAX Extensions technology in the context of Windows SharePoint Services 3.0. It also provides an overview of ASP.NET AJAX server controls provided. For a comprehensive look at the technology behind ASP.NET AJAX

Server Controls in Microsoft ASP.NET AJAX

ASP.NET 2.0 AJAX Extensions server controls include that is used to partial-page updates and progress bars, timers, and components of management script.
AJAX ASP.NET server controls encapsulate the client and server behavior. A brief description of server-side controls are included here.

ScriptManager

The ScriptManager control manages all client script to ASP.NET AJAX. The ScriptManger automatically registers the script for ASP.NET AJAX to add a Web page. You must add this as the first element of the page controls collection. ScriptManager controls partial-page in a browser when a page contains one or more UpdatePanel controls.

UpdatePanel

UpdatePanel control stores other controls and allows partial-page updates. The UpdatePanel control allows you to request partial-page updates without writing any client script. In short, the controls inside the UpdatePanel control which ordinarily far post to update your records will now be sent through a callback Ajax-style, resulting in a silent update back to the server. This makes the interaction between the application and seamless control over, because there is far post events. You can, however, add script custom client side if you want to enable key scenarios and improve the user experience of the customer. The UpdatePanel and associated triggers are followed by the ScriptManager control

UpdateProgress

UpdateProgress control provides information about the state of the partial-page updates in UpdatePanel controls. By default, a div element is created and displayed at the same time an update is in progress. You can customize the display's default control through ownership ProgressTemplate div.

Timer
The Timer control causes a postback at defined intervals. You can also use the Timer control to send the full page instead of the partial-page updates. Timer controls can be used inside or outside an UpdatePanel control. If you want the Timer control to activate an upgrade, you must add an attribute to trigger the UpdatePanel control instruction.

0 comments:

Post a Comment

Sponsored Ad




Do you want to receive free Sharepoint updates?

Enter your email address:

Website Updates