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 option parameter in C#?

0 Answers  


what is the difference between interface and multiple interface?

0 Answers   Wipro,


what is inheritance and an example in vb.net and c# of when you might use it?

0 Answers  


What is the use of multicast delegate while methods of multicast delegate do not execute in a order?

2 Answers  


How to Show Message box in Metro Style App?

0 Answers   PUCIT,


Why to use “using” in c#?

0 Answers  


What is difference between web and window application?

0 Answers  


Difference between C++ and C#.net

19 Answers   Google, TCS, Wipro,


Can we have multiple constructors in a class c#?

0 Answers  


What is difference between event and delegate in c#?

0 Answers  


What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?

6 Answers   Wipro,


Can we declare private class in c#?

0 Answers  


Categories