Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET button not working in IE7

Reply
Thread Tools

ASP.NET button not working in IE7

 
 
qhm
Guest
Posts: n/a
 
      05-10-2007
I currently have a page that I've been developing and testing in IE 6
and Firefox. I just recently update to IE 7 and now the button event
doesn't fire.

It works fine in Firefox.

The platform is asp.net 1.1.43

It works in ie6 and firefox 2.0

I've tried add in another button on the same page and the new one also
does not fire.

Has anyone had similar problem to this?

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      05-10-2007
On May 10, 8:47 pm, qhm <mai.quo...@gmail.com> wrote:
> I currently have a page that I've been developing and testing in IE 6
> and Firefox. I just recently update to IE 7 and now the button event
> doesn't fire.
>
> It works fine in Firefox.
>
> The platform is asp.net 1.1.43
>
> It works in ie6 and firefox 2.0
>
> I've tried add in another button on the same page and the new one also
> does not fire.
>
> Has anyone had similar problem to this?


Maybe there is a javascript error? Try to check it. Internet Options -
Advanced, under Browsing - check display a notification about every
script error, uncheck disable script debugging... It helps to find if
there any problem with the client scripts

 
Reply With Quote
 
 
 
 
qhm
Guest
Posts: n/a
 
      05-11-2007
On May 10, 3:22 pm, Alexey Smirnov <alexey.smir...@gmail.com> wrote:
> On May 10, 8:47 pm, qhm <mai.quo...@gmail.com> wrote:
>
> > I currently have a page that I've been developing and testing in IE 6
> > and Firefox. I just recently update to IE 7 and now the button event
> > doesn't fire.

>
> > It works fine in Firefox.

>
> > The platform is asp.net 1.1.43

>
> > It works in ie6 and firefox 2.0

>
> > I've tried add in another button on the same page and the new one also
> > does not fire.

>
> > Has anyone had similar problem to this?

>
> Maybe there is a javascript error? Try to check it. Internet Options -
> Advanced, under Browsing - check display a notification about every
> script error, uncheck disable script debugging... It helps to find if
> there any problem with the client scripts


I figured it out. It happens when I created a new website on a new IIS
server to run my app. The IIS does not automatically map the script
directory to .NET for you, you have to map it yourself. So all the
pages with validation control on them will not respond to button
firing.

Solution: after I create any website, just go to the proper .NET
framework directory and type the command
aspnet_regiis -c

to install/update/map all your websites with the script map

Becareful if you run multiple .NET version apps on the same machine
though it will make the script map default for the version that your
executing from.

If you want to update the script map for 1.1.43 for app1 (located in C:
\app1) you will do
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_ regiis -s C:\app1

And you want to update the script map for 2.0 for app2 (located in C:
\app2) you will do
C:\WINNT\Microsoft.NET\Framework\v2.0\aspnet_regii s -s C:\app2


Hope this helps to anyone who encountered this problem.

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
IE7 and IE7 64-bit in Vista 64-bit 007 Windows 64bit 1 10-28-2008 08:46 PM
How do I setup a 32 bit IE7 since I'm using a 64 Bit IE7 =?Utf-8?B?RXVnZW5l?= Windows 64bit 3 05-06-2007 01:18 PM
IE7 on XP vs IE7 on Vista Jeff Louella HTML 9 03-02-2007 02:25 AM
ASP.NET client-side validation working, but button click not working Alan Silver ASP .Net 1 08-02-2005 03:50 PM
Button created with dim new button click event is not working gce ASP .Net 2 04-11-2005 07:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57