Last post Oct 24, 2017 04:42 PM by KathyW
Aug 13, 2015 12:40 AM|anrorathod|LINK
I want to create custom text editor as a custom control, like as TextEditor in AjaxControlToolkit.
I am not getting idea how to develop, please guide/help me.
Thanks in Advance.
Thanks and Regards,
Aug 13, 2015 01:24 AM|XIII|LINK
I'm just wondering why you would create your own and put a lot of time/effort into it while there's already a bunch of them on the market.
For the technical part: take a look at other controls and how they do it. The source code of the one you mentioned is available for example.
I am not getting idea how to develop
An older book but I liked the one written by Nikhil Kothari from Microsoft Press about this subject back in the days when I still wrote custom controls.
Aug 13, 2015 02:28 AM|anrorathod|LINK
Thank for reply.
There is specific requirement for TextEditor, thats why I need to develop it. I am using Visual Studio 2015, and there no option to create custom control.
Please guide me.
Aug 13, 2015 07:34 AM|XIII|LINK
I am using Visual Studio 2015, and there no option to create custom control.
Simply create a class library, put a class in it and inherit from Control or WebControl. As you're going to have visual output most likely the second one is more up to the task.
Jul 18, 2016 07:22 PM|ameador1|LINK
Did you ever figure this out? I am having the same issue - I cannot figure out how to create a custom control based off inheriting from a TextBox. I can't find any working samples and so far have gotten no response in these forums. I'm trying to do a custom
control based on TextBox for a Web Forms application for a project originally started in VS2008 - but am now using VS2015.
Apr 03, 2017 10:48 PM|DLGray|LINK
Have you actually tried to inherit from Control or WebControl in a class using Visual Studio 2015? Curiously, there are NO examples or samples on creating a custom WebControl using Visual Studio 2015. There must be a reason, but nobody's talking about
it. What's up with that?
Oct 24, 2017 04:42 PM|KathyW|LINK
There is nothing new in VS 2015 about creating a custom control. Not surprisingly you'll find examples using older versions, where webforms was the focus. Nothing has changed about how to do it. There is a current thread here about doing just that: