I have 2 user control placed on web page, in user\_control\_load event i am adding some client side script.

so when user control 1 page load is fired, it adds a script. when page 2 load function is called it again writes the script with same key but in source view of the page i am seeing the script added by user control 1. i was expecting user control 2 should overwrite the script because key is same but its not happening, any idea how can i overwrite the script with same key.