Guest User

Untitled

a guest
May 9th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 7.21 KB | None | 0 0
  1. <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
  2. <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  3. <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
  4.     Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  5. <%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  6. <%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
  7. <%@ Import Namespace="Microsoft.SharePoint" %>
  8. <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
  9.     Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  10. <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Webpart_OrderAddUserControl.ascx.cs"
  11.     Inherits="SharePointProject1.Webpart_OrderAdd.Webpart_OrderAddUserControl" %>
  12.  
  13.    <style type="text/css">
  14.     tdClass
  15.     {
  16.       color: #F6F6F6
  17.     }
  18.        .style1
  19.        {
  20.            height: 26px;
  21.        }
  22.        .style2
  23.        {
  24.            text-align: right;
  25.        }
  26.   </style>
  27.  
  28. <p>
  29.     <br />
  30. </p>
  31.  
  32. <table style="width: 100%; " cellpadding="3" cellspacing="0">
  33.     <tr>
  34.         <td width=200
  35.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  36.             Название:</td>
  37.         <td bgcolor="#F6F6F6"
  38.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  39.     <asp:TextBox ID="Order_Name" runat="server"></asp:TextBox>
  40.         </td>
  41.     </tr>
  42.     <tr>
  43.         <td width=200
  44.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  45. Клиент:
  46. </td>
  47.         <td bgcolor="#F6F6F6"
  48.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  49. <asp:DropDownList ID="Order_Client" runat="server" Height="20px"
  50.     Width="170px">
  51. </asp:DropDownList>
  52.         </td>
  53.     </tr>
  54.     <tr>
  55.         <td width=200 style="border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  56.             &nbsp;</td>
  57.         <td bgcolor="#F6F6F6"
  58.             style="border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  59.             &nbsp;</td>
  60.     </tr>
  61.     <tr>
  62.         <td width=200 class="style1"
  63.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  64. Тираж:</td>
  65.         <td bgcolor="#F6F6F6" class="style1"
  66.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  67. <asp:TextBox ID="Order_Count" runat="server" Width="53px">1</asp:TextBox>
  68.         </td>
  69.     </tr>
  70.     <tr>
  71.         <td width=200 class="style1"
  72.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  73.             Листов:</td>
  74.         <td bgcolor="#F6F6F6" class="style1"
  75.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  76. <asp:TextBox ID="Order_Sheets_Count" runat="server" Width="53px">1</asp:TextBox>
  77.         </td>
  78.     </tr>
  79.     <tr>
  80.         <td width=200
  81.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  82. Формат:</td>
  83.         <td bgcolor="#F6F6F6"
  84.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  85. <asp:DropDownList ID="Order_Format" runat="server">
  86. </asp:DropDownList>
  87.         </td>
  88.     </tr>
  89.     <tr>
  90.         <td width=200 style="border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  91.             &nbsp;</td>
  92.         <td bgcolor="#F6F6F6"
  93.             style="border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  94.             &nbsp;</td>
  95.     </tr>
  96.     <tr>
  97.         <td width=200
  98.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  99. Макет:</td>
  100.         <td bgcolor="#F6F6F6"
  101.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  102. <asp:FileUpload ID="Order_FileUpload" runat="server" />
  103.         </td>
  104.     </tr>
  105.     <tr>
  106.         <td width=200 style="border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  107.             &nbsp;</td>
  108.         <td bgcolor="#F6F6F6"
  109.             style="border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  110.             &nbsp;</td>
  111.     </tr>
  112.     <tr>
  113.         <td width=200
  114.            
  115.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  116.             &nbsp;</td>
  117.         <td bgcolor="#F6F6F6"
  118.            
  119.             style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C0C0C0">
  120.             <asp:Repeater ID="Repeater_Services" runat="server" OnItemCommand="Repeater1_ItemCommand"
  121.                 OnItemDataBound="Repeater1_ItemDataBound">
  122.                 <HeaderTemplate>
  123.                     <table>
  124.                         <tr>
  125.                             <th>
  126.                                 #
  127.                             </th>
  128.                             <th>
  129.                                Услуга
  130.                             </th>
  131.                             <th>
  132.                                 Листов
  133.                             </th>
  134.                         </tr>
  135.                 </HeaderTemplate>
  136.                 <ItemTemplate>
  137.                     <tr>
  138.                         <td>
  139.                             <asp:Label ID="Service_ID" runat="server" Text=""></asp:Label>
  140.                         </td>
  141.                         <td>
  142.                             <asp:DropDownList ID="txtISBN" runat="server" AutoPostBack="true" Visible=false>
  143.                             </asp:DropDownList>
  144.                            <%-- <asp:HiddenField ID="ServiceHF" runat="server" Value='<%# Eval("ServiceID") %>;'></asp:HiddenField>--%>
  145.                         </td>
  146.                         <td>
  147.                             <asp:TextBox Width=50 MaxLength=3 ID="sheetsCount" runat="server"  
  148.                                 Visible=false Text='<%# DataBinder.Eval(Container.DataItem, "Title") %>'></asp:TextBox>
  149.                         </td>
  150.                         <td>
  151.                             <asp:Button ID="btnAddAnother" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Button") %>'
  152.                                 CommandName='<%# DataBinder.Eval(Container.DataItem, "Button") %>' />
  153.                         </td>
  154.                     </tr>
  155.                 </ItemTemplate>
  156.                 <FooterTemplate>
  157.                     </table>
  158.                 </FooterTemplate>
  159.             </asp:Repeater>
  160.         </td>
  161.     </tr>
  162.    
  163. </table>
  164. <p class="style2">
  165.     <asp:Button ID="Button_Submit" runat="server" OnClick="Button_Submit_Click"
  166.         Text="Сохранить" Width="177px" />
  167. &nbsp;&nbsp;
  168.     <asp:Button ID="Button_Cancel" runat="server" OnClick="Button_Cancel_Click"
  169.         Text="Отмена" Width="177px" />
  170. </p>
Add Comment
Please, Sign In to add comment