Intersoft WebGrid Documentation
AdvancedFilterExpression Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFilterCollection Class : AdvancedFilterExpression Property






Gets or sets the advanced filter expression.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute("Gets or sets the advanced filter expression.")>
<NotifyParentPropertyAttribute(True)>
Public Property AdvancedFilterExpression As String
Visual Basic (Usage)Copy Code
Dim instance As WebGridFilterCollection
Dim value As String
 
instance.AdvancedFilterExpression = value
 
value = instance.AdvancedFilterExpression
C# 
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the advanced filter expression.")]
[NotifyParentPropertyAttribute(true)]
public string AdvancedFilterExpression {get; set;}
Delphi 
public read-write property AdvancedFilterExpression: String; 
JScript 
DefaultValueAttribute()
DescriptionAttribute("Gets or sets the advanced filter expression.")
NotifyParentPropertyAttribute()
public function get,set AdvancedFilterExpression : String
Managed Extensions for C++ 
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the advanced filter expression.")]
[NotifyParentPropertyAttribute(true)]
public: __property string* get_AdvancedFilterExpression();
public: __property void set_AdvancedFilterExpression( 
   string* value
);
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the advanced filter expression.")]
[NotifyParentPropertyAttribute(true)]
public:
property String^ AdvancedFilterExpression {
   String^ get();
   void set (    String^ value);
}

Remarks

Use this property to perform more complex filter expression to WebGrid's DataSource. For example, you can now perform filtering on multiple expression on single column such as "(CustomerID LIKE 'A' OR CustomerID LIKE 'B')". The filtering expression should comfort the ADO.NET filter expression standard. Note that when you set this property, any WebGridFilter objects contained in this collection will be ignored.

This property will be set automatically when Advanced Filtering is applied from Customize View client-side UI.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.