User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,423 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,688 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting

sorting in a custom grid view

Join Date: Feb 2008
Posts: 50
Reputation: a496761 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
a496761 a496761 is offline Offline
Junior Poster in Training

Re: sorting in a custom grid view

  #2  
May 19th, 2008
You can programmatically set a gridview column's headertext (which can be html). So in your procedure that handles the sorting, you could do the following and change the image source depending on the sort direction.
gv.Columns(0).HeaderText = "<img src='whatever.jpg' />" 
Reply With Quote  
All times are GMT -4. The time now is 2:01 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC