![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In the most simple terms assume we have a Composite WebServer control This Composite Control (CC) is just a "label" private Label _lblCommissionType; protected override void CreateChildControls() { Controls.Clear(); this._lblCommissionType = new Label(); this._lblCommissionType.Text ="Premium: "; this.Controls.Add(_lblCommissionType); } protected override void Render(HtmlTextWriter writer) { EnsureChildControls(); _lblCommissionType.RenderControl(writer); } I want to add an Event Handler to this CC which captures the event SelectedIndexChanged in a standard DropDownList drawn beside it on the page. i.e. DropDownList1 When the Event is captured I want to change the text of the (CC) label Please Help -- just ask for more details if required C# VS.NET 2003 .NET v1.1 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |