473,320 Members | 2,164 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.

Validation error message is not displayed in window 2003(Asp.net ajax application)

Hi All,

I try to create a sample asp.net ajax application in visual studio 2005.
I have 1 textbox, 1 requirefieldvalidator and 1 button. All are in updatepanel.
When I click the button and the value of textbox is empty, I should get an error message of requirefieldvalidator. It works fine in my pc running window xp, but I got a problem in window 2003. It shows the error message only at the first time when the value in textbox is empty, but when I try to enter some text and click submit and finally try to leave the value blank again and click submit then I do not get error message. Anyway, I notice that page is not post back to the server. It means that validation is fire but the error message is not provided.

Any idea?
Oct 22 '08 #1
2 1221
dmj07
55
Do you get a javascript error in the browser?

I have seen that there are problems with having an ASP required field validator inside an update panel, it generates an error.
Oct 22 '08 #2
Thank for your attention.

No, I didn't get javascript error. If you got "Sys is undefined", that is because you didn't configure visual directory as an application in IIS.
Right Click on the virtual directory - select properties and then click on
"Create" next to the "Application" Label and the textbox.

Anyway, I got javascript error when using MultiView inside an update panel with validation control. I have a bad solution how to deal with both, but still want to get answers from others whether they have different solutions otherwise I will consider as a problem from Microsoft.

Thanks.
Oct 23 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ralph | last post by:
HTTP 500 - Internal server error ASP pages I am running Windows 2K with IIS 5.1 and I started having problems accessing ASP databases shortly after applying the MS patch Windows 2000 Hotfix...
1
by: paulus | last post by:
hello , someone nows this problem: Active Server Pages error 'ASP 0201' Ongeldige standaard scripttaal De standaard scripttaal die is opgegeven voor deze toepassing, is ongeldig.
7
by: A P | last post by:
I receive an error like this: Server.MapPath() error 'ASP 0172 : 80004005' Invalid Path /conn.asp, line 2 The Path parameter for the MapPath method must be a virtual path. A physical path...
2
by: Aprochko | last post by:
Attempting to access outlook from C# .NET ASP app. Have added reference to COM Microsoft Outlook 11 Object Library. Have included using System.Runtime.InteropServices; using System.Web.Mail;...
2
by: Pengyu | last post by:
Here are the configurations of my computer: Windows XP Professional IIS 5.1 I tried to new a Web Service project using Visual Studio 2003 Professional at http://localhost/WebService1. It said:...
1
by: KenLee | last post by:
I use asp.net 2.0. I try to use onblur in textbox of asp.net. however, it said that validation(asp.net):attribution onblur is not a valid attribute of element 'textbox' what casuse this...
3
by: Rafael Tejera | last post by:
I'm receiving this error when trying to run a C#2003 ASP.NEt application. The error is the following: Error while trying to run project: Unable to start debugging on the web server. You do...
1
slapshock
by: slapshock | last post by:
hi.... i am using validation application blocks on my project on C#.net... i want to validate one of my textbox which is cost but ht e problem is i got an error... when i input numbers, the...
0
by: jack | last post by:
Im trying to use the Validation Application Component from enterprise library 3.1 which is used to create the validation component For the UI in trying to use PropertyProxyValidator which would...
0
by: =?Utf-8?B?RXZlcnQ=?= | last post by:
Does anybody know if it is possible to use the Validation Application Block from Enterprise Library 3.1 in Linq. The problem is that I don't know how to add the validation attributes to the...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.