this._postBackSettings.async == null

Recently, I have been using ASP.NET Ajax in a project at job. If you have a Button inside an UpdatePanel, when you click it, you will sometimes receive an strange javascript error: ‘this._postBackSettings.async == null’. I have found that this can be solved with setting UseSubmitBehavior to false.

So everytime you have a Button inside an UpdatePanel, your buttons should be like this:




Happy hacking!


About me


My name is Rafa Vargas. I'm an undergraduate student of Computer Science at University of Seville, Spain. I am mainly interested in computer security, usability and the business of software.

Click here to read the full story.

Twitter subscription

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,022 other followers

Archives


Follow

Get every new post delivered to your Inbox.

Join 1,022 other followers