/// <summary>
        ///
        /// </summary>
        /// <param name="owner"></param>
        /// <returns></returns>
        public string ToScript(System.Web.UI.Control owner)
        {
            string cfg = new ClientConfig().Serialize(this, true);

            return("new {0}({1}, {2})".FormatWith(this.InstanceOf, this.Target, cfg));
        }