I have posted this in the Extend IT! Forum, but thought I would try here as well, in case someone with similar experience visits this forum and not the other. My apologies in advance for double posting. Here goes:
I am having a problem with a RegularExpressionValidator not working properly in a module on our DNN portal. I want to make sure there is not a known issue with .net validators and DNN framework so I'll know how to proceed with this issue.
We have an outside vendor that has developed a portal application for us, but we also do some module development. The vendor has used DNN version 1.x. They have informed me that there were no changes made to the Framework aside from changing the name of the namespace, but they did make some minor changes to some of the core DNN modules.
Here is a description of the problem. I originally developed this module as an .aspx page. The regularExpressionValidator worked normally as it should on the original .aspx page. Then I was asked to place it on the portal. I first converted to code to a control, tested it locally on my development machine, and the validator still worked as it should - if you put an incorrectly formatted number in a certain textbox, as soon as you leave the textbox, the validator's error message appears and you can't submit the form. Then, I added the required changes to the control to place it on the portal and once on the portal, the validator no longer works correctly. On the portal if you type an incorrectly formatted number into the textbox you don't get the error message until you actually submit the page. Also, it doesn't prevent the code in the submit button control from executing, it simply displays the validator's error message, but the code continues to execute as if there is no error. Does anyone know if there are any known issues with the earlier version of DNN framework and .NET validator controls? It will make a difference as to how I proceed. If I need to plan on validating by another method, that's fine, I can think of a couple of different things to do, but I still would like to know if DNN framework has known issues with .NET validator controls because we are planning on adding quite a few modules to our portal. We don't have control over when we can upgrade the DNN framework because it is part of our vendor-supplied software.
Sincerest thanks in advance to anyone who can offer insight!
Patricia Norris - .NET Programmer/Analyst - St Lucie County School Board