Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Page postback

Tags:

c#

asp.net

Is it possible to stop the page postback on any click event based on some validation

like image 978
Bala Avatar asked May 28 '26 15:05

Bala


1 Answers

You can use client side validation of different kinds. With ASP.NET WebForms, the easiest way would probably be the built in validators (e.g: RequiredFieldValidator).

like image 82
SirDemon Avatar answered May 31 '26 05:05

SirDemon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!