示例#1
0
 /// <summary>
 /// 显示消息,设置编辑器内容
 /// </summary>
 /// <param name="msg"></param>
 /// <param name="editerString"></param>
 protected void ShowMsgSetContent(string msg, string editerString)
 {
     JSMsg.RegisterJS(this, "alert('" + msg + "');setInfo(\"" + StringPlus.JSStringFormat(editerString, true) + "\");", true);
 }
 /// <summary>
 /// 注册脚本块JS方法等,已加入ScriptTag
 /// </summary>
 /// <param name="scriptText"></param>
 protected void RegistScript(string scriptText)
 {
     JSMsg.RegisterJS(this, scriptText, true);
 }
示例#3
0
 /// <summary>
 /// 设置编辑器的内容
 /// </summary>
 /// <param name="editerString"></param>
 protected void SetEditContent(string editerString)
 {
     //string tmp = StringPlus.JSStringFormat(editerString, true);
     JSMsg.RegisterJS(this, "setInfo('" + StringPlus.JSStringFormat(editerString, true) + "');", true);
 }