When creating a WebPart the AjaxSettings should be added programmatically as illustrated in this
help article. Please try modifying the code according to the suggestion and let us know of the result.
DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!