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
Which platform does Microsoft .NET use for exchanging data between applications?
Difference between response.redirect and server.transfer?
What is view state and how it works in asp net?
When was asp.net released?
What is server side in asp.net?
Can we add code files of different languages in app_code folder?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
What is data grid view in asp.net?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
What is page fragment caching?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
How do I create a web form?
What is the function of new view engine in asp.net? : asp.net mvc
What is a master page and what does it do?
What is the advantage of using Windows authentication in a Web application?