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

Explain About a class access specifiers and method access specifiers.

0 Answers  


How do I link two windows forms in c#?

0 Answers  


What is entity framework in c#?

0 Answers  


What is GAC?

1 Answers   Cognizant,


What is type cast in C#?

0 Answers   TryTechnicals Pvt Ltd,






What is difference between first and firstordefault?

0 Answers  


What is xml document how do you open it?

0 Answers  


Does c# support parameterized properties?

0 Answers  


What does string intern do?

0 Answers  


Explain about generics in c#.net?

0 Answers  


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

2 Answers   Satyam,


Why do we need abstract class?

0 Answers  


Categories