firstdivision
MIS
Sorry for the Subject, I couldn't think of a good way to describe this problem. The long description is:
I just Find-and-Replaced a bunch of server control from a textbox to a label. However, the in .vb code behinds Visual Studio thinks the controls are undeclared (little blue line under lblName.Text).
The only way to get it to see the new controls seems to be to switch to HTML view in designer and make some drastic change to the HTML, which makes the IDE "see" the new control apparently.
I've even closed the project and re-opened it to no avail. There must be a way to get VS.NET to "re-read" all the controls in the .aspx files? ...I hope so anyway, I don't want to have to manually edit all these files, that's why I used find and replace!!![[nosmiley] [nosmiley] [nosmiley]](/data/assets/smilies/nosmiley.gif)
-FD
I just Find-and-Replaced a bunch of server control from a textbox to a label. However, the in .vb code behinds Visual Studio thinks the controls are undeclared (little blue line under lblName.Text).
The only way to get it to see the new controls seems to be to switch to HTML view in designer and make some drastic change to the HTML, which makes the IDE "see" the new control apparently.
I've even closed the project and re-opened it to no avail. There must be a way to get VS.NET to "re-read" all the controls in the .aspx files? ...I hope so anyway, I don't want to have to manually edit all these files, that's why I used find and replace!!
![[nosmiley] [nosmiley] [nosmiley]](/data/assets/smilies/nosmiley.gif)
-FD