void changeService_ComponentChanged(object sender, ComponentChangedEventArgs e)
{
if (!active) return;
Control control = e.Component as Control;
if (control == null)
throw new InvalidOperationException ("The changed component is not a System.UI.WebControl");
string ctext = Document.RenderDesignerControl (control);
comm.JSCall (GeckoFunctions.UpdateControl, null, control.UniqueID, ctext);
}