Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting with Hypertext values in Datagrid - pls reply

Status
Not open for further replies.

sd110404

Programmer
Nov 3, 2004
63
0
0
US
Hello All,

This is my first project and now I am stuck at sorting data grid.
The Data grid displays values from a stored procedure and the AllowSorting property of the datagrid is set to true. Its working fine for all the header text, except for one (Company Name).

Company name is a link <a href.....>Company Name 1</a> and so on...
The user will get to see the following:
Company Name 1 (hyperlinked)
Comapny Name 2 (hyperlinked)
which when clicked will take them to corresponding company details.

The issue here is: since its hyperlinked, while sorting its sorting with the hyperlinked and hence displaying the data without a propery sort.

Hope I am clear in explaning my issue.

Has anyone faced this issue, or can think of a work around.

Please help! Any suggestion or sol will greatly appreciated.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top