Dynamic Populate addition - Demonstration

In this demonstration, the SomeString element on change will invoke a webservice GetReverse. The reversed value will be inserted into the InverseString property.

 
Some Data
Some Data
Section
Some String
Inverse String
XML output

        
Dynamic Populate addition - Description

This page shows how to use the dynamic populate addition functionality

The DynamicPopulateExtender is an AjaxControlToolkit control, that lets you fill one DOM element with HTML data, when another one is changed. The HTML is returned by a web method, that the extender invokes.

The web method should take string contextKey as a parameter and return a string, which is a HTML content.

The DynamicPopulateAddition, that can be used with MForm Leaf items wraps DynamicPopulateExtender functionality, to better match the MForm framework.

The changing item in DynamicPopulateAddition is always the item, that the addition is within. The changed item is the item, that is relative to the changing item, and is found with the use of the Path property

The DynamicPopulateAddition will work for all instances of the Leaf that it is defined in, it will also work for dynamically added items on client side.