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

Explain about Application and Session Events ?

1133


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

1132


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

1117


What are the HTML server controls in ASP.NET?

1130


How is it possible for .NET to support many languages?

779


what is meant by sitemapnode ?

2052


Do you know about caching with the datasource controls?

940


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

1088


What is difference between View State and Hidden Field in ASP.NET?

1190


How does session work?

980


What is the advantage of using Windows authentication in a Web application?

1162


What is the difference between a page theme and a global theme?

1038


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1092


Elaborate differentiation between ViewState and SessionState?

1135


How many types of Cookies are available in ASP.NET?

1117