Timer.GetScriptDescriptors Method ()


Retrieves properties from a Timer object that are passed to the client component that implements timer logic in the browser.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected virtual IEnumerable<ScriptDescriptor> GetScriptDescriptors()

The GetScriptDescriptors method adds the Interval and Enabled properties from an instance of the Timer class to a ScriptDescriptor object. The client component accesses the values and sets the corresponding values in script.

.NET Framework
Available since 3.5
Return to top