RequiredFieldValidator--write code in javascript
Answer Posted / gangadhar
function validate()
{
if(document.getElementById("NameId").value == null)
alert("Please enter the name");
document.getElementById("NameId").focus();
return false;
}
in button OnClick() we hav to cal this function
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Can I stream live content/events?
Explain MVC model binders?
What is the concept of postback in asp.net?
What is diff. Between abstract class and an interface?
What is a viewstate?
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is postback request?
Explain swagger components.
What is x xss protection?
What is asp according to you?
How many types of controls are there in asp.net?
What is the difference between adding reference in solution explorer and adding references by using ?
Explain the path instructions in xaml?
What are the disadvantages of asp.net?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?