How to: Use Services and Action Lists with Control Designers
The following code example illustrates a set of custom ASP.NET controls with associated control designers. The control designers show how to implement editable regions and action lists, and how to interact with host services.
This example is described in detail in Sample Control Designer with Action Lists and Services.
Example
<?xml version="1.0" encoding="utf-8" ?>
<styles>
<style name="BackColor" value="red"></style>
<style name="ForeColor" value="white"></style>
</styles>
<?xml version="1.0" encoding="utf-8" ?>
<styles>
<style name="BackColor" value="blue"></style>
<style name="ForeColor" value="white"></style>
</styles>
<?xml version="1.0" encoding="utf-8" ?>
<styles>
<style name="BackColor" value="green"></style>
<style name="ForeColor" value="white"></style>
</styles>
See Also
Tasks
Walkthrough: Creating a Basic Control Designer for a Web Server Control
Concepts
ASP.NET Control Designers Overview
Sample Control Designer with Action Lists and Services