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
ASP.NET 2.0
C#.NET 2.0

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

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" <kuldeep.vijayku@hotmail.com> wrote in message

news:u3TGb1foHHA.588@TK2MSFTNGP06.phx.gbl...

> How can I avoid this?

http://www.google.co.uk/search?sourceid=navclient&aq=t&hl=en-GB&ie=UT...

--
http://www.markrae.net

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