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
Explain serialization and deserialization?
Which adapter should you use, if you want to get the data from an access database?
Why session is necessary in web application?
What is x xss protection?
Is post back in asp.net?
What are cookies in asp.net?
Explain the Order of events in an asp.net page?
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
What is the difference between session and application?
Do session use cookies in asp net?
Describe the master page.
How to use a Master Database in Asp.net?
Describe a bubbled event and how it is used ?
What are the different authentication modes in asp.net?
How do http sessions work?