Inherits from webcontrol or webcontrols

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I would like to know whats the difference of inherit from webcontrol or webcontrols

In wich cases its better the use of one or another

Thanks in advance
Regards
Josema.
 
WebControls is a namespace, so you can't actually inherit from it. So,
WebControl would be the correct choice.
I would recommend though that you determine if there may be a MS control
that does nearly what you want and just inherit from that. You can save
yourself a lot of time and effort by modifying an existing control then
starting from scratch at WebControl.
 
Back
Top