Invalid postback or callback argument in ASP.Net 3.5
Also, you might get a Sys.WebForms.PageRequestManagerServerErrorException with code 500 when using Ajax. It usually happends when you click on a button in a GridView or another bound control. You expect it to work, but it doesn't, even if the code is relatively clear.
The answer is (probably) that you are binding the container bound control every time you load the page (instead of only on !IsPostBack). The thing is this used to work in ASP.Net 2.0.
Bottom line: check your binding, see if you are not doing any DataBind in between the button click and the eventual event catch.
The answer is (probably) that you are binding the container bound control every time you load the page (instead of only on !IsPostBack). The thing is this used to work in ASP.Net 2.0.
Bottom line: check your binding, see if you are not doing any DataBind in between the button click and the eventual event catch.
Comments
I have used ispostback for binding but still have got the error twice in between and it's not reproduced now.. :-(
sampath onlineBravo! Simply Bravo. Slow clap..... clap..... clap
Robert*Bravo... simply Bravo!*
Robert FiregardenThis is an awesome post. It saved my life.
AnonymousSaved me a ton of time - thanks!
BKahunathank you man it is realy helpful for me also
sadıkThank's
AnonymousHey there, I couldn't go off this post without thanking you. You saved me from a horribly embrassing meeting. I had to get this thing done and got stuck with very problem you addressed. You rock bud
AnonymousGreat post! I've been scratching my head on this one for a while. Thing was, on some of my pages it worked and others it didn't. I'd been scouring over the differences between them for a while and I guess it wasn't obvious enough. Thanks for this!
Jason S.hey,really i was very helpful for me. within simple snippet of information you have solved my problem.Thanks a lot
joseph jelaskerThank you. Fixed my problem exactly as you described.
ShellyHey, this was a very helpful post.. that problem was a real head scratcher for me, but you showed me the way :) Thanks much!
Anonymous