asp.net LinkButton - DO an ajax request and then submit the form
Posted on 2009-04-04
I have a form and to submit the form I am using a linkButton. My linkbutton also does some client side validation before submitting the form. A requiremtn has now come in that I do some server side validation before submitting the form. This means the linkbutton first needs to send an ajax request (without doing a page refresh) and based on the result give the user a modal popup. On the modal popup if the user clicks continue, i need to submit the form otherwise cancel submitting the form.
I am really stuck and have no idea if/how thsi can be achieved. Please help!