本文介绍了代码显示了textboc mssing的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Franchises.aspx.cs" Inherits="Franchises" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 50%;
        }
        .style2
        {
        }
        .style3
        {
            height: 23px;
        }
        .style5
        {
            height: 42px;
        }
        .style6
        {
            width: 50%;
            border-style: solid;
            border-width: 1px;
        }
        .style7
        {
            height: 26px;
        }
        .style8
        {
            height: 24px;
        }
        .style9
        {
            height: 40px;
        }
        .style10
        {}
        .style11
        {
            width: 156px;
        }
        .style12
        {
            height: 40px;
            width: 156px;
        }
        .style13
        {
            height: 24px;
            width: 156px;
        }
        .style14
        {
            height: 26px;
            width: 156px;
        }
    </style>
    

 <script language="javascript" type="text/javascript">
  function ValidateBtn_Click(){
     var name = document.getElementById ("<%=txtname.Clientid %>").value;
     var category = document.getElementById ("<%=ddcategory.clientid %>").value;
     var state = document.getElementById ("<%=ddstate.clientid %>").value;
     var city = document.getElementById ("<%=ddcity.clientid %>").value;
     var area = document.getElementById ("<%=ddarea.clientid %>").value;



     if(name==""){
     alert("Enter Name");
     }
    }
//      void ValidateBtn_Click(){

