SIMPLE QUESTION

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 ?
 
G

Guest

Ok I found my stupid mistake

added that line and it worked ;)

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top