T
Tony Doyle
All,
Using .NET 1.1, I have built a custom control, however I am having trouble
compiling it.
For the on click event of the button, I want it to run a function that is
already on my aspx page.
As the .NET compiler cannot see this page / function at compile time, does
anyone know of a way I can call the underlying function.
private void ibLogIn_Click( object item, ImageClickEventArgs args )
{
HttpContext.Current.Session["LoggedInAs"] = tbUsername.Text;
SystemLogin(tbUsername.ToString(), tbPassword.ToString());
}
In this case, it's the systemlogin procedure I'm trying to call.
Cheers
Tony
Using .NET 1.1, I have built a custom control, however I am having trouble
compiling it.
For the on click event of the button, I want it to run a function that is
already on my aspx page.
As the .NET compiler cannot see this page / function at compile time, does
anyone know of a way I can call the underlying function.
private void ibLogIn_Click( object item, ImageClickEventArgs args )
{
HttpContext.Current.Session["LoggedInAs"] = tbUsername.Text;
SystemLogin(tbUsername.ToString(), tbPassword.ToString());
}
In this case, it's the systemlogin procedure I'm trying to call.
Cheers
Tony