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
How ASP.NET page works?
What is query string in asp.net?
How do you implement sql caching in asp.net?
Is a dll file an executable?
What is anonymous authentication?
What is a page life cycle? What are the events in a page life cycle?
Can the dictionary object be created in client?s scope ?
Define a static class?
Explain about Multi-Language integration?
What is the maximum timeout we can set for Cookies?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
Define session in asp.net.
Is session stored in browser?
Difference between .NET and previous version?