Answered by:
How to create a custom control?

Question
-
User266794086 posted
I have created a sample User control,
but I don't know how to make a Custom control,
Can somebody guide me with an example?
Sunday, December 11, 2011 9:04 AM
Answers
-
User541108374 posted
Hi,
there's a great tutorial series on how to create them on MSDN: Developing Custom ASP.NET Server Controls. Be sure to check these out. My suggestion: go for composite controls or subclass an existing control from the core framework. In most cases this is already sufficient for what you want to do.
Grz, Kris.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, December 11, 2011 9:12 AM -
User1759999623 posted
You can create an ASP.NET (AJAX) Server Control (Extension) project to build a custom web control. Look here for more information:
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, December 11, 2011 9:18 AM -
User3866881 posted
I have created a sample User control,
but I don't know how to make a Custom control,
Can somebody guide me with an example?
To create a Customer Control is much more hard than create a user control (*.ascx)——So if you are a newbie to create a Customized Control,in fact a better way is to convert a User Control to the Customized Control,you can see this article here:
Turning an ascx user control into a redistributable custom control
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, December 12, 2011 8:56 PM
All replies
-
User541108374 posted
Hi,
there's a great tutorial series on how to create them on MSDN: Developing Custom ASP.NET Server Controls. Be sure to check these out. My suggestion: go for composite controls or subclass an existing control from the core framework. In most cases this is already sufficient for what you want to do.
Grz, Kris.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, December 11, 2011 9:12 AM -
User1759999623 posted
You can create an ASP.NET (AJAX) Server Control (Extension) project to build a custom web control. Look here for more information:
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, December 11, 2011 9:18 AM -
User3866881 posted
I have created a sample User control,
but I don't know how to make a Custom control,
Can somebody guide me with an example?
To create a Customer Control is much more hard than create a user control (*.ascx)——So if you are a newbie to create a Customized Control,in fact a better way is to convert a User Control to the Customized Control,you can see this article here:
Turning an ascx user control into a redistributable custom control
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, December 12, 2011 8:56 PM