[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

asp.net - user controls - ascx

coming from a classic asp background, I understand that user controls are basically a set of web controls that are wrapped so that you can reuse in other web pages...is it like an include from asp?
0
GlobaLevel
Asked:
GlobaLevel
1 Solution
 
CodeCruiserCommented:
Well functional yes but technically its bit more complicated. With include files, the contents of include file are dumped in place of the include but with user controls, ASP.NET runtime makes sure the dependencies of the user control are loaded before the control etc.
0
 
Easwaran ParamasivamCommented:
Creating user control could serve multiple pages. This is not complicated as you are familiar with ASP world.

Below articles can guide you.

http://msdn.microsoft.com/en-us/library/26db8ysc(v=vs.85).aspx
http://www.codeproject.com/KB/user-controls/myusercontrol.aspx
http://www.asp.net/general/videos/how-do-i-create-a-custom-user-control-in-aspnet
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now