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

ASP.NET client-side validation working, but button click not working

Hello,

I have just copied a new site up to the production server and have
encountered an odd problem. The site uses validation, and this seems to
be working fine. For some reason, link button clicking works fine, but
normal button clicking doesn't do anything.

To clarify, if the page contains...

<asp:LinkButton ID="lOK" Text="OK" OnClick="lOK_Click" RunAt="server" />
<asp:Button ID="bOK" OnClick="bOK_Click" Text="OK" RunAt="server" />

then clicking the first works as expected, but clicking the second
doesn't do anything at all.

I suppose this is something to do with the client-side Javascript, but
I'm not sure what. I have tried copying the aspnet_client files again,
but this didn't help. This all works fine on my development server,
which is running the identical OS, SP, etc.

Any ideas? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #1
1 2856
P.S. did aspnet_regiis -c again, did Ctrl-f5 on the browser and it
worked.

Wonder why it didn't work first time? Oh well.
Hello,

I have just copied a new site up to the production server and have
encountered an odd problem. The site uses validation, and this seems to
be working fine. For some reason, link button clicking works fine, but
normal button clicking doesn't do anything.

To clarify, if the page contains...

<asp:LinkButton ID="lOK" Text="OK" OnClick="lOK_Click" RunAt="server" />
<asp:Button ID="bOK" OnClick="bOK_Click" Text="OK" RunAt="server" />

then clicking the first works as expected, but clicking the second
doesn't do anything at all.

I suppose this is something to do with the client-side Javascript, but
I'm not sure what. I have tried copying the aspnet_client files again,
but this didn't help. This all works fine on my development server,
which is running the identical OS, SP, etc.

Any ideas? TIA


--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #2

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

Similar topics

15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
2
by: Raquel | last post by:
How do I know whether the 'runtime client' and the 'application development client' are installed on my machine? When I issue the command "db2licm -l", it gives the following output: Product...
2
by: Rhino | last post by:
I am trying to verify that I correctly understand something I saw in the DB2 Information Center. I am running DB2 Personal Edition V8.2.1 on Windows. I came across the following in the Info...
2
by: Delmar | last post by:
I need to build Web Application that will generate a client to execute some operations. Each client has running silent application. Maybe somebody can advice me what can I do ? Thank you.
14
by: Ankit Aneja | last post by:
The code of classes given below is for server to which clients connect i want to get ip address of client which has connected pls help how can i get //listen class public class listen {
2
by: J Huntley Palmer | last post by:
I am having a horrific time integrating uw-imap's c-client for imap support in php. The problem is a whole bunch of "Text relocation remains referenced against symbol" errors during linking....
2
by: Frank Swarbrick | last post by:
I am trying to understand "client authentication" works. My environment is DB2/UDB LUW 8.2 on zSeries SLES9 as the database server and DB2 for VSE 7.4 as the client. We currently have DB2/LUW set...
0
by: khu84 | last post by:
Here is client server very simple code, seems to work with telnet but with with web client code gives blank output. Following is the server code:- <?php function...
2
by: nsaffary | last post by:
hi I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.