What is the difference between custom control and web
control?
Answer Posted / rathi
Usercontrol:
1) User control can be used for the Reusable purpose only.
2) Once you create User control that can be access in
current project.
3) User control extenction is .ascx file.
4) It can be visible in Solution explorer.
5) It is Locally used.If you want used this control in any
page just drag and drop from Solution or Register that
particular page like
<%@ Register TagPrefix="scott" TagName="header"
Src="Controls/Header.ascx" %>
<%
Custom Control:
1) Custom control can used for Globale purpose like Tollbox
controls.
2) custom control can created extenction file is .dll .
3) It can Add to Toolbox like
Right click on toolbox add->choose itemes->select path of
file.
4) custom control If you want used in any forms just you
can drag and drop like normal control.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the types of assemblies in .net?
What tools can I use to develop .net applications?
What is the lapsed listener problem?
How does cas works?
What are the core differences between .NET Languages ?
How inheritance works in .net?
Explain the difference between the while and for loop. Provide a .net syntax for both loops?
What is singlecall activation mode used for in .net?
what is the default security setting in .net?
What is stored procedure ? how we use it in .NET ?
How many types of generations are there in a garbage collector?
Explain what is the difference between web application and enterprise application?
What is a formatter in .net?
Tell me about secure socket layer? How to make use of the technology?
Is .net core installed?