M
Michael Fällgreen
Hi,
I have a search page with a textbox, button, gridview and a
objectdatasource. It works great with one problem. When the page loads the
first time the objectdatasource calls the select-method and because its
bound to the textbox (search string) and the textbox is empty it display all
records. This is not the way I wnat it to work - however I want the user to
be able to make a blank search (and return all items).
Can I "disable" the datasource control on first load?
Thanks
I have a search page with a textbox, button, gridview and a
objectdatasource. It works great with one problem. When the page loads the
first time the objectdatasource calls the select-method and because its
bound to the textbox (search string) and the textbox is empty it display all
records. This is not the way I wnat it to work - however I want the user to
be able to make a blank search (and return all items).
Can I "disable" the datasource control on first load?
Thanks