Category: ASP.Net

How to choose from Viewstate, SessionState, Cookies and Cache

Web applications are stateless, means once a web page is rendered from server to client, nothing in the page remains on server and the next time user submits the page, the page will be called and created from scratch. ASP.NET provides following solutions to solve this problem: 1- Viewstate 2- Session Variables 3- Application Variables 4- Cache 5- Cookies Now… Read more →

jQuery Validation

<!DOCTYPE html> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <title>Validation</title> <link href=”http://cdnjs.cloudflare.com/ajax/libs/jQuery-Validation-Engine/2.6.4/validationEngine.jquery.css” rel=”stylesheet” /> <script src=”http://cdnjs.cloudflare.com/ajax/libs/jQuery-Validation-Engine/2.6.4/jquery-1.8.2.min.js”></script> <script src=”http://cdnjs.cloudflare.com/ajax/libs/jQuery-Validation-Engine/2.6.4/languages/jquery.validationEngine-en.js”></script> <script src=”http://cdnjs.cloudflare.com/ajax/libs/jQuery-Validation-Engine/2.6.4/jquery.validationEngine.js”></script> <script type=”text/javascript” src=”http://cdn.b3website.com/jquery-inputmask/jquery.inputmask.bundle.min.js”></script> <script type=”text/javascript”> $(document).ready(function () { jQuery(“#MyForm”).validationEngine(); }); </script> </head> <body> <form id=”MyForm” class=”formular” method=”post”> <br /><br /><br /> <input id=”Text1″ type=”text” class=”validate[required,custom[integer],max[50]] text-input” /><br /><br /> <input id=”Text2″ type=”text” class=”validate[required] text-input” /><br /><br /> <input id=”Text3″ type=”text” class=”validate[required] text-input” /><br /><br… Read more →