November 2006 - Posts

Beware at AJAX beta 2 migration

Since beta 2 is here, I decided yesterday to update beta 1 version of my project. I always tell my self not to touch things still they work, but as usual the new things are attractive. I already hed expirience of migrating from "Atlas" to "Ajax" - thats was real hurt. But I did not think that so meny diffrence will be from one beta to another and shame on me :). After updating ajax extention library my project totaly failed to run, Jscrpit failure something with 'Sys' object was wrong. Not likable error at 01:00AM. Well googling did not bring the desired results. Then I created new ajax enabled project and copied all related web.config settings to my project. Fourtunately project is working. Must stop this 'try a new staff' things...

SqlDataSource update parameters

If You are using SqlDataSource for gridview edit, and stored procedure for data layer please notice that sp parameters are match original table colums. For example @LinkUrl in sp -> LinkUrl in table column. Otherwise you will get exception.