PowerWEB LiveControls for ASP.NET
BufferedScript Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveButton Class : BufferedScript Property



Gets the client-side script which will be written to the response stream when the callback request is ended.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public ReadOnly Property BufferedScript As StringWriter
Visual Basic (Usage)Copy Code
Dim instance As LiveButton
Dim value As StringWriter
 
value = instance.BufferedScript
C# 
[BrowsableAttribute(false)]
public StringWriter BufferedScript {get;}
C++/CLI 
[BrowsableAttribute(false)]
public:
property StringWriter^ BufferedScript {
   StringWriter^ get();
}

Property Value

A StringWriter object that contains buffered script for a callback response.

Remarks

Use the BufferedScript property to modify the client-side script to be sent in response to a callback.

For example, to dynamically change the flow of a label (from bottom to top instead of left to right):

LiveLabel1.BufferedScript.Write(LiveLabel1.GetScriptStyleReference() + ".writingMode = 'tb-rl';");

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.