O
Ovidiu Birladeanu via .NET 247
I have built a class derived from WebControl, and added somespecific functionality to it..Then I built a set of web controlsbased on that class...Everything works fine, until i needed apanel like functionality and all my stuff..All I could do iscreate a web control derived from WebControls.Panel andDUPLICATE all the code for that "specific functionality"..Now ihave a lot of classes and a lot of code writed twice..C# doesnot supports multiple inheritance,so the only solution (besidesthat code duplication) would be to find a way, by usingattributes and methods, to enable a class derived fromWebControl to act as a Panel ( drag & drop and stuff)..I'vetryed a lot of methods but i get stuck to that "Invalidparameter" error.
I don't need much, just a hint to start digging ..
Thanx in advance,
Ovidiu
I don't need much, just a hint to start digging ..
Thanx in advance,
Ovidiu