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

How do partial classes work in c#?

589


List out the differences between array and arraylist in c#?

611


What is difference between virtual and override in c#?

542


What is the diff between System.String and System.Text.StringBuilder classes?

615


Why is it not a good idea to use empty destructors?

627






What is a sealed class?

589


What is a method signature?

620


What is cshtml?

605


Is java better than c sharp?

606


What are custom exceptions in C#?

658


Does c# have a 'throws' clause?

675


What is string in c# net?

572


Is php better than c#?

580


What is yield keyword?

579


What is default class in c#?

578