25 Jun 2019 25 Jun 2019 0 Comments  4 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using jQuery.

When the Submit Button is clicked, all the CheckBoxes in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using jQuery.
25 Jun 2019 25 Jun 2019 0 Comments  7 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using JavaScript.

When the Submit Button is clicked, all the CheckBoxes in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using JavaScript.
24 Jun 2019 24 Jun 2019 0 Comments  135 Views
Here Mudassar Ahmed Khan has explained with an example, how to get list of Sheet (WorkSheet) names of Excel file in ASP.Net using C# and VB.Net.

The Excel file will be first uploaded and copied to a Folder (Directory) on Server and then it will be read and opened using OLEDB and the Sheet (WorkSheet) Names of the Excel file will be fetched.
21 Jun 2019 21 Jun 2019 0 Comments  258 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Repeater control functionality in ASP.Net MVC Razor.

In ASP.Net MVC, there is no provision of using Web Forms controls such as Repeater control, but the same functionality can be easily achieved with the use of Model collection and FOR loop.
20 Jun 2019 20 Jun 2019 0 Comments  222 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and display Images in Repeater control in ASP.Net using C# and VB.Net.

The images will be uploaded and saved in a Folder (Directory) on Disk using ASP.Net FileUpload control using C# and VB.Net.

Later the Image files will be fetched from Folder (Directory) and display the same in ASP.Net Repeater using C# and VB.Net.
17 May 2013 20 Jun 2019 0 Comments  29811 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to display images from Folder (Directory) in ASP.Net using GridView control.
18 Feb 2013 20 Jun 2019 20 Comments  363576 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload images and save it in a Folder (Directory) on Disk using ASP.Net FileUpload control using C# and VB.Net.

This article will also illustrate how to fetch the Image files from Folder (Directory) and display the same in ASP.Net GridView using C# and VB.Net.
19 Jun 2019 19 Jun 2019 1 Comments  271 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image after upload using FileUpload in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be saved into a Folder (Directory) while the URL of the Image will be assigned to a ViewBag object which will be later used for displaying the Image inside the Image element in View in ASP.Net MVC Razor.
19 Jun 2019 19 Jun 2019 0 Comments  272 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) ASP.Net CheckBoxList using DataTable (DataSet) in C# and VB.Net.

The data from the SQL Server Database Table will be fetched into a DataSet and then the DataTable of the DataSet will be used to bind (populate) ASP.Net CheckBoxList using C# and VB.Net.

This article will also illustrate how to fetch the selected values of ASP.Net CheckBoxList on Button Click using C# and VB.Net.
17 Jun 2019 17 Jun 2019 0 Comments  596 Views
Here Mudassar Ahmed Khan has explained with an example, how to encode QueryString parameter in NavigateUrl of HyperLink inside ASP.Net GridView using C# and VB.Net.

The QueryString parameters will be encoded inside the Eval function using UrlEncode function of the HttpUtility class in ASP.Net.
17 Jun 2019 17 Jun 2019 0 Comments  272 Views
Here Mudassar Ahmed Khan has explained with an example, how to use HyperLink inside Repeater control in ASP.Net using C# and VB.Net.

This article will illustrate how to bind QueryString Parameters (Single or Multiple) using NavigateUrl property of HyperLink and Eval function inside Repeater control in ASP.Net using C# and VB.Net.
20 Apr 2013 17 Jun 2019 6 Comments  100218 Views
ASP.Net  GridView  CSS  HTML  HTML5  Div
Here Mudassar Ahmed Khan has explained with an example, how to create GridView with Rounded Corners using CSS in ASP.Net.

