define ispostback and give some examples

Answer Posted / vasanth

if(page.ispostback)
{
//Executed this code when page is posted back from the server
}
else
{
//Executed this code when page is posted for the first time
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 2 broad classifications of data types available in c#?

479


What is dictionary and hashtable in c#?

477


the c# keyword .int. Maps to which .net type?

760


Name some properties of array.

493


How to achieve polymorphism in c#?

556






I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1542


What is a destructor in c#?

535


Is it good to use var in c#?

470


Which is faster list or dictionary in c#?

578


How to force my .net app to run as administrator on windows 7?

511


What is private void in c#?

532


Is string immutable in c#?

585


What is an example of delegation?

508


Why do we use yield in c#?

514


What is the data provider name to connect to access database?

508