Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Button Click Event Procedure being called when a Page is refreshed.

Hello All,

Visual Studio 2005
C#.NET 2.0

I have an application which has a Button click event procedure as given

protected void btn_Click(object sender, EventArgs e)


Response.Write("Test this Page");


Once I run the application and click on the button. I get the "Test this
Page" line on the page.

Now, when I debug the application with  a breakpoint being at the
Button-Click-Event-Procedure and I refresh the page (Refresh Button on the
IE), I find that the Button Click Event procedure is called again.

How can I avoid this?

Please Help.


"Kuldeep" <kuldeep.vijayku@hotmail.com> wrote in message


> How can I avoid this?



Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc