ScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the ResolveScriptReference event for each script reference that is managed by the ScriptManager control.
protected:
virtual void OnResolveScriptReference(System::Web::UI::ScriptReferenceEventArgs ^ e);
protected virtual void OnResolveScriptReference (System.Web.UI.ScriptReferenceEventArgs e);
abstract member OnResolveScriptReference : System.Web.UI.ScriptReferenceEventArgs -> unit
override this.OnResolveScriptReference : System.Web.UI.ScriptReferenceEventArgs -> unit
Protected Overridable Sub OnResolveScriptReference (e As ScriptReferenceEventArgs)
Parameters
An object that represents the current script.
Remarks
This method is called by the OnPreRender event handler, one time for each ScriptReference in the Scripts collection.
The ResolveScriptReference event is raised after duplicate script entries have been resolved.
Override this method to affect the behaviors of individual script blocks on postback or during partial-page updates.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre