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.
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.