473,320 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Clientside validation not working

I have a scenario where a required field validator works fine on my
machine - it fails validation on the field and does not post back when I
click the submit button, showing my error message.

The same project on the test server works as expected.

But when I place the project into live, the control does not validate at the
client and posts back, only to get caught at the server.

Thanks

Eddie
Nov 18 '05 #1
4 1015
The difference between live and the other 2 is live has a WINS address and
the others are virtual directories e.g. live = http://<sitename> and test
has http://<servername>/<sitename>
"Eddie Dodd" <nospam@nospam> wrote in message
news:##**************@tk2msftngp13.phx.gbl...
I have a scenario where a required field validator works fine on my
machine - it fails validation on the field and does not post back when I
click the submit button, showing my error message.

The same project on the test server works as expected.

But when I place the project into live, the control does not validate at the client and posts back, only to get caught at the server.

Thanks

Eddie

Nov 18 '05 #2
Do you have the scriptMaps installed on the live servers?

Try from the directory where you current version of .net is installed:
ASPNET_REGIIS -s

Hope this helps.

"Eddie Dodd" <nospam@nospam> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
The difference between live and the other 2 is live has a WINS address and
the others are virtual directories e.g. live = http://<sitename> and test
has http://<servername>/<sitename>
"Eddie Dodd" <nospam@nospam> wrote in message
news:##**************@tk2msftngp13.phx.gbl...
I have a scenario where a required field validator works fine on my
machine - it fails validation on the field and does not post back when I
click the submit button, showing my error message.

The same project on the test server works as expected.

But when I place the project into live, the control does not validate at

the
client and posts back, only to get caught at the server.

Thanks

Eddie


Nov 18 '05 #3
I think it is the client side scripts he would need:

aspnet_regiis -c

The script map options are for the server to determine how to handle a
request, like mapping .aspx to Aspnet_isapi.dll.

--
Scott
http://www.OdeToCode.com

On Wed, 26 May 2004 17:46:32 -0400, "Donald E. Hurley Jr."
<Sp***************@hotmail.com.No_spam_Good> wrote:
Do you have the scriptMaps installed on the live servers?

Try from the directory where you current version of .net is installed:
ASPNET_REGIIS -s

Hope this helps.

"Eddie Dodd" <nospam@nospam> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
The difference between live and the other 2 is live has a WINS address and
the others are virtual directories e.g. live = http://<sitename> and test
has http://<servername>/<sitename>
"Eddie Dodd" <nospam@nospam> wrote in message
news:##**************@tk2msftngp13.phx.gbl...
> I have a scenario where a required field validator works fine on my
> machine - it fails validation on the field and does not post back when I
> click the submit button, showing my error message.
>
> The same project on the test server works as expected.
>
> But when I place the project into live, the control does not validate at

the
> client and posts back, only to get caught at the server.
>
> Thanks
>
> Eddie
>
>



Nov 18 '05 #4
Thanks to both who responded.

Eddie

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:7c********************************@4ax.com...
I think it is the client side scripts he would need:

aspnet_regiis -c

The script map options are for the server to determine how to handle a
request, like mapping .aspx to Aspnet_isapi.dll.

--
Scott
http://www.OdeToCode.com

On Wed, 26 May 2004 17:46:32 -0400, "Donald E. Hurley Jr."
<Sp***************@hotmail.com.No_spam_Good> wrote:
Do you have the scriptMaps installed on the live servers?

Try from the directory where you current version of .net is installed:
ASPNET_REGIIS -s

Hope this helps.

"Eddie Dodd" <nospam@nospam> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
The difference between live and the other 2 is live has a WINS address and the others are virtual directories e.g. live = http://<sitename> and test has http://<servername>/<sitename>
"Eddie Dodd" <nospam@nospam> wrote in message
news:##**************@tk2msftngp13.phx.gbl...
> I have a scenario where a required field validator works fine on my
> machine - it fails validation on the field and does not post back when I > click the submit button, showing my error message.
>
> The same project on the test server works as expected.
>
> But when I place the project into live, the control does not validate at the
> client and posts back, only to get caught at the server.
>
> Thanks
>
> Eddie
>
>

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Niclas Lindblom | last post by:
Hi, I have a datagrid with linkbuttons. I would like to catch the click event when a link button has been clicked and use the string from the text value of the link button in a clientside Java...
4
by: TJS | last post by:
how do I get "onSubmit" to work in .net ? <Form id="Form1" name="Form1" method="post" onSubmit="return validateStandard(this, 'error');" runat="server">
1
by: Dennis Calla | last post by:
I recently moved my app to a hosted environment and the validation stopped working (i had it on my own webserver). I put an alert in the validation javascript file so I know it is being called. ...
1
by: Paul | last post by:
Hi Guys and Girls I am trying to disable the clientside validation (Required Fields) by using the ValidatorEnable(id,false), which works find from the point of view that the client side script...
1
by: Kris | last post by:
Hi, I have a DataGrid where in each row has couple of text boxes and an update button. Each row is dynamically generated as the number of rows are not known ahead of time. When the user clicks the...
1
by: MattC | last post by:
I have a user control that contains several requiredFieldValidators. The page the control sits in has other RequiredFieldValidators. On submitting the form all the validators on the page fire and...
1
by: IkBenHet | last post by:
Hello, Currently I am using a large input form on a website that is based on ASP and JavaScript. Depending on the values that are filled in by the user the forms does a refresh and makes...
3
by: Jon Paal | last post by:
using VWD and asp.net 2.0 how do I enable clientside validation in ligin control ? Following code does not produce popup alerts or red asterisks . ==================== <div id="content">...
7
by: mc | last post by:
I've not been able to get a Check box to client side validated on postback. with my changes I can get it to work on the serverside ok but not on the client. I have created a new control as...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.