PC Review


Reply
Thread Tools Rate Thread

Custom Control VS User Control (NOT ASP.NET)

 
 
Sin Jeong-hun
Guest
Posts: n/a
 
      27th Jun 2008
Hello.

The two terms are confusing so I had searched Google for it, but
always those of ASP.NET popped up. Not ASP.NET, I want to know about
Windows Form Custom Control VS Windows Form User Control. What are
the differences and when should I use what? The only thing I have
noticed so far is that User Control has built-in VS.NET designer
support while Custom Control does not. What are their cons and pros?
Thank you in advance for any tips.
 
Reply With Quote
 
 
 
 
Ignacio Machin ( .NET/ C# MVP )
Guest
Posts: n/a
 
      27th Jun 2008
On Jun 27, 9:53*am, Sin Jeong-hun <typing...@gmail.com> wrote:
> Hello.
>
> The two terms are confusing so I had searched Google for it, but
> always those of *ASP.NET popped up. Not ASP.NET, I want to know about
> Windows Form Custom Control VS *Windows Form User Control. What are
> the differences and when should I use what? The only thing I have
> noticed so far is that User Control has built-in VS.NET designer
> support while Custom Control does not. What are their cons and pros?
> Thank you in advance for any tips.


Hi,

Sometimes its confusing cause people use XXX control to describe any
control that is not provided by the framework. And I think that in the
windows world there is no big difference after all.

A control can be designable or not and this only has implication if
you can visually drag it to a form and use the property tab. Or if the
control has no interface drag it to the .... (I just forget the
correct name of the lower part of the designer)

Where there is a CLEAR difference though is in the ASPNET world, there
a user control as a defined extension (.ascx) and follow a certain set
of rules.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp.net User Control or Custom control Property doesnt accept inlineasp.net constract <%= %> is there a workaround? AleXmanFree Microsoft ASP .NET 3 9th Oct 2008 08:39 PM
How do you access a control property of a main form from a custom user control? forest demon Microsoft C# .NET 6 22nd Aug 2007 11:36 PM
feeding a SQLDataSource embedded in an .ascx user control a custom property assigned to that control Microsoft ASP .NET 4 16th Jul 2006 01:20 PM
Custom User Control is not rendered inside another user control in a server table. Leeor Chernov Microsoft ASP .NET 2 16th Oct 2005 09:35 AM
Creating user control/custom image control to handle multilingual site SamIAm Microsoft ASP .NET 1 17th Oct 2003 09:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:56 AM.