<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ManualScriptED.aspx.cs" Inherits="ConvertApp.ManualScriptED" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
     <script type="text/javascript">
 
      function CopyToClipboard()
      {
         
          var copyText = document.getElementById('<%=TextBoxoutput.ClientID%>');

          /* Select the text field */
          copyText.select();
          copyText.setSelectionRange(0, 99999); /*For mobile devices*/

          /* Copy the text inside the text field */
          document.execCommand("copy");

       }
 
 

</script> 
     <div style="margin-top:30px;margin-left: 25px;">
        <div class="row">
            <div class="col-md-2">
                        <p style="font-weight: bold; font-size: 12px">Select Exception Type</p>
<p style="font-size: 13px">
    <asp:DropDownList ID="DropDownListException" runat="server" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="DropDownListException_SelectedIndexChanged"></asp:DropDownList>
    </p>
              </div>
          <div class="col-md-2">
                        <p style="font-weight: bold; font-size: 12px">Select Business Process</p>
<p style="font-size: 13px">
    <asp:DropDownList ID="DropDownListBusProc" runat="server" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="DropDownListBusProc_SelectedIndexChanged"></asp:DropDownList>
    </p>
              </div>
        <div class="col-md-2">
            <p style="font-weight: bold; font-size: 12px">Select Program</p>
            <p style="font-size: 13px">
    <asp:DropDownList ID="DropDownListProg" runat="server" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="DropDownListProg_SelectedIndexChanged"></asp:DropDownList>
                </p>
            </div>
            <div class="col-md-2">
            <p style="font-weight: bold; font-size: 12px">Select SQL No.</p>
            <p style="font-size: 13px">
    <asp:DropDownList ID="DropDownListsqlno" runat="server" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="DropDownListsqlno_SelectedIndexChanged"></asp:DropDownList>
                </p>
            </div>
        <div class="col-md-3">
    <asp:Button ID="ButtonGo" runat="server" Text="GO" class="btn btn-primary" style="margin-top: 25px;" OnClick="ButtonGo_Click" />
    <asp:Button ID="Button2" runat="server" Text="PREV" class="btn btn-primary" style="margin-top: 25px;" />

    <asp:Button ID="Button3" runat="server" Text="NEXT" class="btn btn-primary" style="margin-top: 25px;" />

</div>
    </div>
        </div>
    <div style="background-color: gray;color: #fff;height: 315px;width:1120px;margin: 0px auto;padding: 5px; margin-top:25px;overflow-y: auto; ">
  <%--<div style="background-color: #efefef;color: #000;width: 48%;float: left;">
        <asp:TextBox ID="TextBoxinput" runat="server" TextMode="MultiLine" Rows="20"  style ="resize:none; min-width: 100%; max-width:550px;" placeholder="Text Input" OnTextChanged="TextBoxinput_TextChanged" AutoPostBack="true"></asp:TextBox>
       </div>--%>
    
    <div style="background-color: #efefef;color: #000;width: 100%;">
    
        <asp:TextBox ID="TextBoxoutput" runat="server" TextMode="MultiLine" Rows="15"  style ="resize:none;  min-width: 100%; max-width:550px;"></asp:TextBox>
  
    </div>
        
        
  </div>

  <%----------------------------------------------------------------MODAL--------------------------------------------%>
    <div id="myModal" class="modal fade" role="dialog">
        <div class="modal-dialog" style="width: 1100px;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">
                        &times;</button>
                    
                </div>
                <div class="modal-body">
                <asp:GridView ID="GridView1" runat="server" Font-Size="12px" CssClass="table card-table table-striped table-vcenter text-nowrap" ShowHeader="false">
        <Columns>
           
        </Columns>
    </asp:GridView>
                </div>
                
            </div>
        </div>
    </div>
    <%--------------------------------------------------------------END-------------------------------------------- --%>
    <div style="width:1120px;text-align:center">
    <asp:Button ID="Buttonvwsyscode" runat="server" Text="VIEW SYSTEM CODE" class="btn btn-primary" style="margin-top: 25px;" OnClick="Buttonvwsyscode_Click" />

    <asp:Button ID="Buttongetsyscode" runat="server" Text="GET SYSTEM CODE" class="btn btn-primary" style="margin-top: 25px;" OnClick="Buttongetsyscode_Click"/>
    <asp:Button ID="Buttoncopytoclpbrd" runat="server" Text="COPY TO CLIPBOARD" class="btn btn-primary" style="margin-top: 25px;" OnClientClick="CopyToClipboard()"  />

    
    <asp:Button ID="ButtonReset" runat="server" Text="BACK TO LATEST CODE" class="btn btn-primary" style="margin-top: 25px;" OnClick="ButtonReset_Click" />
        <asp:Button ID="Buttonsav" runat="server" Text="SAVE" class="btn btn-primary disabled" style="margin-top: 25px;" OnClick="Buttonsav_Click" />

        </div>
</asp:Content>
