Friday, 6 December 2013

How to disable back button in browser

Add  onload="noBack();" onpageshow="if (event.persisted) noBack();" on body tag. Example : <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server">    <title>Untitled Page</title></head><body...

Monday, 2 December 2013

prevent page refresh on button click in asp.net c#

.aspx code <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">     <title>Ajax Update panel</title> </head> <body>     <form id="form1" runat="server">     <div>  ...