M
Max2006
Hi,
I have a search result GridView bound to an ObjectDataSource. Once I open
the asp.net page, the ObjectDataSource automatically refreshes the GridView
which is the default behavior.
I am trying to disable automatic query feature in ObjectDataSource, such
that it query the database only when the user click on Search button.
Is there anyway to prevent ObjectDataSource query the database when the page
opens?
Thank you,
Max
I have a search result GridView bound to an ObjectDataSource. Once I open
the asp.net page, the ObjectDataSource automatically refreshes the GridView
which is the default behavior.
I am trying to disable automatic query feature in ObjectDataSource, such
that it query the database only when the user click on Search button.
Is there anyway to prevent ObjectDataSource query the database when the page
opens?
Thank you,
Max