T
Tony Doyle
Has anybody come across this before...
Basically my issue is this.
In ASP.NET I have a Class module, functions.vb
This inherits from System.Web.UI.Page
In order to use the controls function inside this class, I have used the
following line
Protected WithEvents phTopmostFloat As
System.Web.UI.WebControls.PlaceHolder
And declared this at the top of the module
Inside any .net aspx page, if I inherit from functions.vb instead of
system.web.ui.page, when I want to use my place holder control, I put it on
the page and the
Protected WithEvents phTopmostFloat As
System.Web.UI.WebControls.PlaceHolder
Is then also declared locally in the code behind which then gives errors on
run.
The only way to run the page is to delete the lines in the code behind, the
dynamic help advises to use the Shadows keyword, but this doesn't seem to
work i.e
Protected Shadows WithEvents phTopmostFloat As
System.Web.UI.WebControls.PlaceHolder
Can anyone help me solve this issue...
Cheers
Td
Basically my issue is this.
In ASP.NET I have a Class module, functions.vb
This inherits from System.Web.UI.Page
In order to use the controls function inside this class, I have used the
following line
Protected WithEvents phTopmostFloat As
System.Web.UI.WebControls.PlaceHolder
And declared this at the top of the module
Inside any .net aspx page, if I inherit from functions.vb instead of
system.web.ui.page, when I want to use my place holder control, I put it on
the page and the
Protected WithEvents phTopmostFloat As
System.Web.UI.WebControls.PlaceHolder
Is then also declared locally in the code behind which then gives errors on
run.
The only way to run the page is to delete the lines in the code behind, the
dynamic help advises to use the Shadows keyword, but this doesn't seem to
work i.e
Protected Shadows WithEvents phTopmostFloat As
System.Web.UI.WebControls.PlaceHolder
Can anyone help me solve this issue...
Cheers
Td