Client side and server side code conflicting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey Everyone,
I have a problem with a web application due to the use of both client-side
and server side script on the on-click event of a button. The client side
script runs first as expected however my problem is that this code runs and
brings up a Microsoft Internet Explorer Window telling the user they are
going to be charged for the search they are about to do. The user then has to
click ok or cancel. My problem with this is that I need the server-side
validation code to run before it. The validation has to be done server side
but I need it to kick in before the message to the user pops-up. I don't want
the message to come up at all if the user details aren't valid.
I don't mind changing my client side code if I have to in order to achieve
this.

Does any one know how I can achieve this? Does anyone know how to get
Internet Explorer messagesboxes popping using c# code in the code behind page
on the buttons onclick event.
Cheers for any help anyone can give me
 
Stephen,

I think that my other sample send in your other question almost exactly fits
this problem?

Cor
 
Back
Top