Here in this tutorial I will teach you how to export your Database Records into Excel file using 2 different methods. You can choose any one of these methods when doing your data export to excel file.
(more…)You can show Paging Links in your web page without third party plugins. Instead you create the paging links by yourself with jQuery. Here I will teach you to create this jQuery Pagination system right from the scratch.
(more…)Sometimes you need to provide a feature to add HTML contents in a database table's column. For creating this feature you can use CKEditor which is a free HTML Text Editor. It's integration is fairly simple and this tutorial will teach how to use CKEditor in your ASP.NET Web Forms website.
(more…)You can create a feature in your MVC site where a user can enter HTML contents for a certain field. This can be achieved using CKEditor which you can download from CKEditor's Website.
(more…)In ASP.NET MVC you can create paging Links very easily using 2 classes – PagingHelper.cs and PagingInfo.cs.
(more…)The jQuery removeClass() method, as the name suggests, is used to remove one or more class names from a selector. For removing multiple class names, separate them using spaces.
(more…)The jQuery addClass() method is used to add one or more CSS class to a selected element/elements. To add more than one class name, separate them using spaces.
(more…)In jQuery, if you want to find out whether some elements (or a single element) are assigned a particular CSS Class then use the .hasClass() method. It returns true when it finds the CSS class else returns false.
$(selector).hasClass("classname");The selector can either be an element or a group of elements.
(more…)In ASP.NET MVC, Client Side Validation is performed using jQuery along with two plugins: jQuery Validation and jQuery Unobtrusive Validation.
The first step is to add all three libraries to your project. You can easily install them using NuGet Package Manager.
(more…)Whenever a form is submitted then you should ensure to do the Server Side Validation of every control so that the received data is correct and valid.
Some developers provide only client side validation and leave the server side validation. This is a wrong practice as users can disable JavaScript on their browser and bypass the Client Side Validation. Therefore always make sure to do Server Side Validation in your project.
(more…)