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
What is preprocessor in .net and type, where it use?
What is mvc in angular?
What is session handling in a webfarm, how it can work with its limits?
Can more than one person use the same login?
What are client activated objects and server activated objects?
How to deploy/publish webservices?How many ways?Plz explain me
What is the parent class of all web server control?
How to send a DataReader as a parameter to a remote client ?
Less than one page, how many windows will you be able to maintain?
What are the Difference between asp.net and asp ?
Explain server-side scripting and client-side scripting.
Which control has default post back is enabled(true)?
What is session in asp.net?
What is a page life cycle? What are the events in a page life cycle?
What is difference between session and application in asp net?