Grid not displaying in asp:UpdatePanel after postback

Hi,



I am using an asp:UpdatePanel. with a grid inside it. The grid displays fine when the page initial loads but not after a postback. If I put the code outside the UpdatePanel, it works fine.



Have you seen this before ?



Thanks



Eunan

As far as I know, for external components ( which has not special .Net code )  updatePanel will just replace innerHTML of area with newly generated content
In case of grid this will not work , because grid is a dynamic component, which require some js code to be correctly initialized.