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

In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?

594


Where do we use static class in c#?

487


Why we use dll in c#?

540


Explain acid rule of thumb for transactions in c#.

521


In .NET which is the smallest unit of execution?

631






What is the purpose of ienumerable in c#?

492


What is check/uncheck?

597


What is difference between abstraction and encapsulation in c#?

512


What is the max value of int32 in c#?

490


What is the difference between properties and indexer in c#?

434


What is msil in c#?

546


What the different phase/steps of acquiring a proxy object in webservice?

467


What is the difference between Decorator and Adapter pattern?

522


What is a property c#?

516


Structs are largely redundant in c++. Why does c# have them?

750