//          var fname = document.getElementById("<%=txtname.ClientID%>").value;
//           
//           if (fname == "") {
//             alert("First Name must be filled out");
//             document.getElementById("<%=txtname.ClientID%>").focus();
//             return false;
//         }
//          if (document.getElementById("<%=ddstate.ClientID %>").selectedIndex == 0)
//          {
//              alert("Please select Country");             
//          }
//         //if (Page.IsValid == true) {
//         //   lblOutput.Text = "Required field is filled!";
//         //}
//         //else {
//         //   lblOutput.Text = "Required field is empty!";
//         //}
//      }
//       return false;

   </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        

    </div>
    <div>
    </div>

    <div>

        <table align="left" class="style1" width="70">
            <tr>
                <td colspan="3">
                    <asp:Label ID="Label1" runat="server" Text="Personal Detail">
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label2" runat="server" Text="Name">
                </td>
                <td>
                    <asp:TextBox ID="txtname" runat="server">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 

                        ControlToValidate="txtname" ErrorMessage="*Enter Fanchises name">
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label3" runat="server" Text="Category">
                </td>
                <td>
                    <asp:DropDownList ID="ddcategory" runat="server">
                        <asp:ListItem>select
                        <asp:ListItem>LLP
                        <asp:ListItem>Properitorship
                        <asp:ListItem>Partnership
                        <asp:ListItem>Private ltd.
                        <asp:ListItem>
                    
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label4" runat="server" Text="Location">
                </td>
                <td>
                    <asp:DropDownList ID="ddstate" runat="server">
                    
                    <asp:DropDownList ID="ddcity" runat="server">
                    
                    <asp:DropDownList ID="ddarea" runat="server">
                    
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style12">
                    <asp:Label ID="Label6" runat="server" Text="Address">
                </td>
                <td class="style9">
                    <asp:TextBox ID="txtaddress" runat="server" TextMode="MultiLine">
                </td>
                <td class="style9">
                     </td>
                <td class="style9">
                     </td>
            </tr>
            <tr>
                <td colspan="3" width="50" class="style5">
                    <asp:Label ID="Label5" runat="server" Text="Contact Detail">
                </td>
                <td width="50" class="style5">
                     </td>
            </tr>
            <tr>
                <td class="style3" colspan="3">
                    <table class="style6">
                        <tr>
                            <td>
                                No.</td>
                            <td>
                                Name</td>
                            <td>
                                Email</td>
                            <td>
                                Mob.No</td>
                            <td>
                                Designation</td>
                        </tr>
                        <tr>
                            <td>
                                (1)</td>
                            <td>
                                <asp:TextBox ID="txtname1" runat="server">
                            </td>
                            <td>
                                <asp:TextBox ID="txtmail1" runat="server">
                            </td>
                            <td>
                                <asp:TextBox ID="txtmob1" runat="server">
                            </td>
                            <td>
                                <asp:TextBox ID="txtdesi1" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td class="style7">
                                (2)</td>
                            <td class="style7">
                                <asp:TextBox ID="txtname2" runat="server">
                            </td>
                            <td class="style7">
                                <asp:TextBox ID="txtmail2" runat="server">
                            </td>
                            <td class="style7">
                                <asp:TextBox ID="txtmob2" runat="server">
                            </td>
                            <td class="style7">
                                <asp:TextBox ID="txtdesi2" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                (3)</td>
                            <td>
                                <asp:TextBox ID="txtname3" runat="server">
                            </td>
                            <td>
                                <asp:TextBox ID="txtmail3" runat="server">
                            </td>
                            <td>
                                <asp:TextBox ID="txtmob3" runat="server">
                            </td>
                            <td>
                                <asp:TextBox ID="txtdesi3" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                 </td>
                            <td>
                                 </td>
                            <td>
                                 </td>
                            <td>
                                 </td>
                            <td>
                                 </td>
                        </tr>
                    </table>
                </td>
                <td class="style3">
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:Label ID="Label7" runat="server" Text="Other Detail">
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label8" runat="server" Text="PAN No.">
                </td>
                <td class="style8">
                    <asp:TextBox ID="txtpan" runat="server">
                   
                </td>
                <td class="style8">
                    <asp:Label ID="Label12" runat="server" Font-Size="Small" 

                        Text="*Upload Document">
                    <asp:Button ID="Button1" runat="server" Text="Browse" />
                   
                </td>
                <td class="style8">
                     </td>
            </tr>
            <tr>
                <td class="style14">
                    <asp:Label ID="Label9" runat="server" Text="Service Tax No.">
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtstaxno" runat="server">
                </td>
                <td class="style7">
                    <asp:Label ID="Label16" runat="server" Font-Size="Small" 

                        Text="*Upload Document">
                    <asp:Button ID="Button2" runat="server" Text="Browse" />
                </td>
                <td class="style7">
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label10" runat="server" Text="VAT No.">
                </td>
                <td>
                    <asp:TextBox ID="txtvno" runat="server">
                </td>
                <td>
                    <asp:Label ID="Label17" runat="server" Font-Size="Small" 

                        Text="*Upload Document">
                    <asp:Button ID="Button3" runat="server" Text="Browse" />
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label11" runat="server" Text="Shop Establishing Act">
                </td>
                <td>
                    <asp:TextBox ID="txtsEAct" runat="server">
                </td>
                <td>
                    <asp:Label ID="Label15" runat="server" Text="*Upload Document" 

                        Font-Size="Small">
                    <asp:Button ID="Button6" runat="server" Text="Browse" />
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                     </td>
                <td>
                     </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:Label ID="Label18" runat="server" Text="Bank Detail">
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label19" runat="server" Text="Bank Name">
                </td>
                <td>
                    <asp:TextBox ID="txtbankname" runat="server">
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label20" runat="server" Text="Acc Name">
                </td>
                <td>
                    <asp:TextBox ID="txtaccname" runat="server">
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label21" runat="server" Text="Acct No.">
                </td>
                <td>
                    <asp:TextBox ID="txtaccno" runat="server">
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label22" runat="server" Text="IFSC Code">
                </td>
                <td>
                    <asp:TextBox ID="txtifsccode" runat="server">
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:Label ID="Label23" runat="server" Text="Bank Address">
                </td>
                <td>
                    <asp:TextBox ID="txtbaddress" runat="server" TextMode="MultiLine">
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                     </td>
                <td>
                     </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:Label ID="Label24" runat="server" Text="Service Detail">
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <table align="center" class="style1">
                        <tr>
                            <td>
                                <asp:CheckBoxList ID="CheckBoxList1" runat="server">
                                    <asp:ListItem>service1
                                    <asp:ListItem>service2
                                    <asp:ListItem>service3
                                    <asp:ListItem>service4
                                
                            </td>
                            <td class="style10">
                                <asp:CheckBoxList ID="CheckBoxList2" runat="server">
                                    <asp:ListItem>service5
                                    <asp:ListItem>service6
                                    <asp:ListItem>service7
                                    <asp:ListItem>service8
                                
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:Label ID="Label25" runat="server" Text="Validity from">
     
                    <asp:TextBox ID="txtfrom" runat="server">
  
                    <asp:CalendarExtender ID="CalendarExtender1" runat="server"  PopupButtonID="txtfrom" TargetControlID="txtfrom">
                    
                    <asp:Label ID="Label26" runat="server" Text="to">
 
                    <asp:TextBox ID="txtto" runat="server"><asp:CalendarExtender ID="CalendarExtender2"

                        runat="server" TargetControlID="txtto">
                    
 </td>
                  <td class="style2">
                     </td>
                </tr>

            <tr>
                <td class="style2" colspan="3">
                    <asp:Label ID="Label27" runat="server" Text="Upload Service Agreement">
   <asp:TextBox ID="txtsagreement" runat="server">
 <asp:Button ID="Button4" runat="server" Text="Browse" />
                </td>
                <td class="style2">
                     </td>
                </tr>

            <tr>
                <td class="style2" colspan="3">
                     </td>
                <td class="style2">
                     </td>
                </tr>

            <tr>
                <td class="style2" colspan="3">
                    <table align="center" class="style6">
                        <tr>
                            <td class="style3">
                                <asp:Label ID="Label28" runat="server" Text="User Id">
                            </td>
                            <td class="style3">
                                <asp:TextBox ID="txtuid" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label29" runat="server" Text="Password">
                            </td>
                            <td>
                                <asp:TextBox ID="txtpwd" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label30" runat="server" Text="ReEnter Password">
                            </td>
                            <td>
                                <asp:TextBox ID="txtrpwd" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                 </td>
                            <td>
                                 </td>
                        </tr>
                    </table>
                </td>
                <td class="style2">
                     </td>
                </tr>

            <tr>
                <td class="style11">
                     </td>
                <td>
                    <asp:Button ID="Button5" runat="server" Text="Submit" OnClick ="return ValidateBtn_Click()"/>
                
                 </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
        </table>

    </div>
    </form>
