Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Repeater control/Scrolling

Posted on 2013-01-19
4
Medium Priority
?
205 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

972 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