473,397 Members | 2,084 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,397 software developers and data experts.

ASP.NET validation controls not working on remote server + event handler

I'm having a problem with an asp.net web app after uploading to the
remote server. It seems that most of the button event handlers are not
firing. This occurs mostly in the form pages for editing info. The
initial data get binded correctly (for an update) but when you click
save, nothing happens. Has anyone seen anything like this?

To confuse the situation a bit more, I have uploaded this solution to
another host account w/ the same company and things perform perfectly.
I'm thinking maybe the server is somehow caching an old copy of the
assembly???

I'm not sure but I need some help!!!

Thanks
Nov 18 '05 #1
3 1806
hi keith,

I think you should check if asp.net client scripts installed to the remote
server.You can use this command tool on the server

aspnet_regiis.exe -c

this file is in C:\WINNT\Microsoft.NET\Framework\v1.1.4322 directory.
"Keith Free Ellis" <ke***@techvisioneer.com> wrote in message
news:9f**************************@posting.google.c om...
I'm having a problem with an asp.net web app after uploading to the
remote server. It seems that most of the button event handlers are not
firing. This occurs mostly in the form pages for editing info. The
initial data get binded correctly (for an update) but when you click
save, nothing happens. Has anyone seen anything like this?

To confuse the situation a bit more, I have uploaded this solution to
another host account w/ the same company and things perform perfectly.
I'm thinking maybe the server is somehow caching an old copy of the
assembly???

I'm not sure but I need some help!!!

Thanks

Nov 18 '05 #2
Hi Keith,

Since you mentioned that the Buttons' click event can't work well, is the
problem occur on those page with validation controls or event a simple page
also suffer this problem? As Ersin has mentioned that the
"aspnet_regiis -c" can help register the asp.net 's clientside scripts on
the serve machine.

But as for your situation, the webserver is a remote host server, we can't
directly do it ourselve. I'm afraid you'd better contact the web host
provider to see whether they can have a check on the server or your web
folder's setting. Do you think so?
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
Hi Keith,

Thanks for your followup. I'm glad that the problem have been resolved. As
for the WebUIValidation.js you mentioned, it contains the client side
scripts that required by the ASP.NET validation controls to perform
clientside validation. It can be installed on the server machine using the
aspnet_regiis.exe with "-c" command option
#ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpgrfASPNETIISRegistrationToolAspnet_regiisexe.asp

And such client resouces file is installed for each website in IIS and
sometimes the file may be corrupted so that the validation controls won't
work well and event cause the page occur strange behavior. And here is
another tech article which discussing the detailed info on the asp.ne
valication control:

#ASP.NET Validation in Depth
http://msdn.microsoft.com/library/en...id.asp?frame=t
rue

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4

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

Similar topics

1
by: Tony | last post by:
Hi folks, I've got a bit of a problem. I have a situation where I build forms completely dynamically based on a form definition supplied from a database. Anyway, I noticed that required fields...
8
by: Donald Xie | last post by:
Hi, I noticed an interesting effect when working with controls that are dynamically loaded. For instance, on a web form with a PlaceHolder control named ImageHolder, I dynamically add an image...
3
by: Earl Teigrob | last post by:
I wanted my "Terms and Conditions" Checkbox control to participate in my ASP.NET validation just like all the the other controls on the page. After some time of searching the web for an example of...
2
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.