What is the difference between custom control and web
control?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sandeep verma
Web Control will have .ascx and its codebehind file. Custom
control will have only codebehind (.cs) file.
In summary, custom control may not have any UI interface.
| Is This Answer Correct ? | 1 Yes | 1 No |
Different levels of priority provided by .net.
Directcast(123.34,integer) - should it throw an error? Why or why not?
Is Driver Script any how related to AOM?
can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?
What is the difference between encrypting a password and applying a hashing?
Hi, Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Got Exception in "try" block. Which "catch" throws exception and Why??? Please provide the answer in detail.. Thanks for the help!!!
What's singleton activation mode in .net?
How does u handle this COM components developed in other programming languages in .NET?
how we can capture the value in textbox when selectedvluechanged event of gridview is fired
What is delegation in .net?
What is .net and why it is used?
1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any other reason.