protected override void AddParsedSubObject(object obj) { if (!ListControlUtil.AddParsedSubObjectReplacement(this, obj)) { base.AddParsedSubObject(obj); } }
public override void DataBind() { base.DataBind(); ListControlUtil.AddExtendedListItemProperties(this); ListControlUtil.InsertFixedItems(this); ClearSelection(); }
protected override void AddAttributesToRender(HtmlTextWriter writer) { ListControlUtil.AddExtendedSelectControlAttributesToRender(this, writer); if (!Logic.StringEmpty(clientChange)) { Attributes["onchange"] += ";" + clientChange + ";"; } base.AddAttributesToRender(writer); }
protected override void AddParsedSubObject(object obj) { try { if (!ListControlUtil.AddParsedSubObjectReplacement(this, obj)) { base.AddParsedSubObject(obj); } } catch (Exception ex) { if (obj is LiteralControl) { throw new Exception(String.Format("Error while trying to add a literal with text: '{0}'", ((LiteralControl)obj).Text), ex); } throw new Exception("Error while trying to add subobject of type " + obj.GetType().FullName, ex); } }
public override void DataBind() { base.DataBind(); ListControlUtil.InsertFixedItems(this); }
protected override void RenderContents(HtmlTextWriter writer) { ListControlUtil.RenderSelectOptions(this, writer); }
protected override void AddAttributesToRender(HtmlTextWriter writer) { ListControlUtil.AddExtendedSelectControlAttributesToRender(this, writer); base.AddAttributesToRender(writer); }
protected override void OnDataBinding(EventArgs e) { base.OnDataBinding(e); ListControlUtil.AddExtendedListItemProperties(this); ListControlUtil.InsertFixedItems(this); }
protected override void OnDataBinding(EventArgs e) { base.OnDataBinding(e); ListControlUtil.InsertFixedItems(this); }