Author: kzrystof213 | Posted on: 4/2/2009 2:02:06 PM | Views : 805

Hello,
 
I've written a class that extends the BulletedList control.  From outside the class itself, I'm able to correctly add Items to it. However, if I call Items.Add internally from its constructor, it fails silently. Here's the Source:
 
public class XmlArchiveList:BulletedList
{
  public void XmlArchivesList(){
    Items.Add(new ListItem("test", "t"));
  }

}
 
Any ideas?
Thanks,
Kzrystof

...

Go to the complete details ...