saseow
Posts: 744
|
Posted: 01/14/2013, 9:27 AM |
|
I have a search form with a dropdown with a default value so that when the page is loaded the pertinent data is shown. All of this is within an Update Panel. Changing the dropdown value all works perfectly.
The problem is that when the CLEAR link is clicked, the dropdown reverts to the default value as expected but the data returns everything...... unless you click the search button again.
So, in essence, I want an elegant way to clear the search parameters but have only the default data returned in the grid.
Any ideas?
|
|
|
saseow
Posts: 744
|
Posted: 01/14/2013, 12:36 PM |
|
Did it this way:
Added the search parameter to the Href source of the CLEAR link and left the parameter in the Remove Parameter section.
|
|
|
MichaelMcDonald
Posts: 640
|
Posted: 01/14/2013, 3:43 PM |
|
I like this because it is simple and useful.
This forum needs more info like this.
_________________
Central Coast, NSW, Australia.
|
|
|
|