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.

Comments

sampath online

<p>I have used ispostback for binding but still have got the error twice in between and it's not reproduced now.. :-(</p>

sampath online

sampath online

I have used ispostback for binding but still have got the error twice in between and it&#39;s not reproduced now.. :-(

sampath online

Robert

<p><strong>Bravo! Simply Bravo.</strong><br>Slow clap..... clap..... clap</p>

Robert

Robert

<strong>Bravo! Simply Bravo.</strong><br>Slow clap..... clap..... clap

Robert

Anonymous

<p>This is an awesome post. It saved my life.</p>

Anonymous

sadık

<p>thank you man it is realy helpful for me also</p>

sadık

Anonymous

<p>Hey there,<br><br>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.<br>You rock bud</p>

Anonymous

Anonymous

Hey there,<br><br>I couldn&#39;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.<br>You rock bud

Anonymous

Jason S.

<p>Great 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!</p>

Jason S.

Jason S.

Great post! I&#39;ve been scratching my head on this one for a while. Thing was, on some of my pages it worked and others it didn&#39;t. I&#39;d been scouring over the differences between them for a while and I guess it wasn&#39;t obvious enough. Thanks for this!

Jason S.

joseph jelasker

<p>hey,really i was very helpful for me.<br>within simple snippet of information you have solved my problem.Thanks a lot</p>

joseph jelasker

joseph jelasker

hey,really i was very helpful for me.<br>within simple snippet of information you have solved my problem.Thanks a lot

joseph jelasker

Shelly

<p>Thank you. Fixed my problem exactly as you described.</p>

Shelly

Anonymous

<p>Hey, this was a very helpful post.. that problem was a real head scratcher for me, but you showed me the way :) Thanks much!</p>

Anonymous

Anonymous

Hey, this was a very helpful post.. that problem was a real head scratcher for me, but you showed me the way :) Thanks much!

Anonymous

Post a comment