aditya immadi

aditya immadi

  • NA
  • 205
  • 71.9k

button clicknot firing

Jul 26 2013 3:45 AM
<%@ Page Title="Admin home" Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="adminhome.aspx.cs" Inherits="ApComapaign.adminhome" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

name:     <asp:TextBox runat="server" ID="txtname"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2text" runat="server"
        ControlToValidate="txtname" ErrorMessage="*" ForeColor="#FF0066"></asp:RequiredFieldValidator>
    <br />
password: <asp:TextBox runat="server" ID="txtpwd"></asp:TextBox>
    <asp:RequiredFieldValidator ID="pwd" runat="server" ControlToValidate="txtpwd"
        ErrorMessage="*" ForeColor="#FF0066"></asp:RequiredFieldValidator>
    <br />
<asp:Button  runat="server" ID="btnlogin" Text="login" onclick="btnlogin_Click"/>
<asp:Label runat="server" ID="lblmsg" Visible="false"></asp:Label>

</asp:Content>


i have a code like this and button click is not firing in thhis code can any one help me

Answers (16)