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. DataGrid: Setting the current page in bold

DataGrid: Setting the current page in bold

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
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.
  • H Offline
    H Offline
    hertz_j
    wrote on last edited by
    #1

    Hi, Is there a way to set the current page in bold when using data grids in ASP.NET? Example: 1 2 3 4 Where 3 is the page currently being viewed.

    C 1 Reply Last reply
    0
    • H hertz_j

      Hi, Is there a way to set the current page in bold when using data grids in ASP.NET? Example: 1 2 3 4 Where 3 is the page currently being viewed.

      C Offline
      C Offline
      Commickey
      wrote on last edited by
      #2

      which version of ASP.NET are u using because this should be automatic

      H 1 Reply Last reply
      0
      • C Commickey

        which version of ASP.NET are u using because this should be automatic

        H Offline
        H Offline
        hertz_j
        wrote on last edited by
        #3

        Version 1.1, and it is not automatic. What it does is but all the no current pages in links and the current in a span tag. But you cannot (at least I haven't found a way) to set the CssClass of the current and not current pages. So I ended up setting it for all span tags which means that my default span is bold, which is not really what I wanted.

        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