U
ultplyr
From within my user control I need to access a method of the page that
hosts the user control. I can do this by casting the page to the page
that I need, but I don't know this at runtime.
example:
from within my control :
myDatagrid.DataSource = ((vieworders.aspx)Page).PageMethod();
is there a way to do this without casting.
ie:
dgrdToPage.DataSource = Page.PageMethod();
thanks.
hosts the user control. I can do this by casting the page to the page
that I need, but I don't know this at runtime.
example:
from within my control :
myDatagrid.DataSource = ((vieworders.aspx)Page).PageMethod();
is there a way to do this without casting.
ie:
dgrdToPage.DataSource = Page.PageMethod();
thanks.