Re: Reference page cast not working
- From: thestatsguy@xxxxxxxxx
- Date: 23 Nov 2005 07:09:12 -0800
Sure enough a search in the aspnet groups found something that might
help you:
http://groups.google.ca/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/8c1c8fbe9e5fe956/d2276c25d7287180?lnk=st&q=Unable+to+cast+object+of+type+'ASP.&rnum=3&hl=en#d2276c25d7287180
The VS 2005 conversion tool did not properly convert my explicit @
Reference directive tags on the .ascx page, probably becuase no static
control of that type actually appears as a static control on the page.
It has been suggested that reference tags should be included on the
static page when using LoadControl() to load controls dynamically in
the code behind. To ensure that the tag is correct I actually drag the
user control on the design view of the page and then delete it.
.
- References:
- Re: Reference page cast not working
- From: thestatsguy
- Re: Reference page cast not working
- Prev by Date: Re: Diagnostics.Process starts exe's which raise SecurityException's
- Next by Date: Re: XmlSerialization over a NetworkStream
- Previous by thread: Re: Reference page cast not working
- Next by thread: Re: how to run multiple instances of a windows service
- Index(es):
Relevant Pages
|