Monday 15 September 2014

c# - Cannot access public properties of my base user control from my derived user control -



c# - Cannot access public properties of my base user control from my derived user control -

i have created user command follows:

public class controls_custom_base : system.web.ui.usercontrol { public list<string> mylist; }

i have derived command follows:

public class controls_custom_derived : controls_custom_base { }

i access mylist derived class cannot see it. have tried using:

base.mylist

and have tried changing mylist property get/set methods not work either!

c# asp.net inheritance user-controls webusercontrol

No comments:

Post a Comment