ChewToy
ChewToy

Reputation: 746

Form has stopped submitting, ASP.NET

I'm having issues with a site I'm developing. I have several detailviews, gridviews and other elements on my site for submitting information.

It has worked flawlessly up until this point, now I'm having the issue that the forms won't submit. The ones that don't work are:

Nothing happens when they are clicked. However the other things requiring a postback does work, such as cancel, delete and similar functions. Using my a browser debug function I can see that no network attempt is made, so there seems to be some kind of a problem with the client side postback.

I'm guessing there might be an issue using the ASP postback together with jQuery, but I have used it successfully before on this very site. I also tried putting the elements outside of the jquery ui and not including the jquery file entirely, but it didn't seem to help.

Tried in Opera, IE9 and Firefox

Any kind of help or points would be greatly appreciated!

Kind regards

Upvotes: 0

Views: 203

Answers (2)

Hunter-974
Hunter-974

Reputation: 81

Maybe your validators had the same ValidationGroup than your submit controls. But you told that it was in another asp file, so if the files are not "linked", i find it strange...

Only for information : when you have OnClientClick="[...] return false;" on a control, it will not trigger the postback.

Upvotes: 1

ChewToy
ChewToy

Reputation: 746

Solved it.

There was a rangevalidor in another asp file(!) causing the error. I'm still not sure why, but removing those rangevalidators made things work again which is quite weird.

Update: They were not using a validationgroup which seems to mess things up

Upvotes: 0

Related Questions