I'm currently looking into the RegisterClientScriptInclude method so I can be sure that I don't do something like include JQuery twice on one page. The Microsoft documentation states:
This overload of the RegisterClientScriptInclude method takes key and url parameters to identify the script, as well as a type parameter to specify the identification of the client script include. You specify the type based on the object that will be accessing the resource. For instance, when using a Page instance to access the resource, you specify the Page type.
I don't get what that actually does for me. Does it just identify in some way which page/control took precedence and registered the include? Can someone please explain why I would want to provide a type in addition to the key/url? Thanks in advance.