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
Why would a company use an application service provider?
What is synchronous and Asynchronous post back ?
What are the difference between overriding and overloading?
Give some salient points of difference between request processor and request dispatcher.
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
Differentiate between a hyperlink control and a linkbutton control.
What is the use of response redirect in asp.net?
What is the advantage of mvc over asp.net? : Asp.Net MVC
Define static constructor?
What does ascx stand for?
What is clr? Difference between clr & cts?
Explain about asp.net 2.0 themes?
What are web server controls in asp.net?
How can you enable impersonation in the web.config file?
How can we implement a identity (sql server) call in an asp.net page?