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

Button not posting back

I have a cmd button on my ASPX form. On my local machine it works
perfectly. After I upload it to the server I click on the button and
NOTHING - doesn't post back to the server.

Any ideas?

I created a new sample test.aspx form with 1 button and this one posted back
ok.

Thanks.
Nov 18 '05 #1
4 2581
Lok
i have an idea. Do u ever check your coding for the button click event? refer
to the code below:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sometime, when u drag n drop the control from 1 location to another, the
code "
Handles Button1.Click" will be missing. So u just put back that code. i
think is fine.

another scenario is if there are a validator in ur page design, u can't even
click on the button becoz of that. so in the propeties for button, the
parameter for the CausesValidation, u set it to false.

Hope this may help u!

"VB Programmer" wrote:
I have a cmd button on my ASPX form. On my local machine it works
perfectly. After I upload it to the server I click on the button and
NOTHING - doesn't post back to the server.

Any ideas?

I created a new sample test.aspx form with 1 button and this one posted back
ok.

Thanks.

Nov 18 '05 #2
I do have the "handles". That isn't the problem.

I also have 3 validators. How do I overcome these issues?

"Lok" <Lo*@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
i have an idea. Do u ever check your coding for the button click event?
refer
to the code below:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sometime, when u drag n drop the control from 1 location to another, the
code "
Handles Button1.Click" will be missing. So u just put back that code. i
think is fine.

another scenario is if there are a validator in ur page design, u can't
even
click on the button becoz of that. so in the propeties for button, the
parameter for the CausesValidation, u set it to false.

Hope this may help u!

"VB Programmer" wrote:
I have a cmd button on my ASPX form. On my local machine it works
perfectly. After I upload it to the server I click on the button and
NOTHING - doesn't post back to the server.

Any ideas?

I created a new sample test.aspx form with 1 button and this one posted
back
ok.

Thanks.

Nov 18 '05 #3
It was the version of aspnet_client that messed it up (validation stuff).

"VB Programmer" <Do*****************@jEmail.com> wrote in message
news:e6**************@TK2MSFTNGP15.phx.gbl...
I do have the "handles". That isn't the problem.

I also have 3 validators. How do I overcome these issues?

"Lok" <Lo*@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
i have an idea. Do u ever check your coding for the button click event?
refer
to the code below:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sometime, when u drag n drop the control from 1 location to another, the
code "
Handles Button1.Click" will be missing. So u just put back that code. i
think is fine.

another scenario is if there are a validator in ur page design, u can't
even
click on the button becoz of that. so in the propeties for button, the
parameter for the CausesValidation, u set it to false.

Hope this may help u!

"VB Programmer" wrote:
I have a cmd button on my ASPX form. On my local machine it works
perfectly. After I upload it to the server I click on the button and
NOTHING - doesn't post back to the server.

Any ideas?

I created a new sample test.aspx form with 1 button and this one posted
back
ok.

Thanks.


Nov 18 '05 #4
Did you install the New .Net framework.
Becos if you did that could also pose a problem!
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5

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

Similar topics

1
by: JJA | last post by:
When my webserver does not process a user's change because of an invalid password, I inform the user and I want to present them a button for a retry: <TR id=continuebuttonrow> <td...
2
by: techfuzz | last post by:
I scoured this group and others looking for the best way to disable a button after the first click to prevent multiple submissions, but never did find anything that worked like they said it would. ...
2
by: John | last post by:
Hi, I have a web form accounting app. In certain instances it causes trouble if the user clicks the Back button. I've read several posts that indicate that it is not recommended (or even...
3
by: needin4mation | last post by:
Hi, I have an asp:button that has a ShowModalDialog script attribute added to it. When the ShowModalDialog opens the user is supposed to select some data which is then sent back to the calling...
7
by: | last post by:
Hello, I would like to do the following from a asp.net button click: <form method="POST" action="https://www.1234.com/trans_center/gateway/direct.cgi"> <input type="hidden" name="Merchant"...
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...
7
by: Sridhar | last post by:
Hi, I have a question regarding the Page_Load method and Back Button of Internet explorer. I have created a webform. In that webform I have several Text Boxes. Also I have two buttons. When I...
26
by: Jeremy | last post by:
Hi, say we have the code below on a button: <input type="button" class="btn" value="Continue" onclick="if (myform.p_name.value=='') alert('You must enter a name for the folder'); else {...
11
by: bill | last post by:
I dynamically create buttons and associate them with an event using AddHandler. I want all the button events to fire at one time, when the page is posted, instead of when each button is clicked....
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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.