I have a LinkButton click event in asp.net 3.5 that I must assess whether a value exists and return a alert.
I have no idea how you can do. I think we need to Ajax
Can someone help me
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a pretty simple solution without getting too involved with a lot of AJAX.
If you have your link button in your page:
Add an event handler in your page’s code behind:
This example will call a JavaScript function called myJsMethod on your page which you can then call any JS you like including your alert().