Accessing page controls from a seperate class
<p>I'm wondering how I can go about accessing page controls from a separate class I've made.  I've tried a few things I found using google, but no luck :(</p>

<p>What I'm trying to do is keep a function that is used often, in a global class.</p>

<p>The function then accesses a page literal and calls ScriptManager.RegisterStartupScript.  I was hoping this is possible, so then this function wouldn't have to be copied to all of the pages.</p>

<p>Any ideas would be greatly appreciated.  </p>
