| Author: M.Sathiskumar 15 May 2007 | Member Level: Silver | Rating:  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 2007 | Member Level: Bronze | Rating:  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 2007 | Member Level: Diamond | Rating:  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 2007 | Member Level: Diamond | Rating:  Points: 2 |
one is .ascx other is .dll
chandrashekarthota@gmail.com /92 93 95 95 39 FREE SESSIONS ON .NET AND VISUALSTUDIO
|