Controls not persisting from .NET 1.1 to .NET 3.5... - TechRepublic
Question
May 27, 2009 at 01:09 PM
bryan.hampton

Controls not persisting from .NET 1.1 to .NET 3.5…

by bryan.hampton . Updated 17 years, 1 month ago

I have recently migrated an ASP.NET project from .NET 1.1 to .NET 3.5. I’ve gotten rid of most of the errors, but the textboxes from the login screen aren’t persisting. In .NET 1.1, when the user clicked the Login button, the username and password values could be retrieved using this code:
Request.Form(“ctrlLogin:txtLoginPassword”)

However, this code in .NET 3.5 returns “nothing”. I’ve also tried using Context.Items but got the same result. The code is identical so I’m at a loss as to why this is happening. The textboxes are dynamically created, yet the data persists in 1.1 and not 3.5. Is there a setting in 3.5 that needs to be activated?

Thanks

This discussion is locked

All Comments