Manipulating DropShadow Properties from Client Code : ASP.NET Ajax Tutorials

The DropShadow control in the AJAX Control Toolkit extends a panel with a drop shadow. Properties of this extender can also be changed using client JavaScript code. Steps The code starts with a panel containing some lines of text...

Dynamically Populating a Control Using JavaScript Code : ASP.NET Ajax Tutorials

The DynamicPopulate control in the ASP.NET AJAX Control Toolkit calls a web service (or page method) and fills the resulting value into a target control on the page, without a page refresh. It is also possible to trigger the population using custom client-side JavaScript code. First of all, you need...

Allowing Only Certain Characters in a Text Box : ASP.NET Ajax Tutorials

ASP.NET validation controls can ensure that only certain characters are allowed in user input. However this still does not prevent users from typing invalid characters and trying to submit the form. The ASP.NET AJAX Control Toolkit contains the FilteredTextBox control which extends a text box. Once activated...

Using HoverMenu with a Repeater Control : ASP.NET Ajax Tutorials

The HoverMenu control in the AJAX Control Toolkit provides a simple popup effect: When the mouse pointer hovers over an element, a popup appears at a specified position. It is also possible to use this control within a repeater....

Using ModalPopup with a Repeater Control : ASP.NET Ajax Tutorials

The ModalPopup control in the AJAX Control Toolkit offers a simple way to create a modal popup using client-side means. It is also possible to use this control within a repeater. Steps First of all, a data source is required. This sample uses the AdventureWorks database and the Microsoft SQL Server 2005...

Control ID Naming in Content Pages : ASP.NET Ajax Tutorials

All ASP.NET server controls include an ID property that uniquely identifies the control and is the means by which the control is programmatically accessed in the code-behind class. Similarly, the elements in an HTML document may include an id attribute that uniquely identifies the element; these id values...

Using DynamicPopulate with a User Control And JavaScript : ASP.NET Ajax Tutorials

The DynamicPopulate control in the ASP.NET AJAX Control Toolkit calls a web service (or page method) and fills the resulting value into a target control on the page, without a page refresh. It is also possible to trigger the population using custom client-side JavaScript code. However special care has...

Using Multiple Popup Controls : ASP.NET Ajax Tutorials

The PopupControl extender in the AJAX Control Toolkit offers an easy way to trigger a popup when any other control is activated. It is also possible to use more than one popup control on one page. In order to activate the functionality of ASP.NET AJAX and the Control Toolkit, the ScriptManager control...

Handling Postbacks from A Popup Control With an UpdatePanel : ASP.NET Ajax Tutorials

The PopupControl extender in the AJAX Control Toolkit offers an easy way to trigger a popup when any other control is activated. Special care has to be taken when a postback occurs within such a popup. When using a PopupControl with a postback, an UpdatePanel can prevent the page refresh caused by the...

Dynamically Adding An Accordion Pane : ASP.NET Ajax Tutorials

The Accordion control in the AJAX Control Toolkit provides multiple panes and allows the user to display one of them at a time. Panels are usually declared within the page itself, but server-side code can be used to achieve the same result. The Accordion control exposes all important properties to server...