473,394 Members | 1,761 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,394 software developers and data experts.

Button click not working

I have developed a website with several (30) pages that works just fine on my
development machine (XP Pro SP2). When I move the site to the server (W2K3)
I have 7 pages where a mouse click on a button does nothing. All of the
other pages work as expected. I can locate nothing that is different about
these pages. They all take some user input, use validation controls and the
button is just a Submit button. I have other pages on the site that have the
same functionality and they work OK. I have rebuilt the solution and made
sure all of the aspx pages were the latest versions. Any ideas of what else
to look for would be very much appreciated.

--
Charlie Jursch
Patotech Software, Inc.
Danville, CA
Nov 19 '05 #1
5 1757
It's probably because your button click event became ummapped. That can
happen due to various reasons. Check the code to make sure your button is
mapped to its event handler.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Charlie J" <Ch******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
I have developed a website with several (30) pages that works just fine on
my
development machine (XP Pro SP2). When I move the site to the server
(W2K3)
I have 7 pages where a mouse click on a button does nothing. All of the
other pages work as expected. I can locate nothing that is different
about
these pages. They all take some user input, use validation controls and
the
button is just a Submit button. I have other pages on the site that have
the
same functionality and they work OK. I have rebuilt the solution and made
sure all of the aspx pages were the latest versions. Any ideas of what
else
to look for would be very much appreciated.

--
Charlie Jursch
Patotech Software, Inc.
Danville, CA

Nov 19 '05 #2
I have this happening on regular basic. Why does it happen?
Thanks
Shimon
www.siatadev.com

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
It's probably because your button click event became ummapped. That can
happen due to various reasons. Check the code to make sure your button is
mapped to its event handler.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Charlie J" <Ch******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
I have developed a website with several (30) pages that works just fine on
my
development machine (XP Pro SP2). When I move the site to the server
(W2K3)
I have 7 pages where a mouse click on a button does nothing. All of the
other pages work as expected. I can locate nothing that is different
about
these pages. They all take some user input, use validation controls and
the
button is just a Submit button. I have other pages on the site that have
the
same functionality and they work OK. I have rebuilt the solution and
made
sure all of the aspx pages were the latest versions. Any ideas of what
else
to look for would be very much appreciated.

--
Charlie Jursch
Patotech Software, Inc.
Danville, CA


Nov 19 '05 #3
I am not sure how a button event can work on one machine and become
"unmapped" on antoher machine. Where should I be checking? Normally the
button event is hidden in C#. There is no user code to make a button event
occur other than mapping the same OnClick in the aspx page to the function
name in the code behind file.

"Alvin Bruney [MVP]" wrote:
It's probably because your button click event became ummapped. That can
happen due to various reasons. Check the code to make sure your button is
mapped to its event handler.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Charlie J" <Ch******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
I have developed a website with several (30) pages that works just fine on
my
development machine (XP Pro SP2). When I move the site to the server
(W2K3)
I have 7 pages where a mouse click on a button does nothing. All of the
other pages work as expected. I can locate nothing that is different
about
these pages. They all take some user input, use validation controls and
the
button is just a Submit button. I have other pages on the site that have
the
same functionality and they work OK. I have rebuilt the solution and made
sure all of the aspx pages were the latest versions. Any ideas of what
else
to look for would be very much appreciated.

--
Charlie Jursch
Patotech Software, Inc.
Danville, CA


Nov 19 '05 #4
Usually, and for me, it happens when i pull down a new aspx version from
source safe. Other times, I don't really know why it becomes unmapped.

Did you verify that it is actually unmapped?
Pull up the property pages and inspect the click event property page. If the
click event is empty, it is unmapped and you should simply remap it and
rebuild the solution, otherwise, that aint the problem and you need to look
elsewhere.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Charlie J" <Ch******@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
I am not sure how a button event can work on one machine and become
"unmapped" on antoher machine. Where should I be checking? Normally the
button event is hidden in C#. There is no user code to make a button
event
occur other than mapping the same OnClick in the aspx page to the function
name in the code behind file.

