Specified script references in jQuery, are being presented after viewerase. & Lt; There is a way to achieve this; Head>?
Page.ClientScript.RegisterClientScriptInclude ("jQuery", "/scripts/jquery.js");
I am trying to register jquery.js in a user control page load.
Thanks in advance!
If it can not be done with (client script), then anyone knows why they did not make it?
UPDATE
The main feature I need client scripts manager is the ability to include a script only once. Control can appear multiple times on one page, but I only want to include it in a jQuery script
In the head directly into the inclcude:
Include HtmlGenericControl = New HtmlGenericControl ("Script"); Include. Features. Add ("Type", "Text / JavaScript"); Include. Features. Add ("src", sInclude); This.Page.Header.Controls.Add (included);
You want to check to make sure that it is not already before it is added.
Comments
Post a Comment