2025-03-27 15:05:14 +08:00

138 lines
7.6 KiB
Plaintext

<%@ Control Language="C#" CodeBehind="IMAGE.ascx.cs" AutoEventWireup="true"
Inherits="SuperMap.RealEstate.HighWay.Modules.ProblemDeal.IMAGE" %>
<%@ Register Assembly="RealEstate.Web" Namespace="SuperMap.RealEstate.Web.UI.WebControls" TagPrefix="smwc" %>
<ul>
<li class="Col1">
<fieldset class="cssGroupBar">
<legend><b>图片信息</b></legend>
<ul>
<li class="Col1" style="text-align: right;">
<asp:TextBox ID="TextBox_Search" CssClass="TextBoxSearch" Width="180px" runat="server"></asp:TextBox>
<smwc:CallBackButton ID="ButtonSearch" CssClass="ButtonSearch" runat="server" Text="搜索" OnCallBackClick="ButtonSearch_CallBackClick" />
<smwc:LayoutButton ID="LayoutButton_Search" runat="server" Text="搜索选项">
<smwc:GridViewSearch ID="GridViewSearch1" runat="server" OnCallBackClick="ButtonSearch_CallBackClick">
<smwc:SearchItem FieldName="IMAGE_PATH" Text="搜索“路径”" Checked="true" />
</smwc:GridViewSearch>
</smwc:LayoutButton>
<smwc:LayoutButton ID="LayoutButton_OrderBy" runat="server" Text="排序选项">
<smwc:GridViewOrderBy ID="GridViewOrderBy1" runat="server" OnCallBackClick="ButtonSearch_CallBackClick">
<smwc:OrderByItem FieldName="IMAGE_DATE" Text="时间" GroupName="RadioOrderBy" />
<smwc:OrderByItem FieldName="IMAGE_PATH" Text="路径" GroupName="RadioOrderBy" />
</smwc:GridViewOrderBy>
</smwc:LayoutButton>
</li>
<li class="Col1">
<smwc:GridViewEx ID="GridViewEx1" runat="server" OnSelectMethodParameters="GridViewEx1_SelectMethodParameters"
DataKeyNames="IMAGE_ID" DataTableName="HIGHWAY_STORAGE.T_IMAGE" RowEventType="None"
PopDialogUrl="PURCHASEPage.aspx" PopDialogWidth="600" PopDialogHeight="300" PopDialogName="IMAGEPage">
<Columns>
<asp:TemplateField>
<HeaderTemplate>序</HeaderTemplate>
<ItemTemplate>
<%# GridPageEx1.PageSize * GridPageEx1.CurrentPageIndex + Container.DataItemIndex + 1 %>.
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<smwc:CallBackButton ID="SelectButton" CausesValidation="false" runat="server" CssClass="ButtonNew" Text="选择" OnCallBackClick="SelectButton_CallBackClick" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<smwc:CallBackButton ID="DeleteButton" CausesValidation="false" runat="server" CssClass="ButtonSearch" Text="删除" OnCallBackClick="DeleteButton_CallBackClick" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="IMAGE_DATE" Visible="true" HeaderText="上传日期" HtmlEncode="false" DataFormatString="{0:yyyy年MM月dd日}" ItemStyle-Wrap="false" />
<asp:BoundField DataField="IMAGE_PATH" Visible="true" HeaderText="图片路径" />
<asp:BoundField DataField="ISVALID" Visible="false" HeaderText="是否有效" />
<asp:BoundField DataField="IMAGE_DESC" Visible="true" HeaderText="图片说明" />
</Columns>
<HeaderStyle Wrap="False" />
<RowStyle Wrap="False" />
</smwc:GridViewEx>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" EnableViewState="true"></asp:ObjectDataSource>
</li>
<li class="Col1">
<smwc:GridPageEx ID="GridPageEx1" runat="server" PageSize="10" OnCallBackPageChanged="GridPageEx1_CallBackPageChanged" />
</li>
</ul>
</fieldset>
</li>
<li class="Col1">
<hr />
<hr />
</li>
<li class="Col1">
<fieldset class="cssGroupBar">
<legend><b>详细信息</b></legend>
<ul class="ListItem Col1">
<li>
<table class="ControlBox_Table" style="width: 100%; display: inline-table;" cellspacing="0" cellpadding="0">
<tr>
<td class="ControlBox_Caption">
<div style="overflow: visible; white-space: nowrap;">图片路径:</div>
</td>
<td class="ControlBox_Body">
<asp:FileUpload runat="server" ID="mFileUpload" />
</td>
</tr>
</table>
</li>
<li>
<table class="ControlBox_Table" style="width: 100%; height: 180px; display: inline-table;" cellspacing="0" cellpadding="0">
<tr>
<td class="ControlBox_Caption">
<div style="overflow: visible; white-space: nowrap;">
图片:
</div>
</td>
<td class="ControlBox_Body">
<img runat="server" id="mImg" src="#" max-width="700" />
</td>
</tr>
</table>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_DESC" Width="100%" runat="server" CaptionText="图片说明:" TextMode="MultiLine" Rows="4" Visible="false"></smwc:TextBoxEx>
</li>
</ul>
</fieldset>
</li>
</ul>
<ul style="display: none;">
<li>
<smwc:TextBoxEx ID="Image_ID" Width="100%" runat="server" CaptionText="图片内码:" ValidType="Integer" ReadOnly="True"></smwc:TextBoxEx>
</li>
<li>
<smwc:DropDownListEx ID="ISVALID" Width="100%" runat="server" CaptionText="是否有效:" ValidType="Integer" DisableSearch="true"></smwc:DropDownListEx>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_DATE" Width="100%" runat="server" CaptionText="图片日期:" ValidType="DateTime"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="Table_ID" Width="100%" runat="server" CaptionText="表内码:" ValidType="Integer"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="Table_Name" Width="100%" runat="server" CaptionText="表名:"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_TYPE" Width="100%" runat="server" CaptionText="图片类型:" ValidType="Integer"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_CONTENT" Width="100%" runat="server" CaptionText="图片内容:"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_URL" Width="100%" runat="server" CaptionText="图片地址:"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_TITLE" Width="100%" runat="server" CaptionText="图片标题:"></smwc:TextBoxEx>
</li>
<li>
<smwc:TextBoxEx ID="IMAGE_PATH" Width="100%" runat="server" CaptionText="图片路径:"></smwc:TextBoxEx>
</li>
</ul>