Save and Load Searches Properties
- Allow user to save search criteria
- Allow user to load search criteria
- Load search prompt
- Save search prompt
- Load search button bubble-help
- Execute search on load
- Save search button bubble-help
- Listbox heading
- Listbox height
- Dialog width
- Auto-load choices
- Prompt to load text
- Load search button
- Save search button
- Cancel button
- Warning message - blank name
- Warning message - duplicate name
Description
Add the ability to save and load search criteria in the Grid Component by enabling Saved Searches.
Discussion
Search criteria can be saved and loaded using a repository stored in a SQL or DBF database. The repository settings are configured in the Web Project Properties. Settings specific to the Grid's Search Part are available in the Save and Load Searches Properties.
Available properties are listed below.
Allow user to save search criteria
Specify if the user can save search criteria in the Search Part form. The search criteria are saved in the Repository. To configure the Repository, go to Project Properties on the Web Projects Control Panel.
Allow user to load search criteria
Specify if the user can load previously saved search criteria into the Search Part form. The search criteria are loaded from the Repository. To configure the Repository, go to Project Properties on the Web Projects Control Panel.
Load search prompt
Specify the prompt to display on the dialog where the user is prompted for the name of the saved search to load.
Save search prompt
Specify the prompt to display on the dialog where the user is prompted for the name to give the search criteria when they are saved to the Repository.
Load search button bubble-help
Specify message shown when the user clicks or mouses-over the button bubble-help for the load search button.
Execute search on load
When loading a saved search, should it be immediately executed?
Save search button bubble-help
Specify message shown when the user clicks or mouses-over the button bubble-help for the save search button.
Listbox heading
Specify the text to show above the listbox where the existing saved searches are shown.
Listbox height
Specify the height of the listbox that shows the existing saved searches. Use CSS syntax. For example:
1in
100px
3em
Dialog width
Specify the approximate width of the dialog. Use CSS syntax. For example:
2in
300px
Auto-load choices
When the user opens the dialog to load/save a search, should the list of existing saved searches be populated, or should this be deferred until the user explicitly requests that the list be populated.
Prompt to load text
Specify the text for the prompt to populate the listbox showing existing saved searches.
Load search button
Load search button property
Save search button
Save search button property
Cancel button
Cancel button property
Warning message - blank name
Specify the warning message to show if the user tries to save search criteria without specifying the name to assign to the save criteria.
Warning message - duplicate name
Specify the error message to show if the user tries to save search criteria using a duplicate name.