This article will illustrate how to make the GridView’s Corners rounded using an HTML DIV and the CSS3’s Rounded Corner CSS in ASP.Net.
16 Jun 2013 17 Jun 2019 3 Comments  87888 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind QueryString Parameters (Single or Multiple) using NavigateUrl property of HyperLink and Eval function inside GridView in ASP.Net using C# and VB.Net.
14 Mar 2013 14 Jun 2019 0 Comments  73855 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to filter ASP.Net GridView control records using DropDownList control in HeaderTemplate or Header Row.
23 Sep 2012 14 Jun 2019 3 Comments  113748 Views
Here Mudassar Ahmed Khan has explained with an example, how to filter data in GridView control with DropDownList in ASP.Net using C# and VB.Net.
14 Jun 2019 14 Jun 2019 0 Comments  919 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image based on condition in GridView in ASP.Net using C# and VB.Net.

The ImageUrl property of the Image control is set with an Inline Expression which compares the value of the column and based on the value, the respective Image URL is returned which is used to conditionally display the Image in GridView.
26 Nov 2009 14 Jun 2019 6 Comments  62874 Views
Here Mudassar Ahmed Khan has explained with an example, how to build Excel like AutoFilter Feature in ASP.Net GridView control using C# and VB.Net.

In Excel file, the Auto Filter function works within the Header Row and hence this article will illustrate how to place the DropDownList control inside the GridView Header and then filter the GridView records using DropDownList in ASP.Net using C# and VB.Net.
13 Jun 2019 13 Jun 2019 0 Comments  950 Views
Here Mudassar Ahmed Khan has explained with an example, how to get BoundField and TemplateField column values on Button Click in ASP.Net GridView using C# and VB.Net.

When the Button is clicked, the Selected GridView Row is referenced and then the values of the BoundField and TemplateField columns are extracted from it in ASP.Net using C# and VB.Net.
13 Jun 2019 13 Jun 2019 0 Comments  1039 Views
Here Mudassar Ahmed Khan has explained with an example, how to avoid (Prevent) Page refresh (reload) after SelectedIndexChanged is fired in ASP.Net DropDownList using C# and VB.Net.

The only possible way is to place the DropDownList inside ASP.Net AJAX UpdatePanel so that, instead of Full PostBack which causes Page refresh (reload), a Partial PostBack will occur.
22 Aug 2014 13 Jun 2019 0 Comments  54014 Views
Here Mudassar Ahmed Khan has explained, how to get the selected row of GridView on Button click in ASP.Net.

The GridView Row is selected using the Select Button and then the values are fetched from the Selected Row Columns.
08 Jul 2013 12 Jun 2019 19 Comments  360960 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the cells values from Selected Row of GridView in ASP.Net using C# and VB.Net.

The GridView will be assigned an OnSelectedIndexChanged event handler and when the GridView Row is selected, the values of each Cell of the Selected GridView Row will be fetched and displayed.
12 Jun 2019 12 Jun 2019 0 Comments  958 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Selected Value from DropDownList in GridView in ASP.Net using C# and VB.Net.

The DropDownList inside GridView will be assigned with an OnSelectedIndexChanged event handler and when an Item is selected in the DropDownList, the Selected Value is displayed using JavaScript Alert Message Box.
12 Jun 2019 12 Jun 2019 0 Comments  1007 Views
Here Mudassar Ahmed Khan has explained with an example, how to handle SelectedIndexChanged event for DropDownList inside GridView in ASP.Net using C# and VB.Net.

The DropDownList inside GridView will be assigned an OnSelectedIndexChanged event and when an Item is selected (changed), the SelectedIndexChanged event handler is raised.
12 Jun 2019 12 Jun 2019 0 Comments  994 Views
Here Mudassar Ahmed Khan has explained with an example, how to use EVAL function to set Selected Value of DropDownList inside GridView in ASP.Net using C# and VB.Net.
11 Jun 2019 11 Jun 2019 0 Comments  960 Views
Here Mudassar Ahmed Khan has explained with an example, how to handle TextChanged event for TextBox inside GridView in ASP.Net using C# and VB.Net.

The TextBox inside GridView will be assigned an OnTextChanged event and when Text inside the TextBox changes, the TextChanged event handler is raised.