</body>
</html>

推荐答案


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Franchises.aspx.cs" Inherits="Franchises" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">

    <title></title>
    <style type="text/css">
        .style1
        {
            width: 50%;
        }
        .style2
        {
        }
        .style3
        {
            height: 23px;
        }
        .style5
        {
            height: 42px;
        }
        .style6
        {
            width: 50%;
            border-style: solid;
            border-width: 1px;
        }
        .style7
        {
            height: 26px;
        }
        .style8
        {
            height: 24px;
        }
        .style9
        {
            height: 40px;
        }
        .style10
        {}
        .style11
        {
            width: 156px;
        }
        .style12
        {
            height: 40px;
            width: 156px;
        }
        .style13
        {
            height: 24px;
            width: 156px;
        }
        .style14
        {
            height: 26px;
            width: 156px;
        }
    </style>
    
 
 <script language="javascript" type="text/javascript">
     function ValidateBtn_Click() {
         var name = document.getElementById("<%=txtname.ClientID %>").value;
         var category = document.getElementById("<%=ddcategory.ClientID %>").value;
         var state = document.getElementById("<%=ddstate.ClientID %>").value;
         var city = document.getElementById("<%=ddcity.ClientID %>").value;
         var area = document.getElementById("<%=ddarea.ClientID %>").value;



         if (name == "") {
             alert("Enter Name");
         }
     }
     //      void ValidateBtn_Click(){

     //          var fname = document.getElementById("<%=txtname.ClientID%>").value;
     //           
     //           if (fname == "") {
     //             alert("First Name must be filled out");
     //             document.getElementById("<%=txtname.ClientID%>").focus();
     //             return false;
     //         }
     //          if (document.getElementById("<%=ddstate.ClientID %>").selectedIndex == 0)
     //          {
     //              alert("Please select Country");             
     //          }
     //         //if (Page.IsValid == true) {
     //         //   lblOutput.Text = "Required field is filled!";
     //         //}
     //         //else {
     //         //   lblOutput.Text = "Required field is empty!";
     //         //}
     //      }
     //       return false;

   </script>
