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?
Total Answers and Comments: 4
Last Update: November 03, 2009 Asked by: palchin_sh
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.