473,800 Members | 2,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_Cl ientValidate) == 'function') Page_ClientVali date(); "
language="javas cript" id="btnButton" src="/images/buttonimg.gif"
alt="Buttin" align="AbsBotto m" border="0" />

whereas the working page has the following

<td vAlign="bottom" align="left" width="79"><inp ut type="image"
name="btnButton " id="btnButton" src="/images/buttonimg.gif" alt="Button"
align="AbsBotto m" 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 1459
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******** ************@pi pex.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_Cl ientValidate) == 'function') Page_ClientVali date(); "
language="javas cript" id="btnButton" src="/images/buttonimg.gif"
alt="Buttin" align="AbsBotto m" border="0" />

whereas the working page has the following

<td vAlign="bottom" align="left" width="79"><inp ut type="image"
name="btnButton " id="btnButton" src="/images/buttonimg.gif" alt="Button"
align="AbsBotto m" 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

"Christophe r Reed" <ca****@nospam. nospam> wrote in message
news:%2******** ********@TK2MSF TNGP11.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******** ************@pi pex.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_Cl ientValidate) == 'function') Page_ClientVali date(); "
language="javas cript" id="btnButton" src="/images/buttonimg.gif"
alt="Buttin" align="AbsBotto m" border="0" />

whereas the working page has the following

<td vAlign="bottom" align="left" width="79"><inp ut type="image"
name="btnButton " id="btnButton" src="/images/buttonimg.gif" alt="Button"
align="AbsBotto m" 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
6631
by: Ralph Freshour | last post by:
Is it possible to inhibit the browser Back/Fwd buttons via PHP? Thanks...
9
1742
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 various comboboxes and textboxes on my form. when they are satisfied they press OK. the row is then displayed in my datagrid. I now automaticcaly want 2 link buttons to appear next to the row that allows the user to delete the row or edit it.
5
5060
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 form record. In each page of the tab control, there are three buttons: Add, Update, Delete. Any of these buttons will open another, smaller form to add, update or delete the related data record. Originally, I had placed the smaller form such...
3
2569
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: http://www.drpt.virginia.gov/temp1.gif All the fields on this form have validation controls on them so they can not submit the form unless all fields are completed and some fall within a specified numeric range. When the form first is loaded,...
2
1950
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) to determine what options should be available for this particular item (which is an issue... small issue tracking system). Each of these options is an action that may be performed on the issue and I am dynamically creating LinkButtons for each...
0
1449
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 adds a handler to the click event. When a button is clicked, the background-color is set to blue.
6
2052
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 SQL reports. Now after viewing the report when I hit the Baxk Button on my browser. and then I click the image buttons, nothing happens. Any ideas why this is happening?
2
5897
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 the form by changing the visible state of the radio buttons and labels utilising back and next buttons. E.g. Next button makes current radio buttons and labels invisible and
1
3145
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. I’ve been successful in doing this for most of the buttons, but I’m having trouble reprogramming some Apply Filter buttons on one form and could use some help. So I have a Contacts List form that lists all of the division’s staff members...
0
9690
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10033
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.