相关的代码如下:
<%--<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateOrUpdateRoomSup.aspx.cs" Inherits="PanoramaSystem.CreateOrUpdateRoomSup" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>--%>
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/BackgroundSys.Master" AutoEventWireup="true" CodeBehind="CreateOrUpdateRoomSup.aspx.cs" Inherits="PanoramaSystem.CreateOrUpdateRoomSup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>修改房间</title>
<style type="text/css">
#CreateOrUpdateRoom {
position: absolute;
bottom: 34px;
left: 176px;
top: 71px;
right: 0px;
overflow: auto;
height: 400px;
float: none;
}
#CreateOrUpdateTitle {
color: #555555;
height: 400px;
font-size: 24px;
background-color: white;
top: 15px;
}
#BtnNav {
display:none;
}
</style>
<script type="text/javascript">
function ClickA() {
document.getElementById("<%= Btn_ClickOrRoomNames.ClientID %>").click();
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<form id="CreateOrUpdateRoom" runat="server">
<div id="dessert">我的位置>全景管理>修改房间</div>
<div id="CreateOrUpdateTitle">
<div id="ClickOrRoomName" runat="server" οnclick="ClickA();">只修改房间名称</div>
<div id="ClickOrRoom">只修改房间</div>
<div id="ClickOrRoomAll">全部修改</div>
<div id="BtnNav">
<asp:Button ID="Btn_ClickOrRoomNames" runat="server" Text="" OnClick="ClickOrRoomNames_Click" />
<asp:Button ID="Btn_ClickOrRooms" runat="server" Text="" OnClick="ClickOrRooms_Click" />
<asp:Button ID="Btn_ClickOrRoomAlls" runat="server" Text="" OnClick="ClickOrRoomAlls_Click" />
</div>
</div>
</form>
</asp:Content>