I am trying to run a page that will get data from a database.
On return, based on what was returned, I want to be able to call "return confirm()" that will allow the user to select "Yes" to execute the page again and run the Object Data Source again or "No" to just use the page as is.
I can't attach it to a button as there is no button push.
I can use the RegisterStartupScript to execute it, but how do I respond or not respond to it after the user makes the selection?
Thanks,
Tom
On return, based on what was returned, I want to be able to call "return confirm()" that will allow the user to select "Yes" to execute the page again and run the Object Data Source again or "No" to just use the page as is.
I can't attach it to a button as there is no button push.
I can use the RegisterStartupScript to execute it, but how do I respond or not respond to it after the user makes the selection?
Thanks,
Tom