R
RKT
(Web Developer Express 2005, CSharp, C#)
I've searched high and low...
If have the typical _Default page. In it is a MultiView that contains
another MultiView - in both of those are Views containing my specialized
UserControls.
In any of those views, I need to acess the _Default page (parent, several
times removed). I would like a strongly typed mechanism, but at this point,
would settle to downcast it.
But I can't seem to be able to use it's 'type' in an expression without the
compiler complaint that the type is not known.
I have tried various efforts to define, reference or import the namespace
including the @Directives in the .ascx files. The only mechanism that seems
valid results in a complaint of circular reference.
(Have seen MasterPage-related directive that may work, but not using that
architecture (yet...))
Is there a prescribed method to do this?
I've searched high and low...
If have the typical _Default page. In it is a MultiView that contains
another MultiView - in both of those are Views containing my specialized
UserControls.
In any of those views, I need to acess the _Default page (parent, several
times removed). I would like a strongly typed mechanism, but at this point,
would settle to downcast it.
But I can't seem to be able to use it's 'type' in an expression without the
compiler complaint that the type is not known.
I have tried various efforts to define, reference or import the namespace
including the @Directives in the .ascx files. The only mechanism that seems
valid results in a complaint of circular reference.
(Have seen MasterPage-related directive that may work, but not using that
architecture (yet...))
Is there a prescribed method to do this?