So, my custom control inherits from WebControl. Then i override the AddAttributesToRender method and place all the html there. Then i would have a control designer
and get/set those public properties. This is the logic?
I don't think, ever, that html code should be implemented through a class (except on particular cases, of course). Each time i would want/need to change something, i would have to build the control again.
I should create a custom control that inherits from SimpleControl class, then override and define a template (this way i can edit with more freedom) and then apply a control designer to it. This was your second advice right?
Sorry for being stubborn, but this is a more acessible way to make changes when needed.