Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

html property requires changing

$
0
0
Hi,
I'm working on a login page for an website app and since it's the same layout and format as all our apps, I just copied the html and code pages from another app. Now the fun begins...

I save and close my work for the day. The next day I open the project and in the code page for the login screen are dozens of errors, mostly all the same "LoginUser" not defined (this is the id of the asp:login control in the html). I move the code file to the CodeBehind property and the 'not defined' errors go away....wth!

Save and close the project for the day and when I open it again, guess what! "LoginUser" not defined in the code file again. Move the code file back to the CodeFile property and viola, erros go away.

Anyone seen this behavior?
Red.

Viewing all articles
Browse latest Browse all 3938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>