Skip to main content

Posts

Showing posts from September 6, 2006

ASP.NET Questions

Why are you more likely to use HtmlControls rather than WebControls when migrating from ASP? Choice 1 ASP pages are made from HTML elements, not controls, which map to the HtmlControls better. Choice 2 HtmlControls involve less development effort. Choice 3 HtmlControls have the same syntax as ASP HtmlControls. Choice 4 HtmlControls can be used to transfer ASP session state. Choice 5 ASP also uses HtmlControls. In a Web application, how many security-related events does the global.asax file provide? Choice 1 1 Choice 2 2 Choice 3 3 Choice 4 4 Choice 5 More than 4 Why does the Page object have an IsPostback property? Choice 1 It is used to know that control events need to be thrown. Choice 2 It is used in the Application_BeginRequest event to decide whether to authenticate a user. Choice 3 It is used so that the Page can determine whether to load Viewstate. Choice 4 It is used to determine whether to throw the Page_PostBack event. Choice 5 It is used so that the controls can be loaded wi