Ejemplo n.º 1
0
        public ascx_HtmlTagViewer show(string htmlCode)
        {
            HtmlCode = htmlCode;
            if (ViewAsXml)
            {
                HtmlCode = htmlCode.htmlToXml();
            }

            if (HtmlCodeViewer.notNull())
            {
                if (ViewAsXml)
                {
                    HtmlCodeViewer.set_Text(HtmlCode, ".xml");
                }
                else
                {
                    HtmlCodeViewer.set_Text(HtmlCode, ".xml");
                }
            }
            return(show(HtmlCode, HtmlNodeFilter.get_Text()));
        }