Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 775669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:19:39+00:00 2026-05-14T19:19:39+00:00

i am using VS 2005, in asp.net please tell me how can i show

  • 0

i am using VS 2005, in asp.net please tell me how can i show scroll bar in checkboxlist after the number of item count goes beyond the specified. like my situation that if their exist more then 5 items in my checkbox list than it should show a scroll bar.. and i dont want to fix its height like if their is only 1 item than it should take space of 1 item only…. please help me…

i have used this but its taking space (Hight) even their is 1 or 2 items in list..
div style=”overflow-y :auto; height :100px “

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:19:40+00:00Added an answer on May 14, 2026 at 7:19 pm

    Instead of fixing the height with a static value, you can set the max-height of the container div. In this case it will use auto height as long as it’s less than the height you specified 🙂

    P.S. To make the max-height cross-browser compatible, you have to set it as follows in your css:

    .checkBoxList {
      max-height:100px;
      height:auto !important;
      height:100px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to visual studio/asp.net so please bear with me. Using vs 2005
I need to write a web application using SQL Server 2005, asp.net, and ado.net.
I am using ASP.NET 2.0 and VS 2005. I need to populate a grid
I am using VS 2008 (asp.net with c#) and SQL Server 2005 .... Subject
I maintain a legacy ASP.Net Web application (using .Net 2.0 + SQL Server 2005
While developing and ASP.NET application in C# or VB using Visual Studio 2005/2008/2010 (Not
I am using VS 2005 I am new to asp.net i have a project
Suppose, I am about to start a project using ASP.NET and SQL Server 2005.
I am using the Cruise Control BuildPublisher task to publish a 2005 ASP.NET website.
I'm using SQL Express 2005 for an asp.net application which only uses Membership management.I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.