The Difference between component and module??
hello everyone. I don't know clearly between component and module in Asp.net .And plenty of things that was added into toolbox is component??Example:Textbox in Asp.net. And someone know any article or video guide the way to create component?Thanks everyone .i think my question is very silly but...
Satyapriya NayakPosted Dec 1, 2011, 10:33 AM
Plenty of things that was added into toolbox are Custom Controls
User Controls
User controls are authored in the same fashion as a standard Web Form. This makes user controls relatively easy to create, especially when aided by a visual designer such as Visual Studio .NET. Hence, given the same WYSIWYG and declarative environment as an ASP.NET page, user controls can be created with or without a code-behind file, and can handle their own events independent of the parent page. Design-time support for user controls, however, is limited. User controls are represented only by a dull placeholder and properties cannot be set via the Properties window. Also, user controls cannot be added to the Toolbox; sharing of user controls is achieved through placing the necessary user control files in each Web application directory.
Custom Controls
Unlike user controls which are authored in the same fashion as a Web Form, custom controls are compiled and distributed in binary format. Control authors must create their own classes which subclass from System.Web.UI.Control either directly or indirectly by subclassing another control. Custom controls are created without the aid of a designer and require the author to overcome a much steeper learning curve. On the other hand, custom controls provide strong designer-time support. Once compiled, custom controls can be added to the Toolbox and be used the same fashion as the other controls that ship with the .NET SDK such as the TextBox and Button controls. Furthermore, custom controls can expose properties which can easily be set by page developers using the Properties window of the visual designer. Finally, custom controls allow authors to extend or modify the functionality provided by existing controls.
For components
Refer
http://www.4guysfromrolla.com/webtech/112101-1.shtml
Thanks
viet vo quocPosted Dec 1, 2011, 10:13 PM
This is website i read :http://support.microsoft.com/kb/307996
and http://www.dart-creations.com/joomla/joomla-tutorials/the-difference-between-modules-and-components.html .I hope helped!!Thanks. My purpose is i want to understand clearly so much about module,component and the things that be added into toolbox like Textbox and combobox.I want to create a thing for only me that be added into toolbox.
Sam HobbsPosted Dec 1, 2011, 4:51 PM