ASP.Net Interview Question and Answers

101. What are the different types of Validation Controls?
 
    There are six types of validation controls available :
  • RequiredFieldValidator
  • RangeValidator
  • RegularExpressionValidator
  • CompareValidator
  • CustomValidator
  • ValidationSummary
 
Your Name Your Email-ID
Your Answer
102. What is the Web User Control?
  Combines existing Server and/or HTML controls by using VS.Net to create functional units that encapsulate some aspects of UI. Resides in Content Files, which must be included in project in which the controls are used.
 
Your Name Your Email-ID
Your Answer
103. What namespaces are necessary to create a localized application?
 
  • System.Globalization
  • System.Resources
 
Your Name Your Email-ID
Your Answer
104. What namespace do the ASP.NET Page and LiteralControl classes belong to?
  System.Web.UI
 
Your Name Your Email-ID
Your Answer
105. What is the lifespan for items stored in ViewState?
  Items stored in a ViewState exist for the life of the current page, including the post backs on the same page.
 
Your Name Your Email-ID
Your Answer