Problems converting from 1.1 to 2.0... Problem 1

  • Thread starter Thread starter Wayne
  • Start date Start date
W

Wayne

I am having a tremendous amount of problems converting a current web
application over to ASP.NET/VB.NET 2.0.



I have managed to fix all the errors except 7 to 10 of them (depending on
the mood of VS.NET 2005 when it builds).









A couple of the remaining errors have to do with the way I go from a User
Control, find the parent and call a function or populate a control. The
problem is, I can not seem to find a way to do this in 2.0; it can not even
find the name on page or user control. Keep in mind all this code worked
before the conversion.



For example, in 1.1 this worked.



Dim pCntrl As uc_status_managePhotos = CType(Me.Parent.Parent.Parent,
uc_status_managePhotos)



But now it can not even find uc_status_managePhotos.

Thanks

-Wayne
 
Try putting your usercontrol codebehind files in the APP_CODE folder. That's
what ASP.NET 2.0 expects. Or, download the new Web Application Projects
add-in and convert the project that way (much more like VS.NET 2003 model).
Peter
 
Back
Top