Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

ASP.NET AJAX GridView + UpdatePanel Async error on postback

leave a comment »

Whenever this type of error is there, you can define function asyncpostbackerror in scriptmanager to debug to the real problem.

In my case, I put the GridView and gave the command “Edit” to the gridview custom button. But as Edit is inbuild command, we need to define “RowEditing” function. But that was not define and due to that it throws AsyncError. Debugged using asyncpostbackerror and found the issue.

It is cool when you have better error handling so that can find errors quickly.


Written by Manish

July 16, 2010 at 4:24 pm

Posted in .NET, .NET 3.0

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: