Adding Javascript and CSS During an Ajax Partial Postback
This article will show how to inject JavaScript and css into an Ajax partial postback response. If you have started using Ajax, you may have noticed that during an Ajax postback, only items inside the updatepanel are refreshed. This is known as an Ajax Partial Postback or an Ajax Partial Page Rendering. If you are programatically inserting code such as custom javascript or css for a user control you have inside of an update panel, you may have noticed that the css or javascript was not sent back to the client’s browser during the partial postback response. This would apply to new code being sent just in the partial postback response.

