By example we have two webparts on page, with ascx controls.
One ASCX control loads
this.Controls.Add(new ScriptLink()
{
Name = "/layouts/15/Webpart1Control/jQuery.js",
Language = "javascript",
Localizable = false
});
and the other ASCX control from different webpart do
this.Controls.Add(new ScriptLink()
{
Name = "/layouts/15/Webpart2SecondControl/jQuery.js ",
Language = "javascript",
Localizable = false
});
What will be in this case and how to do correct?
Aucun commentaire:
Enregistrer un commentaire