Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have a form whose checkbox is bound to name field of a table. The objective of this is to display all the name from that field in checkbox so that user can check the desired name and store in other table.. Name are displayed in checkboxes as I wanted but all in meshed up manner.. What i want is to display the checkboxes as a vertical list or similar manner.. Any help to improve the design????
Posted
Comments
JoCodes 24-Oct-13 7:34am    
Wont RepeatDirection="Vertical" of checkbox list control satisfy your requirement?
Codes DeCodes 25-Oct-13 0:35am    
JoCodes it did not work.. nyway thanks for your comment..
JoCodes 25-Oct-13 0:53am    
Can you post the code you tried so it will be easy to check ?
Codes DeCodes 25-Oct-13 0:59am    
well jocodes, along with the solution you gave I changed few properties of checkbox like repeatcolumn and repeat layout. Now it works.. thanks for the reply.. :)
JoCodes 25-Oct-13 1:10am    
Nice to hear that it helped... :)

Hi

You can have two columns in the grid as column name & visibility .
display table columns in rows and adjacent the checkbox control .

Create a separate table for the fields .
 
Share this answer
 
There is two properties you need to change...

RepeatColumns = "No of columns you want to repeat vertically"
RepeatDirection = Vertical

if you want single column in each row set RepeatColumns = 0;

Hope This Help
------------------
Pratik Bhuva
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900