P
Peter Papanikolaou
Hi,
I created a custom web control in c#. It inherits from WebControl. Here is
my problem:
When inheriting from WebControl it add properties I dont need. So, I
decided to inherit from Control. This works and I dont get all the extra
properties. The problem is when inheriting from Control, the web control
positions itself in the upper left hand corner and cannot be moved. Is
there a way to inherit from Control and add functionality to make it
moveable?
Inheriting from WebControl is not an option because even if I make the extra
properties non browsable, they still show up in the code through
intellisence. I need to derive directly from Control and get this to work.
Thanks,
Pete
I created a custom web control in c#. It inherits from WebControl. Here is
my problem:
When inheriting from WebControl it add properties I dont need. So, I
decided to inherit from Control. This works and I dont get all the extra
properties. The problem is when inheriting from Control, the web control
positions itself in the upper left hand corner and cannot be moved. Is
there a way to inherit from Control and add functionality to make it
moveable?
Inheriting from WebControl is not an option because even if I make the extra
properties non browsable, they still show up in the code through
intellisence. I need to derive directly from Control and get this to work.
Thanks,
Pete