Last post Mar 18, 2010 08:32 PM by asmgx
Mar 18, 2010 07:18 PM|asmgx|LINK
I want to make a custom control not user control.
i mean i want to make some changes on one of the standard controls (e.g. TextBox, Button, GridView, etc.)
by adding some extra features to this control, and use it in my pages.
my understanding that User controls is a new project that can have more than one control and work with each other as user want.
is there any way i can create a Custom Control not User Control,
again I mean add some features to a standard control class itself.
Mar 18, 2010 08:02 PM|aderegil|LINK
What about the following walktrough:
This walkthrough shows you how to create and compile a custom ASP.NET server control and use it in a page.
During this walkthrough you will learn how to:
Create an ASP.NET server control.
Add metadata to the control and its members to control security and design-time behavior.
Use the App_Code directory in an ASP.NET Web site to test your control without manual compilation steps.
Specify a tag prefix in a configuration file and in the control's assembly.
Compile the control into an assembly and add it to the Bin directory.
Embed a bitmap into the control's assembly as the toolbox icon for a visual designer.
Use the compiled control in a page.
Mar 18, 2010 08:32 PM|asmgx|LINK
Thats what i want...
Thanks a lot