TopicTransformationCore.RegisterStartupScript Method
Definition
- Assembly
- Sandcastle.Core.dll
This is used to register a block of script to execute in the $(document).ready() function by
presentation styles that support script.
public void RegisterStartupScript(int priority, string scriptBlock)
Parameters
priorityintThe priority of the script. Lower numbers will have higher priority
scriptBlockstringThe script block to execute
Remarks
Only unique script blocks are registered. Any subsequent calls to this method with an identical script block will ignore the duplicates.