PC Review


Reply
Thread Tools Rate Thread

how can a post-back be prevented for a button?

 
 
=?Utf-8?B?c3VtYQ==?=
Guest
Posts: n/a
 
      2nd Dec 2005
my web page consists of a timer along with a number of buttons ( application
for tambola game). the timer raises an event on it's expiry time. that is
fine. but i doun't what some of the buttons to throw the post-back(refreshing
of page every time). i need only the page to refresh only when the timer
expires. but not for the (some) button clicks.

this web application is developed in asp.net present version.
 
Reply With Quote
 
 
 
 
Vadym Stetsyak
Guest
Posts: n/a
 
      2nd Dec 2005
On of the solutions can be declaring buttons that do not need to throw
postback as client ones ( do not write runat="server" ) and then control
everything from js on the client-side.

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"suma" <(E-Mail Removed)> wrote in message
news:4F548A83-18B5-41DF-ADF5-(E-Mail Removed)...
> my web page consists of a timer along with a number of buttons (
> application
> for tambola game). the timer raises an event on it's expiry time. that is
> fine. but i doun't what some of the buttons to throw the
> post-back(refreshing
> of page every time). i need only the page to refresh only when the timer
> expires. but not for the (some) button clicks.
>
> this web application is developed in asp.net present version.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
post back event for a button =?Utf-8?B?R2FsYWhhZA==?= Microsoft Dot NET 8 28th Oct 2005 06:50 PM
button and post back =?Utf-8?B?YmJkb2J1ZGR5?= Microsoft ASP .NET 4 22nd Jul 2005 11:04 PM
Back button in IE, automatic re-post/refresh? Chris Szilagyi Windows XP Internet Explorer 0 7th Jul 2004 06:05 PM
Button post back......... John Microsoft ASP .NET 1 5th Mar 2004 07:34 AM
button click does not post back Kaustav Neogy Microsoft ASP .NET 0 13th Aug 2003 09:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.