locked
RequiredFieldValidator not working after publishing to Server RRS feed

  • Question

  • Hey, 

     Just looking for a little bit of assistance on a problem I am having after publishing my web application to windows 2008/iis7 server. The target framework is v4.5.

    The problem is with the RequiredFieldValidator not working once the web application has been published. Running it locally on my development machine works without any issues. It's only after publishing to server is when it fails. 

    Where it gets very strange though is, on one page in particular, I have 2 validation groups. The first one works, yet the second one doesn't.. Again this works fine locally... So I am ruling out a code problem.

    I have read some solutions that relate to older release of the .NET Framework, but I am stumped on what is causing this....

    Has anyone run into something similar?

    Any info would be great!

    Cheers

    Dave

    • Moved by Caillen Monday, September 30, 2013 8:27 AM
    Saturday, September 28, 2013 11:50 PM

Answers

  • for help in asp.net controls, visit forums.asp.net. 

    This forum is for the C# language.



    Visual C++ MVP

    • Proposed as answer by Just Karl Monday, September 30, 2013 3:00 PM
    • Marked as answer by Just Karl Wednesday, October 9, 2013 2:28 PM
    Sunday, September 29, 2013 1:12 AM

All replies

  • for help in asp.net controls, visit forums.asp.net. 

    This forum is for the C# language.



    Visual C++ MVP

    • Proposed as answer by Just Karl Monday, September 30, 2013 3:00 PM
    • Marked as answer by Just Karl Wednesday, October 9, 2013 2:28 PM
    Sunday, September 29, 2013 1:12 AM
  • If RequiredFieldValidator cretaes javascript, then it might be that you have a cached version on your pc.

    Try to hard refresh (SHIFT + F5) the page and see if it helps.

     

    Noam B.



    Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you...

    • Proposed as answer by Noam B Tuesday, October 1, 2013 9:55 AM
    Sunday, September 29, 2013 9:51 AM