hi all
i used a dataview as radgridview dataSource. enable filtering is set to true. when i enter some data in filter editor box on top of columns, it works fine but it have no effect on dataview.RowFilter property.
the problem is when i want print those rows which currently is visible, i don't know what filter expression i should use in my crystal report object.
thanks
i used a dataview as radgridview dataSource. enable filtering is set to true. when i enter some data in filter editor box on top of columns, it works fine but it have no effect on dataview.RowFilter property.
the problem is when i want print those rows which currently is visible, i don't know what filter expression i should use in my crystal report object.
thanks
6 Answers, 1 is accepted
0

Emanuel Varga
Top achievements
Rank 1
answered on 12 Oct 2010, 08:26 PM
Hello Mahdi Gh,
To access the FilterDescriptors currently active on the grid, you can use
FilterDescriptor major properties:
For more information on FilterDescriptors, please take a look at this help article or this one.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
To access the FilterDescriptors currently active on the grid, you can use
var filters = radGridView1.FilterDescriptors;
FilterDescriptor major properties:
- The PropertyName property defines the property, which values will be filtered.
- The Operator property allows you to define the type of operator. The possible values are: IsLike, IsNotLike, IsLessThan, IsLessThanOrEqualTo, IsEqualTo, IsNotEqualTo, IsGreaterThanOrEqualTo, IsGreaterThan, StartsWith, EndsWith, Contains, NotContains, IsNull, IsNotNull, IsContainedIn, IsNotContainedIn.
- The Value property is the value your data will be compared against.
For more information on FilterDescriptors, please take a look at this help article or this one.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
0

mahdi gh
Top achievements
Rank 1
answered on 12 Oct 2010, 08:34 PM
thanks buddy
0

mahdi gh
Top achievements
Rank 1
answered on 13 Oct 2010, 03:02 PM
hi again
i'm using radGridView version 8.2.0.0 and runtime version v2.0.50727
i checked , there is no FilterDescriptor peroperty.
is it one of gridview properties or a stand-alone object?
please i need this
i'm using radGridView version 8.2.0.0 and runtime version v2.0.50727
i checked , there is no FilterDescriptor peroperty.
is it one of gridview properties or a stand-alone object?
please i need this
0

Richard Slade
Top achievements
Rank 2
answered on 13 Oct 2010, 03:12 PM
Hi,
FilterDescriptor is the new way of saying FilterExpression
(I dont have the old version, so I can't check exactly, but I believe that's the case)
Hope that helps
Richard
FilterDescriptor is the new way of saying FilterExpression
(I dont have the old version, so I can't check exactly, but I believe that's the case)
Hope that helps
Richard
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 13 Oct 2010, 03:14 PM
Trying to remember, I think it's RadGridView.MasterGridViewTemplate.FilterExpressions
Richard
Richard
0

mahdi gh
Top achievements
Rank 1
answered on 13 Oct 2010, 05:45 PM
thanks a lot .
it works
it works