Welcome Guest | Sign in | Register
ASP.NET - DotNet Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com
46. What is the use of PlaceHolder control? Can we see it at runtime?

The PlaceHolder control acts as a container for those controls that are dynamically generated at runtime. We cannot see it at runtime because it does not produce any visible output. It used only as a container.

47. What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

To deny a particular user form accessing the secured resources, the web.config file must contain the following code:

48. What are the event handlers that can be included in the Global.asax file?

The Global.asax file contains some of the following important event handlers:
• Application_Error
• Application_Start
• Application_End
• Session_Start
• Session_End

49. What is the difference between page-level caching and fragment caching?

In the page-level caching, an entire Web page is cached; whereas, in the fragment caching, a part of the Web page, such as a user control added to the Web page, is cached.

50. Make a list of all templates of the Repeater control.

The Repeater control contains the following templates:
• ItemTemplate
• AlternatingltemTemplate
• SeparatorTemplate
• HeaderTemplate
• FooterTemplate




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.