|
1. Name two properties common in every validation control? ControlToValidate property and Text property. 2. What does the "EnableViewState" property do? Why would I want it on or off? It allows the page to save the users input on a form across postbacks. It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the clients browser. When the page is posted back to the server the server control is recreated with the state stored in viewstate. 3. What are the Application_Start and Session_Start subroutines used for? This is where you can set the specific variables for the Application and Session objects. 4. Can you edit data in the Repeater control? No, it just reads the information from its data source. 5. What methods are fired during the page load? Init() - when the page is instantiated Load() - when the page is loaded into server memory PreRender() - the brief moment before the page is displayed to the user as HTML Unload() - when page finishes loading. 6. How many classes can a single .NET DLL contain? It can contain many classes.33 7. Where does the Web page belong in the .NET Framework class hierarchy? System.Web.UI.Page 8. What namespace does the Web page belong in the .NET Framework class hierarchy? System.Web.UI.Page 9. Describe the difference between inline and code behind. Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page 10. Which method do you invoke on the DataAdapter control to load your generated dataset with data? The Fill() method 11. What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control? You must set the DataSource property and call the DataBind method. 12. What are the validation controls? A set of server controls included with ASP.NET that test user input in HTML and Web server controls for programmer-defined requirements. Validation controls perform input checking in server code. If the user is working with a browser that supports DHTML, the validation controls can also perform validation using client script. 13. What is CTS (Common Type System)? It defines about how Objects should be declard, defined and used within .NET. CLS is the subset of CTS. 14. Where do you store the information about the user’s locale? System.Web.UI.Page.Culture 15. Whats MSIL, and why should my developers need an appreciation of it if at all? MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL. MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.
|