Trueneutral Posted October 27, 2003 Posted October 27, 2003 I need to find a way to call controls dynamically. I've given up trying to create the controls dynamically, but I am hoping that I can at least Call them in such a manner. I'm trying to create a page where a user will be able to select certain colours they'd like to use by clicking on checkboxes. Since the colours will be created dynamically from a database, I dont know how many there will be. But say if there are 9 colours to be displayed I want to be able to have a loop that will call the first 9 checkboxes. The checkboxes have ID's like this: chk1, chk2 chk3 etc. I want to be able to somehow increment my way through the controls. Does anyone know how to do that? Quote
*Gurus* Derek Stone Posted October 28, 2003 *Gurus* Posted October 28, 2003 Loop through the container's Controls collection. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.