define ispostback and give some examples

Answers were Sorted based on User's Feedback



define ispostback and give some examples ..

Answer / khyati

When the page is executed for the first time this method
will return the value TRUE else FALSE

IsPostBack returns bool value and returns TRUE only for the
first time execution/loading of the page

Is This Answer Correct ?    13 Yes 0 No

define ispostback and give some examples ..

Answer / 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

More C Sharp Interview Questions

What is a linked list c#?

0 Answers  


Give an example of a directcast.

0 Answers  


Hi all,I am the beginner. Please tell use of finally block.

6 Answers   IBM,


What is the difference between a constant and a static readonly field?

0 Answers  


How do you type a null character?

0 Answers  






How to sign an assembly with strong name?

0 Answers   CitiusTech,


Why we use get and set method in c#?

0 Answers  


What is an iqueryable in c#?

0 Answers  


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

0 Answers  


What is difference between value and reference types?

5 Answers   Accenture,


Why do I get a syntax error when trying to declare a variable called checked?

0 Answers  


How do you restrict the type which can be used in custom generic?

1 Answers   IBM,


Categories