ComponentOne SuperPanel for ASP.NET AJAX: SuperPanel for ASP.NET AJAX Task-Based Help > Wrapping an ASP.NET Control Using C1SuperPanelExtender

Wrapping an ASP.NET Control Using C1SuperPanelExtender

You can wrap any ASP.NET control such as a Label control in the C1SuperPanel control using the TargetControlID property.

This topic shows how to wrap any ASP.NET control such as a Label control at design time.

1.   Add an ASP.NET Label control and a C1SuperPanelExtender control to your page.

2.   Set the Label’s Text property to the following: “The C1SuperPanelExtender is an extender control that uses the C1SuperPanel control to wrap any ASP.NET control.”

3.   Click on the C1SuperPanelExtender control to select it.

4.   Navigate to the Properties window and set the TargetControlID property to “Label1”.

5.   Press F5 to run your project.

 This task illustrates the following:

The ASP.NET Label control is wrapped in the C1SuperPanel control.

 


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.