I was trying to update the content of a modal dialog, and this code works for me:
Add another Update Panel surrounding your link button just like below.