"Alvin Bruney [MVP]" wrote:
It's probably because your button click event became ummapped. That can
happen due to various reasons. Check the code to make sure your button is
mapped to its event handler.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Charlie J" <Ch******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
>I have developed a website with several (30) pages that works just fine
>on
>my
> development machine (XP Pro SP2). When I move the site to the server
> (W2K3)
> I have 7 pages where a mouse click on a button does nothing. All of
> the
> other pages work as expected. I can locate nothing that is different
> about
> these pages. They all take some user input, use validation controls
> and
> the
> button is just a Submit button. I have other pages on the site that
> have
> the
> same functionality and they work OK. I have rebuilt the solution and
> made
> sure all of the aspx pages were the latest versions. Any ideas of what
> else
> to look for would be very much appreciated.
>
> --
> Charlie Jursch
> Patotech Software, Inc.
> Danville, CA


Nov 19 '05 #5
I simply don't know why it happens.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Shimon Sim" <es*****@att.net> wrote in message
news:u9**************@TK2MSFTNGP14.phx.gbl...
I have this happening on regular basic. Why does it happen?
Thanks
Shimon
www.siatadev.com

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
It's probably because your button click event became ummapped. That can
happen due to various reasons. Check the code to make sure your button is
mapped to its event handler.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------
"Charlie J" <Ch******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
I have developed a website with several (30) pages that works just fine
on my
development machine (XP Pro SP2). When I move the site to the server
(W2K3)
I have 7 pages where a mouse click on a button does nothing. All of the
other pages work as expected. I can locate nothing that is different
about
these pages. They all take some user input, use validation controls and
the
button is just a Submit button. I have other pages on the site that
have the
same functionality and they work OK. I have rebuilt the solution and
made
sure all of the aspx pages were the latest versions. Any ideas of what
else
to look for would be very much appreciated.

--
Charlie Jursch
Patotech Software, Inc.
Danville, CA



Nov 19 '05 #6

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

Similar topics

1
by: Waqas Pitafi | last post by:
Hi, 3rd day is already gone without any solution. My problem is, I have a Windows Server 2003 sp1 machine as my development platform having NTFS filesystem. Other notable components installed...
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 ...
6
by: Cathryn Johns | last post by:
Hi I have a server-side (asp.net) method that can be called by clicking a <asp:button> on my webpage. This method should also be called every n seconds, so I've set up a javascript timer which...
7
by: MgGuigg | last post by:
Hello all, This is my first time posting a question to this forum, so here is hoping I am following protocol. I am scraping the rust off my old Basic programming skills, and have just recently...
3
by: Jay | last post by:
I am on the 2.0 framework and have run the c:\windows\microsoft.net \framework\v1.1.4322\aspnet_regiis.exe -c and had no success. About half of the buttons on my webforms are firing and the other...
4
by: glbdev | last post by:
Hi, I posted this question yesterday but didn't get the answer I needed. I am DESPERATE to get this working so I'm re-posting it because I don't think I worded it correctly. I have a GridView...
0
by: revacdm20635 | last post by:
hi, I am working in VB.NET in .NET Framework 1.1. i am working with a web site. When i click a button in that site it shows one message box. That message box contains Ok and cancel buttons. I...
1
by: petersonus115 | last post by:
Hi my name is jewel.. i am having a problem with accordion pane.. I am using newest version of ajax control tool kit.. i have two text box and one button in my accordion pane... I want to execute...
8
by: Harvey Schmidlapp | last post by:
I have a fairly complex form (generated by means of an ASP 3 page). The form is used to define a query against a database. After running a query, the user hits their browser's back button and goes...
2
by: Peter | last post by:
I have a HoverMenuExtender which contains an asp:PlaceHolder, this place holder gets a dynamically created User Control and this control contrains a Button. The problem I am having is the Button...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
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
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...

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.