Asp.Net Tutorial - Getting Started with Asp.Net
asp.net 4.5 4.0 3.5 tutorial, asp.net tutorial for beginners,asp.net recipes,asp.net tips, asp.net tricks, asp.net tips & tricks, asp.net internal,asp.net fresh tips, asp.net latest tutorial
Turn off Asp.net Custom Errors in Web.config
Posted By : Shailendra Chauhan, 01 Oct 2012
Updated On : 01 Oct 2012
Version Support : Asp.Net 2.0,3.5,4.0,4.5
Keywords : disable asp.net custom errors in web.config,server error in '/' application,get detailed information about errors in asp.net pages,custom errors and error details mode,custom error in web.config
Some times after hosting web application on the server, we get unexpected error as shown in the below fig. But we did get the detailed message for the unexpected errror. In this article, I would like to share how can we get detailed message for the unexpected error.
Disable right click on web page and images
Posted By : Shailendra Chauhan, 14 Sep 2012
Updated On : 18 Sep 2012
Keywords : disable right click context menu on images,No right click on images, stop right click on images, stop images from being copied, disable right click context menu on web page, prevent right click on web
Sometimes it is required to prevent your web page images from being copied by another one. You can secure your images by disabling right click or by disabling image context menu on images only. This is an effective approach to prevent your images from being copied or stolen.
Stop auto-fill in browsers for textbox
Posted By : Shailendra Chauhan, 26 Aug 2012
Keywords : stop auto-complete in browser for textbox or form by programming,prevent auto-fill in browser,prevent auto-complete,hide auto-fill,hide auto-complete in browser
Today’s browsers like Chrome, Firefox, Internet Explorer and Safari has functionality of auto complete values in TextBoxes. If you have enabled this features in your browser, then each and every time when you start to enter value in TextBox you get a drop down of prefilled values in that TextBox.
Difference between disabled and read only attributes
Posted By : Shailendra Chauhan, 21 Jul 2012
Updated On : 20 Jul 2012
Keywords : CSS for disabled or readonly inputs fields,disabled and readonly attributes,disabled vs readonly attribute, disabled or readonly attribute,readonly and disabled in asp.net
Sometimes, we required to display form fields in non-editable mode. We can achieve this functionality by setting read-only or disabled attribute to form fields (textbox, label, checkbox, text area). Before using both these attributes, we should understand the key differences between read only and disabled attributes.
Validate ListBox and DropDown List using Required Field Validator
Posted By : Shailendra Chauhan, 17 Jun 2012
Updated On : 17 Jun 2012
Keywords : list box combo box dropdown list validation using required field,required field to validate list box combo box dropdown list, show message select a value in list box dropdown pdf
In Asp.net, sometimes we need to validate ListBox and DropDown List using Required field validator. It is tricky and avoids the use of JavaScript function to validate ListBox and DropDown List. Here I am sharing the code.
Do proper alignment of validator control's error messages using Display property
Posted By : Shailendra Chauhan, 17 Jun 2012
Updated On : 17 Jun 2012
Keywords : Use of display dynamic in validator control, proper align error messages of validator controls, display dynamic error messages, vaidator controls pdf
In Asp.net, sometimes we need to validate a TextBox and its input by more than one validator controls. Suppose you Want to validate a TextBox that must contain a valid Email address then we required two validator controls - Required Field and Regular Expression as shown below:
Difference between document.ready and window.onload or pageLoad
Posted By : Shailendra Chauhan, 12 Jun 2012
Updated On : 14 Jul 2012
Keywords : document.ready vs window.onload, when to use document.ready window.onload, document.ready vs pageLoad, document.ready and pageLoad pdf
We think pageLoad() and jQuery’s $(document).ready() events do the same. Both methods seem too similar in simple demo example. But $(document).ready() and pageLoad() methods are very much differ in functioning.In this article, I will explain the major differences between $(document).ready() and pageLoad() methods.
Asp.net Enter Key to submit form
Posted By : Shailendra Chauhan, 07 Jun 2012
Updated On : 19 Jul 2012
Keywords : asp.net submit form on enter key,asp.net defaultbutton,post form on enter key,press submit button on enter key, enter key for form postback pdf
Suppose, you want to press/click submit button on Enter key press or you are trying to post the form on Enter key press. In asp.net, to achieve this functionality we need to set "Defaultbutton" property either in Form or in panel.
Asp.Net asynchronous file upload using jquery
Posted By : Shailendra Chauhan, 29 May 2012
Updated On : 14 Sep 2012
Keywords : asynchronous file upload using jquery,file upload using jquery,asynchronous file upload with jquery,ajax file upload,file upload in asp.net using jquery,file upload with jquery pdf
In Asp.net ajax, we have AsyncFileUpload control for uploading files asynchronounsly. If you are using JQuery with in your Asp.net application, then using microsoft ajax AsyncFileUpload control is not a good practice to upload files asynchronounsly. Form Last couples of days I was trying to upload and delete files asynchronounsly using JQuery in Asp.Net and finally I was able to do.
Introduction to Asp.net
Posted By : Shailendra Chauhan, 11 May 2010
Updated On : 14 Jul 2012
Keywords : asp.net,asp.net intro,asp.net tutorial pdf,asp.net tricks,asp.net framework
According to Microsoft, "ASP.NET is a technology for building powerful, dynamic Web applications and is part of the .NET Framework". Infact Asp.Net is a programming framework used to develop web applications and web services. Basically it is next version of asp. It provides the easy way to build, deploy & run web application on any browser.