BootstrapCallbackPanel.ContentCollection Property
Provides access to a collection of the Callback Panel‘s content controls.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v19.2.dll
Declaration
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ContentControlCollection ContentCollection { get; }
Property Value
Type | Description |
---|---|
ContentControlCollection | A ContentControlCollection object that is a collection of content controls. |
Example
This example demonstrates the basic functionality of the Callback Panel.
- Initialize a new instance of the BootstrapCallbackPanel class.
- Add required controls to the
BootstrapCallbackPanel.ContentCollection
array. - Use the client BootstrapClientCallbackPanel.PerformCallback method to initiate a callback. Handle the BootstrapCallbackPanel.Callback event to process a callback on the server side.
The image below shows the result:
protected void CallbackPanel_Callback(object sender, DevExpress.Web.CallbackEventArgsBase e) {
if(!string.IsNullOrEmpty(e.Parameter))
passedInfo.InnerText = "Passed information: \"" + e.Parameter + "\"";
}
See Also