top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between custom controls and user controls?

+1 vote
364 views
What is the difference between custom controls and user controls?
posted Sep 1, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Custom controls are basically compiled code i.e. DLLs. These can be easily added to toolbox, so it can be easily used across multiple projects using drag and drop approach. These controls are comparatively hard to create.
But User Controls (.ascx) are just like pages (.aspx). These are comparatively easy to create but tightly couple with respect to User Interface and code. In order to use across multiple projects, we need to copy and paste to the other project as well.

answer Sep 1, 2015 by Shivaranjini
Similar Questions
+1 vote

Are paths such as HREFs in user controls relative to the user control or to the
host page that they are in?

+7 votes

How to create your own controls?
Basic steps will be helpful.

...