Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Get info before import

$
0
0
Hello,

I have an import where I want to run a stored procedure after it is complete and I need to pass that procedure a parameter, which I'd like the user to supply. I was thinking of using the dialog API and have the user select from a dropdown list. The help page has an excellent example (example 2) but I can't figure out how to get the user's selection back to the server so I can set a session variable, which I would then use as the parameter for the stored procedure in the After Import Finished event. If it was a custom button I could put the dialog API code in the client before and then set the variable in the server part, but, since I need it for an import, I was thinking I'd put the popup code in the Javascript onload event. But how do I then get the selection from the popup back to the server? Or is there another way to solve this?

Thanks for any help.
Tim

Viewing all articles
Browse latest Browse all 2586

Trending Articles