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 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 08-18-2007, 03:03 AM
a.deeban a.deeban is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 279
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 05:08 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-20-2007, 08:25 AM
a.deeban a.deeban is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 279
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 On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/3351-use-custom-control-user-control.html
Posted By For Type Date
DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 08-18-2007 03:13 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control the webcam using C#? kingmaker C# Programming 3 09-25-2008 09:01 PM
How to create User Control in asp.net? poornima ASP and ASP.NET Programming 7 04-18-2008 09:01 PM
Version control in flex seesamjagan Adobe Flex Programming 0 01-03-2008 01:21 AM
How do I get the value of a form control? itbarota HTML, CSS and Javascript Coding Techniques 2 10-26-2007 04:13 AM
Define Quality Control itbarota Software Testing 2 07-24-2007 12:37 AM


All times are GMT -7. The time now is 07:11 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0