In my project, we are saving all filters and conditions into xml( To save the profile of user) and then user can reload it's existing filters using that xml.
I have column LoginDate ( dateTime Column) so when user apply some filter on that say "ThisWeek"{= 'A date in the current week'}. in xml ComparisonCondition.value saved as a string only e.g: {= 'A date in the current week'}. So when user reload it's profile then filter didn't work for that column(LoginDate) .
So object type Infragistics.Windows.Controls.SpecialFilterOperandFactory.RelativeDateOperand is changed into string thatswhy filtering is not working.
Is there any way to change this string into date time filter conditions ?
e.g : {= 'A date in the current week'} to "This Week" Datetime special filter ? This is blocking our release
Hello ,
I am just checking if you require any further assistance on the matter.
Hello,
I have been looking into your question and I can suggest you look through the following forum thread where it is provided a solution of your issue using ‘FilterComparer’ property of the FieldSettings :
http://ko.infragistics.com/community/forums/t/57184.aspx
If you need any further assistance on this matter, feel free to ask.
Or is there any way to store these Date-time special filters so that when we load our user profile we can write some converter logic to create these filters again ?