Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Gridview SortExpression

Gridview SortExpression

Scheduled Pinned Locked Moved ASP.NET
algorithmstutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deep7
    wrote on last edited by
    #1

    Hi, In my application i have a gridview for whose columns i'm using templatefields here if i give 'SortExpression', then the column header gets underlined...I dont want it like that, the underline must be seen on hover of the mouse on the header...the sorting is also required... how to accomplish this.. could anyone please tell me? thanks

    I 1 Reply Last reply
    0
    • D deep7

      Hi, In my application i have a gridview for whose columns i'm using templatefields here if i give 'SortExpression', then the column header gets underlined...I dont want it like that, the underline must be seen on hover of the mouse on the header...the sorting is also required... how to accomplish this.. could anyone please tell me? thanks

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      Use styleSheet class for headerTemplate Best Regard Pathan

      GOD HELP THOSE WHO HELP THEMSELVES

      D 1 Reply Last reply
      0
      • I Imran Khan Pathan

        Use styleSheet class for headerTemplate Best Regard Pathan

        GOD HELP THOSE WHO HELP THEMSELVES

        D Offline
        D Offline
        deep7
        wrote on last edited by
        #3

        hi, i have stylesheet for it: .templateHeaderStyle { font-family:Arial;font-size:small; font-weight:normal;padding-left: 0.5em; text-decoration:none; } If i remove 'SortExpression' from: then the underline for column header doesn't come...but then sorting doesn't work.... i need it to sort the column based on "JOB_ID"...how do i do it? kindly do guide me..thanks

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups