Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Its regarding inheritance.


Message #1 by Chandrakant deshmukh <shambhu@m...> on Thu, 17 Jan 2002 12:12:03 +0800
This is a multi-part message in MIME format.

------_=_NextPart_001_01C19F4B.DC1836BC
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Research interfaces.  That may do what you want.
_____________________________________________

Kyle Dunn
Chief Information Officer
Funeral Services, Inc.
xxx-xxx-xxxx  x 309
Kyle@F...

-----Original Message-----
From: Chandrakant deshmukh [mailto:shambhu@m...]
Sent: Wednesday, January 16, 2002 11:12 PM
To: ASPX_Professional
Subject: [aspx_professional] Its regarding inheritance.

Its regarding inheritance.

Whenever I inherit a class, containing web controls in
it, whether its an ascx file (pagelet) or a simple vb class, all the
functionality gets inherited, except
the web controls i.e. textbox, buttons etc.

I want to inherit a pagelet i.e. an ascx control in my web form and
override some of the methods written in
ascx control from within the web form.

But since .NET allows only single inheritance, I
cannot inherit my web form page from a pagelet which
inherits web.ui.usercontrol.

Please tell me what can be the other possible
ways ??



Regards
------------------------------------------------------------------------
--------------------------------------------
Chandrakant Deshmukh
Schlumberger GeoQuest
7th. Floor, West Wing - Rohas Perkasa
No 8 Jalan Perak
50450 Kuala Lumpur
Malaysia
Tel: (60)(3) 2169 4175
Fax: (60)(3) 21667500
Email: shambhu@m...

$subst('Email.Unsub').


  Return to Index