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



Gets or sets which fields are posted to the server in a callback.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("When set to false, the other form elements are not included in the HTTP POST")>
<DefaultValueAttribute()>
Public Property UpdateAll As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LiveImage
Dim value As Boolean
 
instance.UpdateAll = value
 
value = instance.UpdateAll
C# 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("When set to false, the other form elements are not included in the HTTP POST")]
[DefaultValueAttribute()]
public bool UpdateAll {get; set;}
C++/CLI 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("When set to false, the other form elements are not included in the HTTP POST")]
[DefaultValueAttribute()]
public:
property bool UpdateAll {
   bool get();
   void set (    bool value);
}

Property Value

If true, all values for all client-side form elements are posted to the server. If false, only the value for the callback element is posted to the server. The default value is true.

Remarks

If true, all values for all client-side form elements are posted to the server. If false, only the value for the callback element is posted to the server. This can be used to highly optimize performance depending on the application. For example, if an application has a lot of form fields with a Timer raising a periodic callback, the callback lag may be signifigant, as the script has to loop through all of the form fields to get the client-side value. However, this may not be necessary. Often, you may only need to raise a callback, and don't need the values for form fields. In this case set this property to false, and the callback will execute much faster.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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