Everytime WebGrid implements sorting feature, you can see the sorting image right beside the column's name.
This topic will show you how to set SortAscImage and SortDescImage to Images located in root application directory.
To set SortAscImage and SortDescImage to Images located in root application directory
- Click on WebGrid instance and press F4 to open its properties window.
- Focus on LayoutSettings >> ImageSettings.
- You can set the SortAscImage and SortDescImage to the image that is located inside your project.
If your image located at the same root with your page, then you can set the SortAscImage and SortDescImage to "./your image name.jpg". Else if your image located at the root and your page are inside a folder, then you can set the SortAscImage and SortDescImage to "../your image name.jpg".
Other Resources
Miscellaneous WebGrid Settings
Walkthrough Topics
How-to Topics