Hi,
I'm a bit of a newbie in this asp business, so forgive any inaccuracies.
I have a user control (contained in the main page, Default.aspx, of the application) which contains an asp:Hyperlink. The control file is called Login.ascx.
Its code-behind file is called Login.ascx.cs.
This hyperlink's NavigateURL leads to another page, opened as a frame, where the user logs in - Login.aspx.
The submit button in this page calls a function, Button_click, in the code behind, in Login.aspx.cs.
When Button_click is done, I want to call a function which is defined in the code behind of the user control, in Login.ascx.cs.
How do I do that? how do I access the code in the opening page, which is a user control? I've not been able to figure it out yet...
Thanks
I'm a bit of a newbie in this asp business, so forgive any inaccuracies.
I have a user control (contained in the main page, Default.aspx, of the application) which contains an asp:Hyperlink. The control file is called Login.ascx.
Its code-behind file is called Login.ascx.cs.
This hyperlink's NavigateURL leads to another page, opened as a frame, where the user logs in - Login.aspx.
The submit button in this page calls a function, Button_click, in the code behind, in Login.aspx.cs.
When Button_click is done, I want to call a function which is defined in the code behind of the user control, in Login.ascx.cs.
How do I do that? how do I access the code in the opening page, which is a user control? I've not been able to figure it out yet...
Thanks