The ScriptLink control is designed to be used on page, not within a webpart. Take some time to look at the inner workings of the class and you will see methods and functionality specific that usage, such as ondemand loading and dependency checking. Webparts typically register the scripts necessary for there operation.
saanj wrote:
My intention was not to teach you
saanj wrote:
There is nothing to get ego involved
Yet you automatically assume you need to give a tutorial on how to create a webpart. You give the impression that no one else in the thread knows how, and particularly me since you responded to my post, and you are more capability because you can show how it is done.
I know the language. I've read a book. - _Madmatt