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
How Session use Cookies in State Management?
To get the values in two different controls to match which control you use it?
Can you dynamically assign a Master Page?
How many web.config files can I have in an application?
Using code explain Configuration Management
What are the page life cycle events?
Define page output caching?
Define data caching?
Explain about consistent programming model in the .NET framework?
Explain the difference between dataset and datareader.
Is it possible to migrate visual interdev design-time controls to asp.net?
explain code with datachaching with example
What is meant by server side scripting?
What does it mean your session has timed out?
What is the purpose of using MVC programming pattern in ASP.NET?