Solved

Repeater control/Scrolling

Posted on 2013-01-19
4
197 Views
Last Modified: 2013-02-02
I'm creating a web app that has a list of people to choose from that I want  to add to smaller groups of people. For example, I may have 100 peopple that I want to create 20 different sub groups of 5 people each. I'm thinking I want to use a repeater control with two buttons (add person, remove person) and a list box to show the list of the people in the sub group (of 5 people for example). Is that the best way to do what I want to do? Also, what container would I use to make that list scrollable in the event the list of sub groups was longer than the web web page (I don't want to have to scroll the page. That might hide the list I'm choosing people from).  Also, the reason I'm wondering if the repeater control is the best option is that it would be nice to have have columns of groups. For example, it would be nice to have 4 columns of groups for the first 4 groups. The fifth group (record) would start a new row. I bet there's a control that will do that. Is there?
0
Comment
Question by:Misledman
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 38801245
You could use an outer <div> element, surrounding the Repeater, with overflow: auto CSS style set.
0
 
LVL 1

Author Comment

by:Misledman
ID: 38803869
Actually, a panel control has a scroll option that is working too. Do you know a way to easily show records across then down...
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 38805325
A Panel control generates a <div>, so it is the same difference.  The DataList control has a RepeatDirection, but I don't think that the Repeater has that property.
0
 
LVL 1

Author Closing Comment

by:Misledman
ID: 38846881
Thank you..... Sorry for the delay in updating...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# GridRow get Old/New Value 1 55
Loop not working 29 47
Class object 2 26
Data is not showing from images 15 37
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now