Solved

Repeater control/Scrolling

Posted on 2013-01-19
4
199 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sort GridView by ID Descending 1 17
parsing JSON help 1 20
SSIS On fail action 5 38
Convert Ctime to date time in textfile? 7 35
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

820 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