R
Roberto Kohler
How can I prevent a GridView/SQLDataSource from opening when the page is
firstentered ?
I want to wait until the user clicks a button to open the sqlSataSource and
the grid.
I want to do something like:
If Page.IsPostBack Then
' Open the sqlSataSource and the grid:
' - set the appropriate values for the SQLDataSource parameters
' - open the sqlSataSource
' - open the GridView1
else
' do not open the grid or the sqlSataSource
end if
firstentered ?
I want to wait until the user clicks a button to open the sqlSataSource and
the grid.
I want to do something like:
If Page.IsPostBack Then
' Open the sqlSataSource and the grid:
' - set the appropriate values for the SQLDataSource parameters
' - open the sqlSataSource
' - open the GridView1
else
' do not open the grid or the sqlSataSource
end if