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

asp Buttons not clicking

I have an ASP.Net site with a number of asp:button on it. When I run under
localhost (Windows XP, VS 2003, Dotnet 1.1.4322), clicking these buttons
works. However, transfering the site to a Windows 2000 server, IIS 5 machine
also with Dotnet 1.1.4322, the buttons do not react. Looking at the html of
the working and non working pages, I see that the non working page button
has the following

<input type="image" name="btnButton" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="btnButton" src="/images/buttonimg.gif"
alt="Buttin" align="AbsBottom" border="0" />

whereas the working page has the following

<td vAlign="bottom" align="left" width="79"><input type="image"
name="btnButton" id="btnButton" src="/images/buttonimg.gif" alt="Button"
align="AbsBottom" border="0" /></td>

Can anyone tell me why they should be different?

I notice that the files in the ASP_Client directory are different (older on
the non working version) but I have tried copying the later versions but to
no effect.

I also tried aspnet_regiis -c but it says I need to have administrator
access. Given I have signed on as Administrator, this has also left me a
little confused.

Any help would be gratefully received

Thanks

Kevin
Jan 5 '06 #1
2 1437
Do you have javascript active on your W2K machine?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Kevin" <Ke****@n-o-s-p-a-m.dsl.pipex.com> wrote in message
news:16********************@pipex.net...
I have an ASP.Net site with a number of asp:button on it. When I run under
localhost (Windows XP, VS 2003, Dotnet 1.1.4322), clicking these buttons
works. However, transfering the site to a Windows 2000 server, IIS 5
machine also with Dotnet 1.1.4322, the buttons do not react. Looking at the
html of the working and non working pages, I see that the non working page
button has the following

<input type="image" name="btnButton" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="btnButton" src="/images/buttonimg.gif"
alt="Buttin" align="AbsBottom" border="0" />

whereas the working page has the following

<td vAlign="bottom" align="left" width="79"><input type="image"
name="btnButton" id="btnButton" src="/images/buttonimg.gif" alt="Button"
align="AbsBottom" border="0" /></td>

Can anyone tell me why they should be different?

I notice that the files in the ASP_Client directory are different (older
on the non working version) but I have tried copying the later versions
but to no effect.

I also tried aspnet_regiis -c but it says I need to have administrator
access. Given I have signed on as Administrator, this has also left me a
little confused.

Any help would be gratefully received

Thanks

Kevin

Jan 6 '06 #2
I certainly do. Other JS stuff works fine.

Kevin

"Christopher Reed" <ca****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Do you have javascript active on your W2K machine?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Kevin" <Ke****@n-o-s-p-a-m.dsl.pipex.com> wrote in message
news:16********************@pipex.net...
I have an ASP.Net site with a number of asp:button on it. When I run under
localhost (Windows XP, VS 2003, Dotnet 1.1.4322), clicking these buttons
works. However, transfering the site to a Windows 2000 server, IIS 5
machine also with Dotnet 1.1.4322, the buttons do not react. Looking at
the html of the working and non working pages, I see that the non working
page button has the following

<input type="image" name="btnButton" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="btnButton" src="/images/buttonimg.gif"
alt="Buttin" align="AbsBottom" border="0" />

whereas the working page has the following

<td vAlign="bottom" align="left" width="79"><input type="image"
name="btnButton" id="btnButton" src="/images/buttonimg.gif" alt="Button"
align="AbsBottom" border="0" /></td>

Can anyone tell me why they should be different?

I notice that the files in the ASP_Client directory are different (older
on the non working version) but I have tried copying the later versions
but to no effect.

I also tried aspnet_regiis -c but it says I need to have administrator
access. Given I have signed on as Administrator, this has also left me a
little confused.

Any help would be gratefully received

Thanks

Kevin


Jan 6 '06 #3

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

Similar topics

8
by: Ralph Freshour | last post by:
Is it possible to inhibit the browser Back/Fwd buttons via PHP? Thanks...
9
by: Lina | last post by:
Hi, Can anyone tell me if it is possible to add link buttons to a datagrid that has its source set to a datatable that i have created? i.e i want the user to be able to select a room from...
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
3
by: D. Shane Fowlkes | last post by:
Sorry for the length of this post. I have created a rather complex form which has a header/line item (parent and child records) structure. It's for an intranet. A screenshot can be seen here: ...
2
by: djc | last post by:
On the page_load event I am querying a database and binding data to some text boxes, list boxes, and a repeater control. When the page loads it uses the value of one of the database fields (status)...
0
by: Klaus Jensen | last post by:
Hi! This has been annoying me for a while now, and I can't get it to work It is really driving me nuts! Basicly this simple webapp created to illustrate my problem, renders five buttons, and...
6
by: pmud | last post by:
Hi, I have created a very simple ASP.NET application which has a couple of ImageButtons which go to different SQL reports on clicking them. I have used Response.Redirect to send the user to the ...
2
by: dpazza | last post by:
Hi, I'm creating a quiz on using a form in VB 2005 express. I have four sets of questions and answers (labels and radio buttons) and I change between which set of questions is currently shown on...
1
by: eHaak | last post by:
A couple years ago, I built a database in MS Access 2003. I built the form using macros in some of the command buttons, and now I’m trying to eliminate the macros and just use visual basic code. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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.