Problems converting from 1.1 to 2.0... Problem 1

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top