예제 #1
0
        public string MapJavaScriptCodeName(string name)
        {
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "Text") == 0)
            {
                return("innerText");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "SelectedIndex") == 0)
            {
                return("selectedIndex");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "FilePathAtClient") == 0)
            {
                return("value");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "selectedMenuId") == 0)
            {
                return("jsData.getSelectedMenuId()");
            }
            if (string.CompareOrdinal(name, "selectedMenuText") == 0)
            {
                return("jsData.getSelectedMenuText()");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "ImageFilePath") == 0)
            {
                return("src");
            }
            if (string.CompareOrdinal(name, "ImageData") == 0)
            {
                return("src");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
예제 #7
0
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "BackColor") == 0)
            {
                return("bkcolor");
            }
            if (string.CompareOrdinal(name, "ImageFilePath") == 0)
            {
                return("src");
            }
            if (string.CompareOrdinal(name, "SelectedFiles") == 0)
            {
                return("loader.SelectedFiles()");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }
예제 #8
0
        public string MapJavaScriptCodeName(string name)
        {
            if (string.CompareOrdinal(name, "nodeText") == 0)
            {
                return("jsData.getNodeText()");
            }
            else if (string.CompareOrdinal(name, "nodeName") == 0)
            {
                return("name");
            }
            else if (string.CompareOrdinal(name, "noteFontFamily") == 0)
            {
                return("jsData.getFontFamily()");
            }
            else if (string.CompareOrdinal(name, "noteFontSize") == 0)
            {
                return("jsData.getFontSize()");
            }
            else if (string.CompareOrdinal(name, "noteFontColor") == 0)
            {
                return("jsData.getFontColor()");
            }
            else if (string.CompareOrdinal(name, "noteBackColor") == 0)
            {
                return("jsData.getBackColor()");
            }
            else if (string.CompareOrdinal(name, "IconImagePath") == 0)
            {
                return("jsData.getIconImage()");
            }
            string s = WebPageCompilerUtility.MapJavaScriptCodeName(name);

            if (s != null)
            {
                return(s);
            }
            return(name);
        }