Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reload the page in OnClick method?
Message
From
14/11/2006 11:01:37
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01169184
Message ID:
01169498
Views:
7
Yes use an HTML button instead of Asp.Net button that way you can control it.

>I thought about what I said and I was wrong. Setting property CauseValidation() to false does not stop a button from posting back.
>Therefore, even if use the javascript, as you suggested, I don't seem to find a way to prevent the button from posting back. Even if I don't have a method OnClick(), the page "jumps" when I click on the button.
>
>I wonder if I am missing a way to stop the button click from posting back?
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform