Re: Reference page cast not working



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.

.



Relevant Pages

  • Re: Why dont people like lisp?
    ... You can have files close automatically in Python, ... that will occur when control returns from the function. ... that reference them will become unsound. ... explicit management that C++ requires, ...
    (comp.lang.python)
  • RE: Built in function errors.
    ... located on other tabs in a tab control. ... I had to find a way to use the reference. ... TLBs on the client computer. ... reselect libraries simply makes the application not worth building using ...
    (microsoft.public.access.modulesdaovba)
  • Re: Reference forms and fields with variables
    ... There are so many ambiguities here, that it may not really help to follow ... If Field2 is a field in the underlying recordset, ... but the reference is unstable. ... LinkChildFields property of a subform is NOT represented by a control in the ...
    (microsoft.public.access.formscoding)
  • RE: f7s4r4v
    ... speaking this is a reference to the current instance of the class, ... Similarly any references to a control on the form simply by the ... Private Sub Form_AfterUpdate ... intSecond As Integer) ...
    (microsoft.public.access.gettingstarted)
  • Re: Referencing problem
    ... Re:> Activecontrol does not return the correct reference for controls ... Dim ctlSpell As Control ... If TypeOf ctlSpell Is TextBox Then ... If the tab is on a subform, ...
    (comp.databases.ms-access)