adsense

Friday, October 30, 2009

'Error Creating Control' ... 'true' could not be set on property

“Error creating control – [text] could not be set on property” with custom ASP.NET server controls in VS 2008 SP1

have you ever got an AJAX control error like this. I have found the same bug as of today. I have wasted almost a 2-3 hours of development before googling “could not be set on property”. simple solution is colse the VS and open the project again. seems this is bug with AJAX.

solution

1) Removing the AjaxControlLibrary.dll file from solution (and on disk), and deleting all ajax toolboxes
2) adding the AjaxControlLibrary project directly into solution.
3) close .Net, reopen and load

Also dot forget to read this KB article
http://code.msdn.microsoft.com/KB961847

No comments:

Post a Comment