I am using a RadGrid that contains a GridTemplateColumn. This GridTemplateColumn contains a FilterTemplate as well as an ItemTemplate. The FilterTemplate is a RadComboBox. The ItemTemplate is a Label. The table is displaying the string representation of an ID.
I want to run a sort based on the string displayed in the Label. However, since this data is not databound, it will not let me. It will allow me to run a sort based off of the underlying "Value" of this data. (The Value = RoleID and the Label contains the corresponding RoleName.)
How can I do this? I want to sort the GridTemplateColumn based on what is displayed in the ItemTemplate of this column (the Label).
Thanks!
Dave
I want to run a sort based on the string displayed in the Label. However, since this data is not databound, it will not let me. It will allow me to run a sort based off of the underlying "Value" of this data. (The Value = RoleID and the Label contains the corresponding RoleName.)
How can I do this? I want to sort the GridTemplateColumn based on what is displayed in the ItemTemplate of this column (the Label).
Thanks!
Dave