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. Dropdown list issue in data grid

Dropdown list issue in data grid

Scheduled Pinned Locked Moved ASP.NET
csshelpdatabasetutorial
6 Posts 3 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.
  • K Offline
    K Offline
    King Shez
    wrote on last edited by
    #1

    Hi guys i am facing problem with drop down list in data grid , drop down list is placed in data grid , when the user scrolls the grid vertically down o ther controls present in grid goes beneath the data grid header but drop down list goes above the data grid header, i know this problem is due to windowed control Z-Index issue in IE 6.0, do any one have any idea how to control it, is there any way it can be done with CSS, thankx in advance, regards

    V S 2 Replies Last reply
    0
    • K King Shez

      Hi guys i am facing problem with drop down list in data grid , drop down list is placed in data grid , when the user scrolls the grid vertically down o ther controls present in grid goes beneath the data grid header but drop down list goes above the data grid header, i know this problem is due to windowed control Z-Index issue in IE 6.0, do any one have any idea how to control it, is there any way it can be done with CSS, thankx in advance, regards

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      Are you using Fixed Header Grid?

      Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group | Blog Spot

      K 1 Reply Last reply
      0
      • K King Shez

        Hi guys i am facing problem with drop down list in data grid , drop down list is placed in data grid , when the user scrolls the grid vertically down o ther controls present in grid goes beneath the data grid header but drop down list goes above the data grid header, i know this problem is due to windowed control Z-Index issue in IE 6.0, do any one have any idea how to control it, is there any way it can be done with CSS, thankx in advance, regards

        S Offline
        S Offline
        SABhatti
        wrote on last edited by
        #3

        I think you are using style sheet to fix the datagrid header. It is not possible to hide the drop down lists with just the z-index. Instead you have to use iframe to hide them. You will be setting the z-index for iframe greater than the drop down lists and z-index for your header row will be greater than the iframe. And then you will have to reposition/resize the iframe to go right beneath the header row. This way you will be able to hide the drop down lists. If I am getting you right then I will suggest to use a separate table with just one row on top of data grid. And then on load get the header row from data grid and add it to the table. I have done it this way. There is quite a lot of javascript involved to achieve this. But if you search online you should be able to find articles.

        -----

        K 1 Reply Last reply
        0
        • V Venkatesh Mookkan

          Are you using Fixed Header Grid?

          Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group | Blog Spot

          K Offline
          K Offline
          King Shez
          wrote on last edited by
          #4

          Yup man i am using fix header in data grid.

          1 Reply Last reply
          0
          • S SABhatti

            I think you are using style sheet to fix the datagrid header. It is not possible to hide the drop down lists with just the z-index. Instead you have to use iframe to hide them. You will be setting the z-index for iframe greater than the drop down lists and z-index for your header row will be greater than the iframe. And then you will have to reposition/resize the iframe to go right beneath the header row. This way you will be able to hide the drop down lists. If I am getting you right then I will suggest to use a separate table with just one row on top of data grid. And then on load get the header row from data grid and add it to the table. I have done it this way. There is quite a lot of javascript involved to achieve this. But if you search online you should be able to find articles.

            -----

            K Offline
            K Offline
            King Shez
            wrote on last edited by
            #5

            man can u send me the javascript code, thankx for reply, regards,

            S 1 Reply Last reply
            0
            • K King Shez

              man can u send me the javascript code, thankx for reply, regards,

              S Offline
              S Offline
              SABhatti
              wrote on last edited by
              #6

              Please check this article http://www.codeproject.com/aspnet/ScrollingGrid.asp

              -----

              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