Sorting after ItemDataBound

3 posts, 1 answers
  1. Joe Hakooz
    Joe Hakooz avatar
    65 posts
    Member since:
    Dec 2007

    Posted 14 Nov 2008 Link to this post

    Hi,
    I'm curious if this is possible with RadGrid... (Q2 2008 and VB)

    Say I have a sortableĀ databound column "Email" that displays:
    email@hotmail.com
    hithere@gmail.com
    yippie@aol.com

    On ItemDataBound I change the text in that column to something like:
    Hotmail
    Gmail
    AOL

    Now it seems when sorting the column, it sorts as if the original text is there. How do I get RadGrid to sort on the new "ItemDataBound" text?

    Please let me know if I need to clarify.
    Thanks,
    Joe
  2. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 14 Nov 2008 Link to this post

    Hi Joe,

    Sorting in the grid is accomplished at data source level. If you need custom sorting please check this example:
    http://demos.telerik.com/aspnet/Prometheus/Grid/Examples/Programming/Sort/DefaultCS.aspx

    Sincerely yours,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe Hakooz
    Joe Hakooz avatar
    65 posts
    Member since:
    Dec 2007

    Posted 14 Nov 2008 Link to this post

    Thanks for the fast response. I'll look into that.

    Regards,
    Joe
Back to Top