| |
GeekInterview.com > Interview Questions > Microsoft > C#
| Print | |
Question: AutoPostBack Property
Answer: There is Cancel button and OK button on page. When we click Cancel button it skips all validation controls and goes to next page.
(a)Page AutoPostback of Cancel is True. (b)Page AutoPostback of Cancel is False. (c)Page AutoPostback of OK is True. (d)Page AutoPostback of OK is False.
Which option is correct? |
| June 06, 2009 09:09:55 |
#2 |
| albu77 |
Member Since: September 2007 Total Comments: 8 |
RE: AutoPostBack Property |
AutoPostBAck is a property of TextBox Control and not a button which is rendered as a summit and will submit the page. If the real question is about validation, the cancel button normally has its property CauseValidation to false to enable the user to exit from a form without fulfilling the normal content of the form. |
| |
Back To Question | |