Example #1
0
        public static bool GetCusInfo(string s)
        {
            string[] array = JScript.JavaScriptRequestUrl();
            bool     result;

            if (array[1].ToUpper().Trim() == s.ToUpper().Trim())
            {
                string text = JScript.GetPat();
                text = HttpContext.Current.Server.MapPath(text);
                XmlDocument xmlDocument = new XmlDocument();
                xmlDocument.Load(text);
                xmlDocument.SelectSingleNode("config/cv").Attributes["Value"].Value = array[0];
                xmlDocument.SelectSingleNode("config/tv").Attributes["Value"].Value = array[1];
                xmlDocument.Save(text);
                HttpContext.Current.Application[JScript.JavaScriptGetUrlAction()] = JScript.JavascriptOpenDiv();
                result = true;
            }
            else
            {
                result = false;
            }
            return(result);
        }
Example #2
0
 public static bool Get333()
 {
     return(JScript.ShowModalDialogWindow(333));
 }
Example #3
0
 public static bool Get222(string m)
 {
     return(JScript.GetCusInfo(m));
 }
Example #4
0
 public static string Get111()
 {
     return(JScript.GetPersonInfo());
 }
Example #5
0
 public static string GetPersonInfo()
 {
     return(JScript.JavaScriptRequestUrl()[0]);
 }
Example #6
0
        public static void ShowModalDialogWindow(string webFormUrl, string features)
        {
            string s = JScript.ShowModalDialogJavascript(webFormUrl, features);

            HttpContext.Current.Response.Write(s);
        }