PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 1.00 average.

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

 
 
Alan Silver
Guest
Posts: n/a
 
      2nd Aug 2005
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)
 
Reply With Quote
 
 
 
 
Alan Silver
Guest
Posts: n/a
 
      2nd Aug 2005
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)
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Client side validation stopped working! mohaaron@gmail.com Microsoft ASP .NET 0 1st Jun 2006 12:15 AM
Help - client side validation not working, driving me MAD! Alan Silver Microsoft ASP .NET 9 6th Dec 2005 05:53 PM
Client side validation not working =?Utf-8?B?Q2VzYXI=?= Microsoft ASP .NET 0 15th Jun 2005 10:44 PM
Client Side Validation not working shajutc@hotmail.com Microsoft ASP .NET 1 15th Dec 2004 06:37 PM
Client side validation stopped working =?Utf-8?B?dnphZmZpcm8=?= Microsoft ASP .NET 4 24th Nov 2004 10:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:29 AM.