see07
Regular
Hello everybody:
Now Im using 2 WebUserControls in the window.
When an user clicks a button placed into WebUserControl 1, I need to launch the Page_Load event of WebUserControl 2. How can I do this?
I attempted launch Page_Load event of WebUserControl 2 from a button inside WebUserControl 1 thus
IntranetV2.ConsultaPeticIntra.Peticion parent = (IntranetV2.ConsultaPeticIntra.Peticion) this.Page;
parent.Page_Load(sender, e);
In WebUserControl 2 I have:
namespace IntranetV2.ConsultaPeticIntra
public abstract class Peticion : ASPNetPortal.PortalModuleControl
When I compile the project send the errors: CS0030 and CS0246.
What is wrong with this?
Are there somebody to help me?
I suspect it is because Peticion is a public abstract class.
Ill appreciate your suggestions
A.L.
Now Im using 2 WebUserControls in the window.
When an user clicks a button placed into WebUserControl 1, I need to launch the Page_Load event of WebUserControl 2. How can I do this?
I attempted launch Page_Load event of WebUserControl 2 from a button inside WebUserControl 1 thus
IntranetV2.ConsultaPeticIntra.Peticion parent = (IntranetV2.ConsultaPeticIntra.Peticion) this.Page;
parent.Page_Load(sender, e);
In WebUserControl 2 I have:
namespace IntranetV2.ConsultaPeticIntra
public abstract class Peticion : ASPNetPortal.PortalModuleControl
When I compile the project send the errors: CS0030 and CS0246.
What is wrong with this?
Are there somebody to help me?
I suspect it is because Peticion is a public abstract class.
Ill appreciate your suggestions
A.L.