asp.net ajax

asp.net ajax

As you may know asp.net ajax work by refreshing the html contents of a so-called "update panel".

If a jquery ui element is in an update panel, the jquery initialize function of the contained jquery element must be re-invoked upon update (even if nothing has changed in the update panel) and it looks awful.

One solution of course is to carefully ensure that only the contents of a jquery element - and not the element itself - is within an update panel, but that is time-consuming.

There are non-jquery products (such as asp.net toolkits) that are impervious to this problem. However, I prefer jquery due to its leanness.

Any ideas how to deal with this?

Thanks

Stuart