I am using Visual Studio 2010, VB.NET, my site has .NET 4, using Web Forms. I have a page with, among other things, two asp:ImageButton controls, each in its own little AJAX UpdatePanel. This page has been working since some time in 2013. One button is Add To Wishlist, the other Add To Cart. Both have an OnClick event and they are nearly identical, with the exception of the purpose and SQL Server stored procedure they call. As I said, they've both been working for quite a while. I made no changes to the page. Yet, suddenly, the Add to Cart button does not work...nothing happens, no error is thrown, it just doesn't do anything. the Add to Wishlist button still works as before. When they are updated, the image is changed. Add to Cart image is changed to "In Cart", Add to Wishlist is changed to "In Wishlist".
I've seen some complaints about ImageButtons not working in the latest IE, but this is in Firefox as well as IE.
I don't understand why one works and the other doesn't, and why it happened when no changes were made to the page.
My site is on a shared hosting plan at web.com, so there are many things that I cannot do. I only have access to certain things on the server.
Could a change they made cause this? But still, one button still works, same page, nearly the same exact code.
there are actually two pages, one is for pay items, one is for freebies. Both use the same code, and the Add to Cart button is not working on either page...both were working until recently.
I thought that perhaps the page was corrupted, so I re-uploaded the pay item page and cycled the application (I at least can do that), but it made no difference.
Protected Sub ib_Add_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
If Page.IsPostBack Then