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
Why web api is better than wcf?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
Explain how dot net compiled code will become platform independent?
What does it mean your session has timed out?
What are the new data controls in asp.net 2.0?
Describe Segmentation With Paging?
What is the difference between a multi-layer and multi-tier applications?
What are validator? Name the validation controls in asp.net?
What is the sequence in which ASP.NET events are processed?
How does session id work?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Explain about Automatic resource management?
What is the application pool?
Why asp.net is better than php?
What are the differences between application object and session object?