<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ProblemResponse.aspx.cs" Inherits="TEC_Forms_ProblemResponse" Title="<%$ Resources: SiteMapLocalizations, TEC_Forms_ProblemResponse %>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script language="javascript" type="text/javascript" src="/SEST/Script/OpenSubPage.js">
        // open sub page
    </script>
<center>
<%--<input type="file" id="aa" />
--%><table id="TABLE1" cellpadding="0" cellspacing="0" style="background-color: #c4e1f1; border: solid 3px #3399ff">
        <tr>
            <td class="titleRow" colspan="2">
                <asp:Label ID="lblTitle" runat="server" Text="<%$ Resources: Universal, Msg_Title_NewIssue %>"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 100px; height: 22px;" class="whiteEdge">
                <asp:Label ID="Label7" runat="server" Text="<%$ Resources: Universal, ProblemSource %>"></asp:Label></td>
            <td align="left" style="width: 428px; height: 22px;" class="whiteEdge">
                <asp:DropDownList ID="ddlProblemSource" runat="server" Width="388px">
                    <asp:ListItem Text="oncall" Value="oncall" Selected="True"></asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="txtApplicant" 
                    ValidationGroup="ValidationControls" runat="Server" ErrorMessage="<%$ Resources: Universal, Msg_Remind_Writer %>">*</asp:RequiredFieldValidator>
            </td></tr>
        <tr>
            <td style="width: 100px;" class="whiteEdge">
                <asp:Label ID="Label1" runat="server" Text="<%$ Resources: Universal, Msg_Writer %>"></asp:Label></td>
            <td align="left" style="width: 428px" class="whiteEdge">
                <asp:TextBox ID="txtApplicant" runat="server" Width="388px" OnPreRender="txtApplicant_PreRender"></asp:TextBox>
<%--                <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlApplicant" Target="_blank" runat="Server"></asp:HyperLink>
--%>                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtApplicant" 
                    ValidationGroup="ValidationControls" runat="Server" ErrorMessage="<%$ Resources: Universal, Msg_Remind_Writer %>">*</asp:RequiredFieldValidator>
            </td></tr>
        <tr>
            <td style="width: 100px" class="whiteEdge">
                <asp:Label ID="Label5" runat="server" Text="<%$ Resources: Universal, Comm_FABID %>"></asp:Label></td>
            <td align="left" style="width: 428px" class="whiteEdge">
                <asp:TextBox ID="txtFABID" runat="server" Width="388px"></asp:TextBox>
                <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlFABID" Target="_blank" runat="Server"></asp:HyperLink>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtFABID" 
                    ValidationGroup="ValidationControls" runat="Server" ErrorMessage="<%$ Resources: Universal, Msg_Remind_FABID %>">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 100px" class="whiteEdge">
                <asp:Label ID="Label2" runat="server" Text="<%$ Resources: Universal, SES_ToolNo %>"></asp:Label></td>
            <td align="left" style="width: 428px" class="whiteEdge">
                <asp:TextBox ID="txtSESToolNo" runat="server" Width="388px"></asp:TextBox>
                <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlToolID" Target="_blank" runat="Server"></asp:HyperLink>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtSESToolNo" 
                    ValidationGroup="ValidationControls" runat="Server" ErrorMessage="<%$ Resources: Universal, Msg_Remind_SES_ToolNo %>">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 100px" class="whiteEdge">
                <asp:Label ID="Label3" runat="server" Text="<%$ Resources: Universal, ProblemDescription %>"></asp:Label></td>
            <td align="left" style="width: 428px" class="whiteEdge">
                <asp:TextBox ID="txtDescription" runat="server" Rows="5" TextMode="MultiLine" Width="388px" Height="116px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 100px" class="whiteEdge">
                <asp:Label ID="Label4" runat="server" Text="<%$ Resources: Universal, WorksList_RootCause %>"></asp:Label></td>
            <td align="left" style="width: 428px;" class="whiteEdge">
                <asp:TextBox ID="txtRootCause" runat="server" Rows="5" TextMode="MultiLine" Width="388px" Height="116px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 100px" class="whiteEdge">
                <asp:Label ID="Label6" runat="server" Text="<%$ Resources: Universal, Msg_AttachFile %>"></asp:Label></td>
            <td id="tdMyFiles" align="left" style="width: 428px" class="whiteEdge" runat="Server">
                <asp:FileUpload ID="FileSaveToServer" runat="Server" Width="388px"/></td>
        </tr>
        <tr>
            <td colspan="2" class="bottomRow" align="center">
                <asp:Button ID="btnSubmit" runat="server" Text="<%$ Resources: Universal, Data_Submit %>" ValidationGroup="ValidationControls" 
                     OnClick="btnSubmit_Click" />
<%--                <asp:Button ID="btnReset" runat="server" Text="<%$ Resources: Universal, Data_Reset %>" />
--%>        </td>
        </tr>
    </table>
    
    
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" TypeName="Common_FilesStorageData"
        SelectMethod="Select" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" 
        UpdateMethod="Update" DeleteMethod="Delete" >
        <InsertParameters>
            <asp:Parameter Name="WorkID" Type="String" />
            <asp:Parameter Name="ExpectStartDate" Type="String" />
            <asp:Parameter Name="ExpectEndDate" Type="String" />
            <asp:Parameter Name="Responsibility" Type="String" />
            <asp:Parameter Name="GroupName" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="ExpectStartDate" Type="String" />
            <asp:Parameter Name="ExpectEndDate" Type="String" />
            <asp:Parameter Name="Responsibility" Type="String" />
            <asp:Parameter Name="original_WorkID" Type="String" />
            <asp:Parameter Name="original_ExpectStartDate" Type="String" />
        </UpdateParameters>
        <DeleteParameters>
            <asp:Parameter Name="original_FilesStorageID" Type="String" />
        </DeleteParameters>
        <SelectParameters>
            <asp:Parameter Name="PageName" DefaultValue="MainWorks" Type="String" />
            <asp:QueryStringParameter Name="PageKeys" QueryStringField="WorkID" DefaultValue="NoWorkID" Type="String" />
        </SelectParameters>
        </asp:ObjectDataSource>


<asp:ValidationSummary ID="ValidationSummary2" runat="server" ShowMessageBox="True"
         ShowSummary="False" ValidationGroup="ValidationControls" />
</center>
</asp:Content>

