G
Guest
I have a default.aspx page. Default.aspx has placeholders. ASCX user controls
are loaded into these placeholders at Page_Load.
Each user control has a MultiView, within that there are two views for each
user control. One view is the “readonly†view and the other is the “Edit†view
The key is that I only want one user control to be in EDIT mode at a given
time. If the user tries to change the ActiveViewIndex of control A to be in
EDIT mode, then I want to reset the ActiveViewIndex of all other controls =
0; for all other user controls’ MultiView objects (B,C,D). . Likewise, if
they go into “edit mode†on user control B, then A,C,D need to reset their
ActiveViewIndex = 0;
How do I access the ActiveViewIndex of the other user controls outside the
current control I’m processing? (given that each control is defined within
its own .ASCX page? ). I did change the cancel buttons on each of the user
controls from protected to public, but Im stuck from there.
Any help appreciated. I hope this made sense.
are loaded into these placeholders at Page_Load.
Each user control has a MultiView, within that there are two views for each
user control. One view is the “readonly†view and the other is the “Edit†view
The key is that I only want one user control to be in EDIT mode at a given
time. If the user tries to change the ActiveViewIndex of control A to be in
EDIT mode, then I want to reset the ActiveViewIndex of all other controls =
0; for all other user controls’ MultiView objects (B,C,D). . Likewise, if
they go into “edit mode†on user control B, then A,C,D need to reset their
ActiveViewIndex = 0;
How do I access the ActiveViewIndex of the other user controls outside the
current control I’m processing? (given that each control is defined within
its own .ASCX page? ). I did change the cancel buttons on each of the user
controls from protected to public, but Im stuck from there.
Any help appreciated. I hope this made sense.