>Why is the js script a problem at all? Build the dataset in the code-behind code. I don't see the difficulty.
>
I don't want to create DataSet in Page.Load as it's currently done. I only want to create DataSet once the button is clicked. But since button only executes JavaScript code I don't see a way to detect the button was clicked in the code behind. Any good ideas from you on the problem?
If it's not broken, fix it until it is.
My Blog