The IHtmlControlDesignerBehavior.SetAttribute(string, object, bool) method is obsolete. Use the IControlDesignerTag.SetAttribute(string, string) method on the ControlDesigner.Tag property of the System.Web.UI.Design.ControlDesigner class for equivalent control designer functionality.