What is the difference between custom control and web
control?

Answers were Sorted based on User's Feedback



What is the difference between custom control and web control?..

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

What is the difference between custom control and web control?..

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

Post New Answer

More Dot Net General Interview Questions

Which Security Algorithm used to encrypt the data? a) DES b)RC2 c)Triple DES d)All the above

1 Answers   CTS, Value Labs,


What is dot net and its uses?

0 Answers  


Explain the code behind wors and contrast that using the inline style.

0 Answers  


How can we convert XML data into DataBase table IN .Net?

3 Answers   Indus Media, Wipro,


Interop Services?

0 Answers  






A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?

0 Answers  


Explain Different kinds of methods?

0 Answers   Wipro,


What is the difference between imperative and interrogative code?

0 Answers  


What makes .net core cross platform?

0 Answers  


What is the difference between VB and VB.NET?

2 Answers  


Explain what is a delegate?

0 Answers  


Is .net core stable?

0 Answers  


Categories