title: asp.net server control - avoid adding multiple javascript
body: <p>I created an asp.net Server control that derives from a LinkButton, and renders a small javascript function to the page.</p>
  
  <p>I want to use this control many times on the page, but just want the javascript to be rendered once on the page. On the other hand, I rather not manually add it in a js file, because i don't want to have a chance of forgetting to add the js file in the future.</p>
  
  <p>What will be the best way to go about doing this ?</p>