protected BaseScriptBuilder(XControl control) { this.control = control; if (!this.control.HasOwnIDMode || this.control.IDMode == IDMode.Inherit) { this.control.IDMode = IDMode.Client; } }