0
當我啓動我的頁面時,充當頁面過濾器的表被傾斜...第二行上的標籤顯示爲從表中卸載。我正在繼續解決這個問題,但我對發生的事情不知所措。頁面上傾斜的html表
下面是屏幕截圖:
在Page_Load中:
用戶後選擇在位置下拉列表中的值,就會發生後post_back:
//對不起,不能發佈圖片
因爲我不確定我在做什麼,所以我正在努力解決這個問題所在:有MasterPage。
這裏的表格標記:
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="MissingDataCollection.aspx.vb" Inherits="MDC.MissingDataCollection" %>
<%@ Register Assembly="AjaxControlToolkit, Version=4.1.51116.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"
Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:Panel ID="Panel1" runat="server">
</asp:Panel>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Table ID="Table1" runat="server" BorderStyle="none" CellPadding="0" CssClass="ReportFilterTable"
CellSpacing="0" Width="90%">
<asp:TableRow ID="TableRow1" runat="server" BorderStyle="none">
<asp:TableCell ID="TableCell1" BorderStyle="none" runat="server" HorizontalAlign="right" colspan="1">
<asp:Label ID="lblSelectPractice" runat="server" Text="Label" style="text-align: right;">Select a Location:</asp:Label>
</asp:TableCell>
<asp:TableCell ID="TableCell2" BorderStyle="none" runat="server" HorizontalAlign="left" colspan="4">
<asp:DropDownList ID="ddnAvailablePracticeList" runat="server" AutoPostBack="true"
DataSourceID="sqlGetPractices" DataTextField="GroupName"
DataValueField="GroupID">
</asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow ID="TableRow2" runat="server" BorderStyle="none">
<asp:TableCell ID="TableCell5" runat="server" BorderStyle="none" height="50px" HorizontalAlign="right">
<asp:Label ID="Label14" runat="server" Text="Label" style="text-align: right;">Select a Customer:</asp:Label>
</asp:TableCell>
<asp:TableCell ID="TableCell6" BorderStyle="none" runat="server">
<asp:TextBox ID="txtProviderList" Width="260px" Text="Please select a Customer." runat="server" CssClass="txtbox">
</asp:TextBox>
<div id="divDDL" runat="server">
</div>
<asp:Panel ID="PnlCust" runat="server" CssClass="PnlDesign">
<asp:CheckBoxList ID="cblProviderList" BorderStyle="none" runat="server" AppendDataBoundItems="true" onclick="readCheckBoxList();">
</asp:CheckBoxList>
</asp:Panel>
<asp:PopupControlExtender ID="PceSelectCustomer" runat="server" TargetControlID="txtProviderList"
PopupControlID="PnlCust" Position="Bottom">
</asp:PopupControlExtender>
</asp:TableCell><asp:TableCell ID="TableCell7" BorderStyle="none" runat="server" HorizontalAlign="right"><asp:Label ID="lblSortOrder" runat="server" Text="Label" style="text-align: right;"> Sort Order:</asp:Label>
</asp:TableCell>
<asp:TableCell ID="TableCell8" BorderStyle="none" CssClass="label1">
<asp:DropDownList ID="ddnSortOrder" runat="server" AutoPostBack="true">
</asp:DropDownList>
</asp:TableCell>
<asp:TableCell ID="TableCell10" BorderStyle="none" HorizontalAlign="left" ColumnSpan="1">
<asp:Button ID="btnRunReport" visible="true" runat="server" Text="Run Report"/>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
<hr />
任何想法?
Thanks.Mike