Change web controls in one user control from another user control

G

Guest

Hi,

I have a user control that produces and maintains a student form for test
enrollment. It contains all functionality such as adding, editing,
suspending, etc., a student from a selected test instance.

The main page uses the student form control (above), plus a control that
produces the button pad (for administrative functionality) and one that
produces a student roster.

I need the student form control to be able to enable or disable buttons
located in the button pad control. How do I do that?

Thanks in advance,

Jim Hawley
 
G

Guest

The button pad control has to expose (i.e. make public) properties that allow
the parent control (the student form control) to change the Enabled attribute
values for the buttons that you wish to disable.
 
G

Guest

Problem is that the student form control is not the parent of the button pad
control, it's a sibling. Sort of like the Master Page and Content Pages,
except the content page is the parent. I need one sibling to be able to do
something with controls in another.

Jim H.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top