Hi Friends:
In a grid column, I have: CurrentFilterFunction="StartsWith" and AutoPostBackOnFilter="true" and ShowFilterIcon="false" . The idea is when user press the enter key, after typing in something in the filter text box, a search using 'StartsWith' will proceed.
This works For as long as there is something typed in the search box. If the user removes the text and press enters, all the records are returned - which is as expected.
But here's the problem: Now, the user type in something, say 'Ak' in the search box and press enter, the filter function has changed: It now defaults to 'Contains' instead of 'StartsWith'
Is there a way to make sure that with the above scenario, the filter function is ALWAYS 'StartsWith' and nothing else?
Thanks
In a grid column, I have: CurrentFilterFunction="StartsWith" and AutoPostBackOnFilter="true" and ShowFilterIcon="false" . The idea is when user press the enter key, after typing in something in the filter text box, a search using 'StartsWith' will proceed.
This works For as long as there is something typed in the search box. If the user removes the text and press enters, all the records are returned - which is as expected.
But here's the problem: Now, the user type in something, say 'Ak' in the search box and press enter, the filter function has changed: It now defaults to 'Contains' instead of 'StartsWith'
Is there a way to make sure that with the above scenario, the filter function is ALWAYS 'StartsWith' and nothing else?
Thanks