Thanks, the thing is I won't always want to prompt. Its dynamic in the sense that I only prompt when conditions are met. I am already using the method from the link in your post by using RegisterStartupScript with that code when conditions are met. Right now the prompt is dynamic depending on conditions but I can't figure out a way to pull the response. I hope that makes sense.