Category - GridView
Results 21 - 25 of 503
17 Jun 2019 17 Jun 2019 0 Comments  4663 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.
14 Jun 2019 14 Jun 2019 0 Comments  7758 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.
13 Jun 2019 13 Jun 2019 0 Comments  6183 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.
12 Jun 2019 12 Jun 2019 0 Comments  19184 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  9280 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.
Results 21 - 25 of 503