Example #1
0
        /// <summary>
        /// Link Delete For List
        /// </summary>
        /// <param name="html"></param>
        /// <param name="option"></param>
        /// <returns></returns>
        public static String LinkDeleteForList(this HtmlHelper html, RemoteOption option)
        {
            var builder = new TagBuilder("span");

            builder.MergeAttribute("class", "ui-state-error-text");

            builder.InnerHtml += Javascript.LinkToRemote("", "ui-icon ui-icon-closethick", option);
            return(builder.ToString());
        }
 public static String LinkToRemote(this HtmlHelper html, String name, String cssClass, RemoteOption option)
 {
     return(Javascript.LinkToRemote(name, cssClass, option));
 }