<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Sample_Transliteration.WebForm1" %>
<%@ Register assembly="GistTranslitrationCtrl" namespace="Com.Cdacindia.Gist.TranslitrationCtrl" tagprefix="GistTransCtrl" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Sample Page for Transliteration Typing</title>
</head>
<body style="width: 582px">
    <form id="form1" runat="server">
    <div>
        <h1>Sample Form with PostBack Page</h1>
         
        <table style="width:100%">
            <tr>
                 <td>
                    <label> Choose Language:- </label>
                 </td>
                <td>
                    <asp:DropDownList ID="DropDownLangList" runat="server" AutoPostBack="true" OnTextChanged="DropDownLangList_TextChanged">
                    </asp:DropDownList>
                 </td>
                <td>
                  <asp:Button ID="btnFloatingKeyboard" runat="server" Text="Floating Keyboard" OnClick="btnFloatingKeyboard_Click" />
                </td>
            </tr>   
            <tr>
                 <td>
                 </td>
                <td>
                </td>
            </tr>   
            <tr>
                 <td>
                    <label> Name:- </label>
                 </td>
                <td>
                    <asp:TextBox ID="txtName" runat="server" Width="255px"></asp:TextBox>
                </td>
            </tr>   
            <tr>
                 <td>
                    <label> SurName:- </label>
                 </td>
                <td>
                    <asp:TextBox ID="txtSurName" runat="server" Width="255px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                 <td>
                    <label>Address:- 
                     
                     <GistTransCtrl:GistTransServerControl ID="GistTransServerControl1" runat="server" CDACDestinationLanguage="ENGLISH">
                         <ServerControlsToEnable>
                             <GistTransCtrl:EnableTyping Source="txtName" Target="null" TransType="NAME" />
                             <GistTransCtrl:EnableTyping Source="txtSurName" Target="null" TransType="NAME" />
                             <GistTransCtrl:EnableTyping Source="txtAddress" Target="null" TransType="ADDRESS" />
</ServerControlsToEnable>
                     </GistTransCtrl:GistTransServerControl>
                     
                     </label>
                 </td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" height= "80px" Width="255px" TextMode="Multiline"></asp:TextBox>
                </td>
            </tr>
            <tr>
                 <td>
                 </td>
                <td>
                    
                </td>
            </tr>
             
        </table>
     
    </div>
    </form>
</body>
</html>
