Geeks With Blogs
Daily dotnet {notes on codes} April 2010 Entries
Multiple validation using jquery
<script type="text/javascript"> $(document).ready( function() { $("input[id$='btnOK']").cli... { $("#form1").validate({ rules: { txtName: { required: true }, txtEmail: { required: true, email: true }, txtPostalAddress: { required: true, maxlength: 50 } }, messages: {}, onsubmit: true }); }); $("input[id$='Button1']").c... { $("#form1").validate({ rules: { txtName: { required: true } }, messages: {}, onsubmit: true }); }); }); </script> ......

Posted On Wednesday, April 28, 2010 10:44 PM

Include jQuery in Master page

use this piece of code, else we suffer....:)

<script src='<%=ResolveUrl("~/_scripts/jquery-1.2.6.min.js" ) %>' type="text/javascript"></script>

Posted On Tuesday, April 27, 2010 7:46 PM

Login screen appears even if logged in
HEHE it's a stupid problem, for those who care place the following on the load event of the master page or default Response.AppendHeader("Cach... "no-cache"); //HTTP 1.1 Response.AppendHeader("Cach... "private"); // HTTP 1.1 Response.AppendHeader("Cach... "no-store"); // HTTP 1.1 Response.AppendHeader("Cach... "must-revalidate"); // HTTP 1.1 Response.AppendHeader("Cach... "max-stale=0"); // HTTP 1.1 Response.AppendHeader("Cach... "post-check=0"); // ......

Posted On Thursday, April 22, 2010 6:09 PM

Copyright © Prasenjit | Powered by: GeeksWithBlogs.net