IT Community - Software Programming, Web Development and Technical Support

use of Custom Control and User Control?

This is a discussion on use of Custom Control and User Control? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, can anyone clear me..... When should we use Custom Control? When should we use User Control? What is difference ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 08-18-2007, 02:03 AM
a.deeban a.deeban is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 278
a.deeban is on a distinguished road
Default use of Custom Control and User Control?

Hi,

can anyone clear me.....

When should we use Custom Control? When should we use User Control? What is difference between these two?


thnx...

Last edited by Booom : 08-18-2007 at 04:08 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-20-2007, 07:25 AM
a.deeban a.deeban is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 278
a.deeban is on a distinguished road
Default Re: use of Custom Control and User Control?

HI,

I got the difference between them.


Custom Control

1. You create a Custom control when it is going to be used across different applications
2. Custom controls don't a visual interface.
3. Custom controls however can be added to your tool box and used in different applications without re-compiling.
4. It's a .dll

User Control

1. If the control you are going to create is only for a particular website then User Control is the best option
2. User controls have a visual interface
3. User control will not appear in tool box and it will not have design support and loaded at runtime.
4. It's an .ascx


thnx...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
issue in asp.net user control for message box illianafrazer ASP and ASP.NET Programming 0 09-07-2009 05:54 AM
How to control the webcam using C#? kingmaker C# Programming 9 09-05-2009 02:57 AM
User control problem arjkhanna C# Programming 7 05-27-2009 09:15 PM
Custom Control not getting event response ziddan C# Programming 0 11-11-2008 06:13 PM
How to create User Control in asp.net? poornima ASP and ASP.NET Programming 7 04-18-2008 08:01 PM


All times are GMT -7. The time now is 07:21 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0