Autopost back property in asp.net:
•If this property is set to true of any
control then that control can generate a new request for the same page.
•Request will be generated when user will
interact with that control. In this case corresponding method of that control
will also be executed at server side.
•By default this property is set to false.
•In case of autopostback (server is sending same page again) server
sends new copy of same page along with old value of the current page. It means
fields of the page will return the value.
Page object:
•For every asp.net page server creates an
object of page class that object can be accessed by using page property.
Ispostback property:
•This is a property of page object and it
returns false when requested page is being send first time by the server
otherwise it returns true.
No comments:
Post a Comment