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
why you wouldn't want to write into it even if you could
Is .net core the future?
What is strong-typing versus weak-typing? Which is preferred?
What is the new three features of COM+ services, which are not there in COM (MTS)
What is RCW (Run time Callable Wrappers)?
What are the improvements made in cas in .net 4.0?
Explain asp.net?
What is the use of gacutil.exe?
can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?
What are the features of dot net?
What are the core differences between .NET Languages ?
Will my .net app run on 64-bit windows?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
How viewstate is being formed and how it's stored on client in .net?
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?