日期:2014-05-16 浏览次数:20640 次
function nodeClick(mythis) { document.getElementById("SelectNode").value=mythis.id; h = window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject("MSXML2.XMLHTTP"); h.open("GET", "Case.aspx?nodeId=" + nodeId, true); h.onreadystatechange = function() { if (h.readyState == 4) { if (h.status >= 200 && h.status < 300) { alert(h.responseText); document.getElementById("right2").innerHTML= h.responseText; } } } h.send(null); }
if (Request.QueryString["nodeId"] != null) { subiid = int.Parse(Request.QueryString["nodeId"]); ShowGVDB(kntid, subiid);//绑定girdview StringWriter sw = new StringWriter(); HtmlTextWriter tw = new HtmlTextWriter(sw); SolutionGV.RenderControl(tw); //把控件信息转化为html语言 Response.Write(sw.ToString()); //输入html Response.End(); }