Source Code Create a value with Confidence...

Prgramming Language : AJAX TOOLKIT

AJAX - Dynamic-Populate

 

Example


TargetControlID - The ID of the button or link for this extender to operate on
ClearContentsDuringUpdate - true (default) to clear the HTML contents of the target element when an update begins
ServicePath - The URL of the web service to call. Leave this parameter blank and specify a ServiceMethod to call a PageMethod. The web service should be decorated with the System.Web.Script.Services.ScriptService attribute.
ServiceMethod - The name of the method to call on the page or web service. The signature of this method must match the following: [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] string DynamicPopulateMethod(string contextKey) { ... } Note you can replace "DynamicPopulateMethod" with a naming of your choice, but the return type and parameter name and type must exactly match, including case.
PopulateTriggerControlID - The optional name of a control that, when clicked, triggers the population of the target.
UpdatingCssClass - The CSS class to apply to the target during asynchronous calls.
CustomScript The script to invoke instead of calling a Web or Page method. This script must evaluate to a string value.
ContextKey An arbitrary string value to be passed to the web method. For example, if the element to be populated is within a data-bound repeater, this could be the ID of the current row.
CacheDynamicResults - Whether the results of the dynamic population should be cached and not fetched again after the first load. The default value is false.

 



Learn more AJAX - ToolKit Functions


* Introduction
* Accordion
* Drag Panel
* Animation
* Auto Complete
* Calendar

* TextBox Watermark
* Cascading DropDown
* Collapsible Panel
* Confirm Button
* Dynamic Populate
* Filtered TextBox

* Drop Down
* Drop Shadow
* Hover Menu
* List Search
* Masked Edit
* Modal Popup

* Tabs
* NoBot
* Numeric UpDown
* Paging Bulleted List
* Password Strength
* Popup Control

* Rating
* ReorderList
* Resizable Control
* Rounded Corners
* Slider
* Slide Show

* Animation
* Toggle Button
* UpdatePanel-Animation
* Validator Callout
* Always Visible Control
* Mutually Exclusive CheckBox