Chris__T
Posts: 339
|
Posted: 09/14/2009, 7:40 AM |
|
I have the basic search record connected to a grid. After entering my search criteria (some textboxes, some listboxes) and pressing "search", I want the search record to reset to default (empty textboxes, "select value" in the listboxes). But I want to make sure it searches and displays grid results before going back to defaults. Any ideas?
|
|
|
jjrjr1
Posts: 942
|
Posted: 09/14/2009, 8:31 AM |
|
In the Properties pane for the seach component add the search parameter names to the Remove Parameters property.
Or try preserve parameters property to none.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|
Chris__T
Posts: 339
|
Posted: 09/15/2009, 7:33 AM |
|
That didn't seem to work. When the page refreshes after you press the search button, it shows the search results in the grid, but the search fields in search box still have search criteria in them.
And preserve parameters was already set to none.
Thanks.
|
|
|
jjrjr1
Posts: 942
|
Posted: 09/15/2009, 5:12 PM |
|
You might need to explicitly remove each search parameter in the Remove Parameters property.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|
jjrjr1
Posts: 942
|
Posted: 09/15/2009, 9:48 PM |
|
BTW. If using the remove parameter property does not work....
Try nulling the controls out in the before show event
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|
Chris__T
Posts: 339
|
Posted: 10/08/2009, 2:37 PM |
|
Nulling the controls in the before show event worked. Thanks jjrjr1 !
|
|
|