Gridview is not updating ten most important dating questions
NET AJAX Update Panel as shown below : Suprotim Agarwal, ASP.
NET Architecture MVP (Microsoft Most Valuable Professional) works as an Architect Consultant and provides consultancy on how to design and develop Web applications.
For more information on sorting with the Grid View, along with a downloadable demo, check out the Paging and Sorting Report Data tutorial.
When I implemented the up and down arrow images for the Data Grid control in Part 18 of the An Extensive Examination of the Data Grid Web Control article series, I put the code that added (or removed) the arrow images in the ASP. Specifically, the code enumerated the Data Grid's properties.
However, I decided that instead of having to write code for each page where I wanted to show up and down arrow images, I decided to instead build a custom server control that extended the Grid View control.
I could then bake in the necessary code by overriding the necessary Grid View methods.
Keep in mind that the entire process is kicked off by the user clicking a Link Button in one of the sortable column's headers, and completes by displaying the data in the requested sorted order.
So, from the end user's perspective, she clicks the text in a particular column header and the data is sorted by that column.
The widget also incorporates various Bootstrap 3.x styling options and has embedded support for Pjax based rendering.
While the Data Grid (and Grid View) offer built-in sorting support, there is no visual feedback as to what column the data is sorted by.
In Part 18 of the An Extensive Examination of the Data Grid Web Control article series, I showed how to dynamically update a sortable Data Grid's header columns so that an up or down arrow image would appear next to the sorted column name depending on whether the column was sorted ascendingly or descendingly (view a live demo).
In short, I could have implemented the up and down arrow images in the Grid View using code in the ASP.
NET page very similar to that used for the Data Grid.