using BLL.Manager.RoleUserManagerBLL; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls;
namespace ExamSystemV3.Manager.RoleManager { public partial class AdmShowDIV : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string strLike=""; if (!IsPostBack) { //绑定界面 DataBindWindows(strLike); }
var WindowsID; function WindowsInfo() { //获取ifrm var frmWindows = document.getElementById("frmWindows").contentWindow; //获取界面ID WindowsID = document.getElementById("DdlWindowsName").value;
var rootboxs = frmWindows.document.getElementById("main"); var child = rootboxs.childNodes; findchildbox(child);
}; //搜寻子节点 function findchildbox(parentNode) {
for (var i = 0; i < parentNode.length; i++) {
if (parentNode[i].nodeName == "BOX") {
var childboxId = parentNode[i].id; var childboxTitle = encodeURI(parentNode[i].title); var parentbox = findparentbox(parentNode[i].parentNode); var parentboxId = parentbox.id; if (window.XMLHttpRequest) { //IE7 above,firefox,chrome^^ xmlhttp = new XMLHttpRequest(); //为了兼容部分Mozillar浏览器,当来自服务器响应开头不是xml,导致的无法响应问题 if (xmlhttp.overrideMimeType) { xmlhttp.overrideMimeType('text/xml'); } } else if (window.ActiveXObject) { //IE5\IE6 xmlhttp = new activeXObject("Microsoft.XMLHTTP"); } if (xmlhttp == null || xmlhttp == undefined) { alert("con't create XMLHttpRequest Object"); }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using BLL.Manager.RoleUserManagerBLL; using System.Data; using System.Text; using Model; using BLL;
namespace ExamSystemV3.Manager.RoleManager { /// /// AddBox 的摘要说明 /// public class AddBox : IHttpHandler {