RequiredFieldValidator--write code in javascript
Answer Posted / srinivasan
function validate()
{
var Name = document.getElementById("txtName");
if( Name.value=="")
{
alert("Please enter the Name");
return false;
}
}
button OnClick() we hav to cal this function
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Define static constructor?
Explain the various authentication mechanisms in asp.net.
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
What is asp.net? How is it different from asp?
What is the use of service provider?
What is difference between URL and URI?
List the major built-in objects in asp.net?
What is microsoft windows sharepoint services?
What is the equivalent of date() and time() in asp.net?
Explain transparent caching with aop?
Explain server control extensibility with reference to asp.net 2.0 ?
List the types of authentication supported by asp.net?
What is the purpose of url encoding?
Explain code snippet to register exception filters from controller?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?