Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I was trying on a user control which can act like a repeater. I am using a user control where I need to fill it repeatedly and also save it once i am checking on all the controls inside user control. My user control is having a checkbox and a textbox which i need to populate as many times inside a panel as it has been saved in database.
Thanks in advance
Posted

1 solution

I tend to use a user control in case I have a reusable business content or a simple UI component to acheive a certain functinoality .. while I am not sure if I got you correctly but seems you might need to have a custom control instead of a user control.
 
Share this answer
 
Comments
Nutan R 24-Sep-12 5:58am    
Can you please send me sample snippet for looping through user control
Samer Aburabie 24-Sep-12 6:11am    
Looping through what exactly?
Nutan R 24-Sep-12 6:18am    
Looping through user control. I am supposed to add the same user control inside a panel. But how to get all those added data on load and parallely adding another user control inside the same panel in which previous ones were added.

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