14 Mar 2013 14 Jun 2019 0 Comments  73152 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  113071 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  246 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  62258 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  409 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  411 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  53232 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  359887 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  404 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  441 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  433 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  431 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.
07 Jun 2019 07 Jun 2019 0 Comments  553 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement DataGridViewComboBoxColumn inside DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

The DataGridViewComboBoxColumn class will be used to add ComboBox in DataGridView and the items will be added to the ComboBox from Database in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  523 Views
Here Mudassar Ahmed Khan has explained with an example, how to set cell value of ComboBox in DataGridView programmatically from Database in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the ComboBox is populated, the selected item will be set in ComboBox in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  488 Views
Here Mudassar Ahmed Khan has explained with an example, how to set selected value of ComboBox in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the ComboBox is populated, the item is set as selected in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  448 Views
Here Mudassar Ahmed Khan has explained with an example, how to set selected value of DataGridViewComboBoxColumn in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the DataGridViewComboBoxColumn is populated, the item is set as selected in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  472 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Default value for DataGridViewComboBoxColumn in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the ComboBox is populated, the Default item is added to the DataGridViewComboBoxColumn in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  427 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Default value for ComboBox in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the ComboBox is populated, the Default item is added to the ComboBox in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  516 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AJAX Call using XML using JavaScript XmlHttpRequest (XHR) in ASP.Net MVC Razor.

The Controller’s Action method will be called using JavaScript XmlHttpRequest (XHR) and JSON from View in ASP.Net MVC Razor.
06 Jun 2019 06 Jun 2019 0 Comments  586 Views
Here Mudassar Ahmed Khan has explained with an example, how to bulk delete multiple selected (checked) Rows using CheckBox in ASP.Net MVC Razor.

The first column will contain the CheckBox and multiple CheckBoxes can be checked (selected) to delete multiple Rows (Records) in ASP.Net MVC Razor.

The selected (checked) Rows (Records) will be deleted after User selected OK from the Delete Confirmation Box displayed using JavaScript in ASP.Net MVC Razor.
06 Jun 2019 06 Jun 2019 0 Comments  431 Views
Here Mudassar Ahmed Khan has explained with an example, how to add ComboBox to DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database in Windows Forms (WinForms) Application using C# and VB.Net.
04 Jun 2019 04 Jun 2019 0 Comments  489 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide Legend in Google Charts.

By default, legend is always shown in Google Chart and in order to hide legend, it needs to be disabled using Google Chart Options.
03 Jun 2019 03 Jun 2019 1 Comments  568 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Current Page and Previous Page names when using Master Page in ASP.Net using C# and VB.Net.

This article will illustrate how to extract Current Page and Previous Page names from URL when using Master Page using the Request.Url and Request.UrlReferrer properties in ASP.Net.
24 Aug 2013 03 Jun 2019 0 Comments  60380 Views
Here Mudassar Ahmed Khan has explained, how to add Meta Tags in Master Page, Child Content Pages (ASPX).

The Title and Meta Tags like Keywords from and Description are dynamically populated from database and programmatically added to head section of the Master Page in ASP.Net.
18 Aug 2013 03 Jun 2019 2 Comments  66092 Views
Here Mudassar Ahmed Khan has explained, how to dynamically add meta tags in ASP.Net Website.

The dynamic meta tags will be populated from database and each meta tag will be added dynamically to head section of page.