Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

How to Inject JavaScript from Global Event Handler

$
0
0
What is the best way to inject a JavaScript reference to all the Kentico 11 admin UI pages from a Global Event Handler? I've tried accessing the ClientScriptManager from the sender object, but I'm seeing a lot of redundancy and potential null reference exceptions that I'd prefer to avoid. Could I perhaps inject an HTML script tag from my code-only custom module where the global event handler is defined? I'm open to any ideas on how to best accomplish this customization.

Viewing all articles
Browse latest Browse all 8901

Trending Articles