G
GoCMS
Hi, guys:
I'm developing with .net 2.0 framework. I found the validation control (
no matter it's a required field validation, custom validation or some others
) doesn't really stop the page from posting back.
What happens is even though the error message displays on the page, the
page still posts back to the server with the invalid data. This is pretty
annoying.
I searched online and found some solution, such as
do a "net_regiis.exe -ea " followed by a "net_regiis.exe -c" to delete all
old client-side javascript from previous .net versions and install the
current javascript.
Also I right click the iis property pages and do a "remove application" and
"recreate" the application. This temporarily fixes the problem. I immediately
get a page which stops posting back. However, the moment I do another refresh
the page, this problem comes back, the page consistently sending the invalid
data to server.
So.... after all this story, i wonder, is there any way to fix this issue. I
can't really imagine doing all validation javascript by myself without using
any validator control. Maybe someone here have the same issues and could give
me a clue?
Thank you very much?
I'm developing with .net 2.0 framework. I found the validation control (
no matter it's a required field validation, custom validation or some others
) doesn't really stop the page from posting back.
What happens is even though the error message displays on the page, the
page still posts back to the server with the invalid data. This is pretty
annoying.
I searched online and found some solution, such as
do a "net_regiis.exe -ea " followed by a "net_regiis.exe -c" to delete all
old client-side javascript from previous .net versions and install the
current javascript.
Also I right click the iis property pages and do a "remove application" and
"recreate" the application. This temporarily fixes the problem. I immediately
get a page which stops posting back. However, the moment I do another refresh
the page, this problem comes back, the page consistently sending the invalid
data to server.
So.... after all this story, i wonder, is there any way to fix this issue. I
can't really imagine doing all validation javascript by myself without using
any validator control. Maybe someone here have the same issues and could give
me a clue?
Thank you very much?