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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Appling Alternate Rows with border for Datagrid

Appling Alternate Rows with border for Datagrid

Scheduled Pinned Locked Moved ASP.NET
4 Posts 2 Posters 1 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.
  • A Offline
    A Offline
    antony beula
    wrote on last edited by
    #1

    Hi Friends, AlternatingItemStyle BorderStyle="Dashed" in Datagrid is not working in IE, but works fine in firefox..Most of the properties like "AlternatingItemStyle-BorderColor, AlternatingItemStyle-BorderStyle, AlternatingItemStyle-BorderWidth" are not working in IE.. i need to apply border for the code below:

    C 1 Reply Last reply
    0
    • A antony beula

      Hi Friends, AlternatingItemStyle BorderStyle="Dashed" in Datagrid is not working in IE, but works fine in firefox..Most of the properties like "AlternatingItemStyle-BorderColor, AlternatingItemStyle-BorderStyle, AlternatingItemStyle-BorderWidth" are not working in IE.. i need to apply border for the code below:

      C Offline
      C Offline
      Chetan visodiya
      wrote on last edited by
      #2

      You can not apply the border to alernate rows usaing AlternateItemStyle. Grid View indirectly generates Table structure. Whatever style you applied to AlternateItemStyle, it paste into inside <tr> tag. And you can not set the border using tr tag.

      A 1 Reply Last reply
      0
      • C Chetan visodiya

        You can not apply the border to alernate rows usaing AlternateItemStyle. Grid View indirectly generates Table structure. Whatever style you applied to AlternateItemStyle, it paste into inside <tr> tag. And you can not set the border using tr tag.

        A Offline
        A Offline
        antony beula
        wrote on last edited by
        #3

        Thanks a lot for ur reply. I tried with onrowdatabound event and its working fine... beula

        C 1 Reply Last reply
        0
        • A antony beula

          Thanks a lot for ur reply. I tried with onrowdatabound event and its working fine... beula

          C Offline
          C Offline
          Chetan visodiya
          wrote on last edited by
          #4

          Can you please share the code?

          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