Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
[urgent] How to Convert string value to date-time filter
posted

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