Reset status of LS Advanced Filter Builder Control by code
-
9 июля 2012 г. 17:01
Dear all,
Does anyone know how to reset the LS Advanced Filter Builder Control to its original state (one empty clause shown) by code, e.g. when pressing a "Reset filter" custom button? I already searched within the source code but unfortunately did not find any suiting methods.
Further I would like the underlying query to be refreshed when pressing ENTER within the criteria field in a clause - by default the "GO" button must explicitely be pressed for this to happen.
Thanks a lot for your kind help.
Все ответы
-
11 июля 2012 г. 21:13Модератор
If I recall correctly, the Filter Control is not automatable through code and was only designed to be used through UI.Justin Anderson, LightSwitch Development Team
- Помечено в качестве ответа Dan721 12 июля 2012 г. 9:07
-
12 июля 2012 г. 9:06Nevertheless, thanks for your reply Justin.
-
27 июля 2012 г. 15:04I set the FilterTerm="" and then called the refresh method on my query.

