SIMPLE QUESTION

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a web form

<form method="post" runat="server" id="PromotionForm">
and some textboxes
and
<asp:button id="Button3" runat="server" Text="Update"></asp:button>

When i run my web application pressing f5 and hitting Update Button it does
nothing Though I have
Response.Write ("sa");

Response.End ();

if (Page.IsPostBack)

{



Response.Write ("sa");

Response.End ();


}



code block in my Page_Load event handler.. What can cause it ?
 
Ok I found my stupid mistake

added that line and it worked ;)

this.Load += new System.EventHandler(this.Page_Load);
 
Back
Top