Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 7144 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > Difference between user controls N custom controls? ...
Rajendra.prasad

Difference between user controls N custom controls?

Replies: 2 | Posted by: Rajendra.prasad on 4/18/2010 | Category: ASP.NET Forums | Views: 1787 | Status: [Member]  


Hi All,

Difference between user controls N custom controls?

Regards,
Rajendra


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Basawareddy
Basawareddy  
Posted on: 4/20/2010 7:04:02 AM
Level: Starter | Status: [Member]

Hi,

User Control : 1)Designed for single-application scenarios
2)Deployed in the source form (.ascx) along with the source code of the application
3)If the same control needs to be used in more than one application, it introduces redundancy and maintenance problems

Custom control: 1)Designed so that it can be used by more than one application
2)Deployed either in the application's Bin directory or in the global assembly cache
3)Distributed easily and without problems associated with redundancy and maintenance

For more details refer below article:
http://support.microsoft.com/kb/893667

Regards,
Basawareddy M Gopsen


Regards,
Basawareddy M Gopsen

Rajendra.prasad, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Er.deepakdalal
Er.deepakdalal  
Posted on: 4/20/2010 10:56:30 PM
Level: Starter | Status: [Member]

User Controls:-

1)User controls are custom, reusable controls.

2)User Control can access only within the current
project.if u want to access the user control to
other application,u have to include that user control
to that application.Only after that u able to use it.

3) User Control can't included in the visual studio IDE.

4)User Controls are easily created but its very hard.

Custom Control:-

1) Custom controls are compiled code components that execute on the server.

2) Custom control can access from any application because it is stored in the Global Assembly Cache.

3) Where as Custom Control easily include in the Visual Studio IDE.

4) On the other hand Custom Control are very hard to create but they are easily used.




With Regards
Deepak Dalal




Rajendra.prasad, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/18/2013 6:51:48 AM