Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what does Page.IsValid in asp.net

Answer Posted / ranjit singh

true if page validation succeeded; otherwise, false
private void ValidateBtn_Click(Object Sender, EventArgs E)
{
Page.Validate();
if (Page.IsValid == true)
lblOutput.Text = "Page is Valid!";
else
lblOutput.Text = "Some required fields are empty.";
}

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How ASP and ASP.NET page works? Explain about asp.net page life cycle?

1040


What r the asp.net list controls and difference between them?

1036


Write a code for sending an email from asp.net application.

1046


What is the mvc framework?

1011


How do you declare static variable? What is its lifetime?

962


Can you change a master page dynamically at runtime? How?

934


What is the difference between mechine.config and web.config?

1229


What is a runtime version?

1073


How does asp.net work?

960


How to find last error which occurred?

1039


Which .NET framework supports Web API?

1059


witch is the best insistute in sharpoint course.what abt future of share point course.

3468


Web API supports which protocol?

1384


What are the features of asp net?

979


What does asax stand for?

995