Skip to main content

Posts

Showing posts from 2015
Disable Client Side Validations in ASP.Net In order to check if all server side validations are working correct,we may need to disable all client side validations. So, In Page Load foreach (BaseValidator vValidator in Page.Validators)                 vValidator.Enabled = false;

Preventing BackSpace in Browser

PREVENTING BACK SPACE IN BROWSER       Place the javascript code in header of each page , #target in Code refers to a text box target"  style="display:none;"/>     Place this text box in  Body Section of Html Page                       On pressing back button the page focus goes to this text box