i have made a control which contain some textboxes and comboboxes.
i want to fill these textbox on the button click event which is on the form1.
when i want to write the code under this button then the textboxes & comboboxes not accessible.
how can i access these textboxes?
please help me.
Loading

Nir BarPosted Sep 25, 2009, 9:30 AM
You have to make the text-boxes and combos public rather than private.
If you're working with visual studio, then in the design view of the user-control you should select the text-box, and set its 'modifiers' property to 'public'
Please mark this post as an answer if it helps you
Nir