第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

DevExpress控件ASPxTreeView問題

DevExpress控件ASPxTreeView問題

茅侃侃 2018-12-06 17:20:38
<%@ Page Language="C#" AutoEventWireup="true" Codebehind="DormTreeView.aspx.cs" Inherits="PdmlWeb.Pages.StuDorm.DormTreeView"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <dx:ASPxTreeView ID="dxtvOrg" Width="100%" ShowExpandButtons="true" runat="server" AutoPostBack="true" OnNodeClick="dxtvOrg_NodeClick"> </dx:ASPxTreeView> </form></body></html> protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { setTreeViewData(); } } protected void dxtvOrg_NodeClick(object source, TreeViewNodeEventArgs e) { if (!"ALL".Equals(e.Node.Name)) { sessionInfo = (sSessionInfo)Session["sessionInfo"]; sessionInfo.dataInfo = e.Node.Name; sessionInfo.dataInfoTxt = WebUtils.GetOrgAllName((DataTable)Session["dtOrg"], int.Parse(e.Node.Name)); Session.Add("sessionInfo", sessionInfo); switch (sessionInfo.selectMenu) { case eMenuID.DormInfo: Response.Write("<script>window.parent.window.frames[2].location.href='DormInfo.aspx';</script>"); break; case eMenuID.DormQuery: Response.Write("<script>window.parent.window.frames[2].location.href='DormQuery.aspx';</script>"); break; case eMenuID.DormFinCost: case eMenuID.DormFinQuery: Response.Write("<script>window.parent.window.frames[2].location.href='DormFin.aspx';</script>"); break; case eMenuID.DormFinRpt: Response.Write("<script>window.parent.window.frames[2].location.href='DormFinRpt.aspx';</script>"); break; } } } 用ASPxTreeView生成動態(tài)樹,點擊樹時,第三級節(jié)點會向右平鋪。注:頁面加載時沒有任何問題,點擊第三級節(jié)點時,同級的節(jié)點會依次橫向排列。 如:第一節(jié)點        第二節(jié)點    第三節(jié)點1    第三節(jié)點2    第三節(jié)點3 點擊后會出現(xiàn)下列這種情況: 第一節(jié)點   第二節(jié)點        第三節(jié)點1             第三節(jié)點2                  第三節(jié)點3
查看完整描述

2 回答

?
嗶嗶one

TA貢獻(xiàn)1854條經(jīng)驗 獲得超8個贊

該控件顯示與瀏覽器版本有關(guān)系,在IE9下瀏覽正常。

查看完整回答
反對 回復(fù) 2019-01-21
  • 2 回答
  • 0 關(guān)注
  • 768 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號