</head>
<body>
    <form id="form2" runat="server">
    
        <asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown"></asp:scriptmanager>
    <div>
 
        
 
    </div>
    <div>
    </div>
 
    <div>
 
        <table align="left" class="style1" width="70">
            <tr>
                <td colspan="3">
                    <asp:label id="Label1" runat="server" text="Personal Detail" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label2" runat="server" text="Name" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtname" runat="server" xmlns:asp="#unknown"></asp:textbox>
                    <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" xmlns:asp="#unknown">
                        ControlToValidate="txtname" ErrorMessage="*Enter Fanchises name"></asp:requiredfieldvalidator>
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label3" runat="server" text="Category" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:dropdownlist id="ddcategory" runat="server" xmlns:asp="#unknown">
                        <asp:listitem>select</asp:listitem>
                        <asp:listitem>LLP</asp:listitem>
                        <asp:listitem>Properitorship</asp:listitem>
                        <asp:listitem>Partnership</asp:listitem>
                        <asp:listitem>Private ltd.</asp:listitem>
                        <asp:listitem></asp:listitem>
                        </asp:dropdownlist>
                    
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label4" runat="server" text="Location" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:dropdownlist id="ddstate" runat="server" xmlns:asp="#unknown"></asp:dropdownlist>
                    
                    <asp:dropdownlist id="ddcity" runat="server" xmlns:asp="#unknown"></asp:dropdownlist>
                    
                    <asp:dropdownlist id="ddarea" runat="server" xmlns:asp="#unknown"></asp:dropdownlist>
                    
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style12">
                    <asp:label id="Label6" runat="server" text="Address" xmlns:asp="#unknown"></asp:label>
                </td>
                <td class="style9">
                    <asp:textbox id="txtaddress" runat="server" textmode="MultiLine" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td class="style9">
                     </td>
                <td class="style9">
                     </td>
            </tr>
            <tr>
                <td colspan="3" width="50" class="style5">
                    <asp:label id="Label5" runat="server" text="Contact Detail" xmlns:asp="#unknown"></asp:label>
                </td>
                <td width="50" class="style5">
                     </td>
            </tr>
            <tr>
                <td class="style3" colspan="3">
                    <table class="style6">
                        <tr>
                            <td>
                                No.</td>
                            <td>
                                Name</td>
                            <td>
                                Email</td>
                            <td>
                                Mob.No</td>
                            <td>
                                Designation</td>
                        </tr>
                        <tr>
                            <td>
                                (1)</td>
                            <td>
                                <asp:textbox id="txtname1" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td>
                                <asp:textbox id="txtmail1" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td>
                                <asp:textbox id="txtmob1" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td>
                                <asp:textbox id="txtdesi1" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                        </tr>
                        <tr>
                            <td class="style7">
                                (2)</td>
                            <td class="style7">
                                <asp:textbox id="txtname2" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td class="style7">
                                <asp:textbox id="txtmail2" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td class="style7">
                                <asp:textbox id="txtmob2" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td class="style7">
                                <asp:textbox id="txtdesi2" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                (3)</td>
                            <td>
                                <asp:textbox id="txtname3" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td>
                                <asp:textbox id="txtmail3" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td>
                                <asp:textbox id="txtmob3" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                            <td>
                                <asp:textbox id="txtdesi3" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                 </td>
                            <td>
                                 </td>
                            <td>
                                 </td>
                            <td>
                                 </td>
                            <td>
                                 </td>
                        </tr>
                    </table>
                </td>
                <td class="style3">
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:label id="Label7" runat="server" text="Other Detail" xmlns:asp="#unknown"></asp:label>
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:label id="Label8" runat="server" text="PAN No." xmlns:asp="#unknown"></asp:label>
                </td>
                <td class="style8">
                    <asp:textbox id="txtpan" runat="server" xmlns:asp="#unknown"></asp:textbox>
                   
                </td>
                <td class="style8">
                    <asp:label id="Label12" runat="server" font-size="Small" xmlns:asp="#unknown">
                        Text="*Upload Document" ></asp:label>
                    <asp:button id="Button1" runat="server" text="Browse" xmlns:asp="#unknown" />
                   
                </td>
                <td class="style8">
                     </td>
            </tr>
            <tr>
                <td class="style14">
                    <asp:label id="Label9" runat="server" text="Service Tax No." xmlns:asp="#unknown"></asp:label>
                </td>
                <td class="style7">
                    <asp:textbox id="txtstaxno" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td class="style7">
                    <asp:label id="Label16" runat="server" font-size="Small" xmlns:asp="#unknown">
                        Text="*Upload Document" ></asp:label>
                    <asp:button id="Button2" runat="server" text="Browse" xmlns:asp="#unknown" />
                </td>
                <td class="style7">
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label10" runat="server" text="VAT No." xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtvno" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td>
                    <asp:label id="Label17" runat="server" font-size="Small" xmlns:asp="#unknown">
                        Text="*Upload Document" ></asp:label>
                    <asp:button id="Button3" runat="server" text="Browse" xmlns:asp="#unknown" />
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label11" runat="server" text="Shop Establishing Act" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtsEAct" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td>
                    <asp:label id="Label15" runat="server" text="*Upload Document" xmlns:asp="#unknown">
                        Font-Size="Small" ></asp:label>
                    <asp:button id="Button6" runat="server" text="Browse" xmlns:asp="#unknown" />
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                     </td>
                <td>
                     </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:label id="Label18" runat="server" text="Bank Detail" xmlns:asp="#unknown"></asp:label>
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label19" runat="server" text="Bank Name" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtbankname" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label20" runat="server" text="Acc Name" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtaccname" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label21" runat="server" text="Acct No." xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtaccno" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label22" runat="server" text="IFSC Code" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtifsccode" runat="server" xmlns:asp="#unknown"></asp:textbox>
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                    <asp:label id="Label23" runat="server" text="Bank Address" xmlns:asp="#unknown"></asp:label>
                </td>
                <td>
                    <asp:textbox id="txtbaddress" runat="server" textmode="MultiLine" xmlns:asp="#unknown">
                    ></asp:textbox>
                </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style11">
                     </td>
                <td>
                     </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:label id="Label24" runat="server" text="Service Detail" xmlns:asp="#unknown"></asp:label>
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <table align="center" class="style1">
                        <tr>
                            <td>
                                <asp:checkboxlist id="CheckBoxList1" runat="server" xmlns:asp="#unknown">
                                    <asp:listitem>service1</asp:listitem>
                                    <asp:listitem>service2</asp:listitem>
                                    <asp:listitem>service3</asp:listitem>

                                    <asp:listitem>service4</asp:listitem>
                                    </asp:checkboxlist>
                                
                            </td>
                            <td class="style10">
                                <asp:checkboxlist id="CheckBoxList2" runat="server" xmlns:asp="#unknown">
                                    <asp:listitem>service5</asp:listitem>
                                    <asp:listitem>service6</asp:listitem>
                                    <asp:listitem>service7</asp:listitem>
                                    <asp:listitem>service8</asp:listitem>
                                     </asp:checkboxlist>
                                
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="style2">
                     </td>
            </tr>
            <tr>
                <td class="style2" colspan="3">
                    <asp:label id="Label25" runat="server" text="Validity from" xmlns:asp="#unknown"></asp:label>
     
                    <asp:textbox id="txtfrom" runat="server" xmlns:asp="#unknown" />
  
                  <asp:calendarextender id="CalendarExtender1" runat="server" popupbuttonid="txtfrom" targetcontrolid="txtfrom" xmlns:asp="#unknown"></asp:calendarextender>
                   
                    <asp:label id="Label26" runat="server" text="to" xmlns:asp="#unknown"></asp:label>
 
                    <asp:textbox id="txtto" runat="server" xmlns:asp="#unknown"></asp:textbox>
                 <asp:calendarextender id="CalendarExtender2" xmlns:asp="#unknown">
                        runat="server" TargetControlID="txtto"></asp:calendarextender> 
                    
 </td>
                  <td class="style2">
                     </td>
                </tr>
 
            <tr>
                <td class="style2" colspan="3">
                    <asp:label id="Label27" runat="server" text="Upload Service Agreement" xmlns:asp="#unknown"></asp:label>
   <asp:textbox id="txtsagreement" runat="server" xmlns:asp="#unknown"></asp:textbox>
 <asp:button id="Button4" runat="server" text="Browse" xmlns:asp="#unknown" />
                </td>
                <td class="style2">
                     </td>
                </tr>
 
            <tr>
                <td class="style2" colspan="3">
                     </td>
                <td class="style2">
                     </td>
                </tr>
 
            <tr>
                <td class="style2" colspan="3">
                    <table align="center" class="style6">
                        <tr>
                            <td class="style3">
                                <asp:label id="Label28" runat="server" text="User Id" xmlns:asp="#unknown"></asp:label>
                            </td>
                            <td class="style3">
                                <asp:textbox id="txtuid" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:label id="Label29" runat="server" text="Password" xmlns:asp="#unknown"></asp:label>
                            </td>
                            <td>
                                <asp:textbox id="txtpwd" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:label id="Label30" runat="server" text="ReEnter Password" xmlns:asp="#unknown"></asp:label>
                            </td>
                            <td>
                                <asp:textbox id="txtrpwd" runat="server" xmlns:asp="#unknown"></asp:textbox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                 </td>
                            <td>
                                 </td>
                        </tr>
                    </table>
                </td>
                <td class="style2">
                     </td>
                </tr>
 
            <tr>
                <td class="style11">
                     </td>
                <td>
                    <asp:button id="Button5" runat="server" text="Submit" onclientclick="returns ValidateBtn_Click()" xmlns:asp="#unknown" />
                
                 </td>
                <td>
                     </td>
                <td>
                     </td>
            </tr>
        </table>
 
    </div>
    </form>
</body>
</html> 


这篇关于代码显示了textboc mssing的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 08:29