473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

how to add a Scroll Bar in CheckBoxList control in ASP.NET



How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.

Any help is appreciated.

Thanks,

Marshal Antony

Nov 18 '05 #1
4 12067
Check out:
http://aspnet101.com/aspnet101/aspne...?code=dgscroll

This is an example for a DataGrid, but it should work just the same for a
CheckBoxList

David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:OX**************@TK2MSFTNGP11.phx.gbl...


How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.

Any help is appreciated.

Thanks,

Marshal Antony


Nov 18 '05 #2
Ya, you might want to try putting it inside a div with the "overflow" CSS
attribute set:
http://www.w3schools.com/css/pr_pos_overflow.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:OX**************@TK2MSFTNGP11.phx.gbl...


How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.

Any help is appreciated.

Thanks,

Marshal Antony


Nov 18 '05 #3

Thanks Steve!
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:eU**************@tk2msftngp13.phx.gbl...
Ya, you might want to try putting it inside a div with the "overflow" CSS attribute set:
http://www.w3schools.com/css/pr_pos_overflow.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:OX**************@TK2MSFTNGP11.phx.gbl...


How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.

Any help is appreciated.

Thanks,

Marshal Antony



Nov 18 '05 #4
David,
I knew it before which I had tried already.But I was looking for
something which looks exactly like a list box.
Anyway it is enough for my need for now.I am using OVERFLOW: auto instead
of OVERFLOW:scroll as it put the
scroll bar ondemand only.
Thanks a bunch..
Marshal Antony

"David Wier" <dw***@nospamASPNet101.com> wrote in message
news:Oa**************@TK2MSFTNGP09.phx.gbl...
Check out:
http://aspnet101.com/aspnet101/aspne...?code=dgscroll

This is an example for a DataGrid, but it should work just the same for a CheckBoxList

David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:OX**************@TK2MSFTNGP11.phx.gbl...


How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.

Any help is appreciated.

Thanks,

Marshal Antony



Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marshal Antony | last post by:
How to add a vertical scroll bar to a CheckBoxList Server control in ASP.NET. Thanks in advance Marshal Antony
3
by: Egbert | last post by:
I use a System.Web.UI.WebControls.CheckBoxList object to fill a list. I need to label groups of checkboxes in the list by Category (Determined dynamically from the database) at runtime. Is it...
0
by: Bryce Budd | last post by:
Hello All, I've been a taker of information from newsgroups for a long time and thought I'd finally make a contribution back to the community whose supported me when I've needed it. After all...
2
by: Framework fan | last post by:
Hello. What is the best way of displaying a large list of checkboxes? I tried using a checkbox list control, but even if you set the height property, the control shows *all* of the checkboxes,...
3
by: Robin Day | last post by:
I run some code on the changed event of checkbox lists. Its quite simple, nothing more than showing / hiding some other parts of the page. Using Autopostback and Server side code works fine, but is...
4
by: dm_dal | last post by:
Is there a know issue surrounding the CheckBoxList control and it's viewstate? When my control is created, it's ListItems are checked as needed, but on a postback, they loose their Selected...
7
by: bienwell | last post by:
Hi, I'm using the CheckBoxList control in ASP.NET for Web development. This checkboxlist is bound by the database. If we have more items for this checkbox list, it takes space on the page. I...
4
by: Patrick.O.Ige | last post by:
I have a CheckBoxList in a DataList and i'm trying to get item Selected after doing a postBack. I have set my CheckBoxlist AutoPostBack="True" Any ideas what 'm doing wrong? It seems not to...
6
by: dbuchanan | last post by:
There are three parts to this 1.) How do I cascade menus? 2.) And, how do I cascade menus with a multi-select CheckBoxList?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.