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. Problem with Panel

Problem with Panel

Scheduled Pinned Locked Moved ASP.NET
helpquestion
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.
  • N Offline
    N Offline
    nagendrathecoder
    wrote on last edited by
    #1

    Hello all, I have used panel around GridView in my application so as to display scrollbars in GridView. Problem is when my GridView has few records, it doesn't need those scrollbars but they are still displayed. What can i do so that scrollbars don't display when GridView don't have many records? Thanks, Nagendra.

    A N H 3 Replies Last reply
    0
    • N nagendrathecoder

      Hello all, I have used panel around GridView in my application so as to display scrollbars in GridView. Problem is when my GridView has few records, it doesn't need those scrollbars but they are still displayed. What can i do so that scrollbars don't display when GridView don't have many records? Thanks, Nagendra.

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      try setting ScrollBars="Auto" for Panel. :-D

      Arun Jacob http://codepronet.blogspot.com/

      1 Reply Last reply
      0
      • N nagendrathecoder

        Hello all, I have used panel around GridView in my application so as to display scrollbars in GridView. Problem is when my GridView has few records, it doesn't need those scrollbars but they are still displayed. What can i do so that scrollbars don't display when GridView don't have many records? Thanks, Nagendra.

        N Offline
        N Offline
        nagendrathecoder
        wrote on last edited by
        #3

        Hey thanks man, that was so dumb of me. ;P

        1 Reply Last reply
        0
        • N nagendrathecoder

          Hello all, I have used panel around GridView in my application so as to display scrollbars in GridView. Problem is when my GridView has few records, it doesn't need those scrollbars but they are still displayed. What can i do so that scrollbars don't display when GridView don't have many records? Thanks, Nagendra.

          H Offline
          H Offline
          harshangrana
          wrote on last edited by
          #4

          Hey Put your grid in div tag..this may help you..

          N 1 Reply Last reply
          0
          • H harshangrana

            Hey Put your grid in div tag..this may help you..

            N Offline
            N Offline
            nagendrathecoder
            wrote on last edited by
            #5

            Will it show scrollbars around Grid?

            H 1 Reply Last reply
            0
            • N nagendrathecoder

              Will it show scrollbars around Grid?

              H Offline
              H Offline
              harshangrana
              wrote on last edited by
              #6

              ya

              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