C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

difference between user control and web user control


Posted Date: 15 May 2007      Posted By: swathi      Member Level: Gold     Points: 2   Responses: 4



difference between user control and web user control




Responses

Author: M.Sathiskumar    15 May 2007Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

hai

User control is same link a html page that html contents add in your page. It declare every time.
if you want same part means login place or menus this items are common for all page.
so you can create a ascx file(user control) then you use every page(just drag and drop)

But Web User control is same like asp controls. if you want you make on control at
separate project and bulid that and add toolbox that dll..



Author: Bharath Reddy VasiReddy    23 May 2007Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

Main difference is a user control can be build to form a dll where as web user control cannot.
i.e A user control in windows (UserControl1.cs file) which can be build to form a dll. This dll can be referenced in any other projects like other dll ( By right clicking on the toolbox-->Add/Remove Items-->refer to the built dll). By doing this the user control will be added to the toolbox which can be drag and droped in to the form like other built in controls.
Where as a web user control (WebUserControl.ascx) directly add the control to the solution drag and drop. Here we dont get a dll by building it.



Author: ChandraShekar Thota    27 Jun 2007Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

usercontrol is one which is for same application
webuser control is for differrent applications

chandrashekarthota@gmail.com /92 93 95 95 39
FREE SESSIONS ON .NET AND VISUALSTUDIO



Author: ChandraShekar Thota    27 Jun 2007Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

one is .ascx
other is .dll

chandrashekarthota@gmail.com /92 93 95 95 39
FREE SESSIONS ON .NET AND VISUALSTUDIO



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : difference between user control and web user control
Previous : what is static data binding and dynamic data biding?
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use