2 Replies Latest reply on Oct 13, 2006 12:19 PM by ntsiii

    custom component accessing data

    forty6n2 Level 1
      I am trying to build a custom component that utilizes the datagrid. I want to create a class that loads in xome XML and populates the datagrid. The datagrid's ID is not available in the class's load.COMPLETE event handler, so I cannot populate the datagrid from the class. I then tried making a public property in the class that holds the XML, but, still I run into problems, because that property is null before the XML is loaded, so I cannot access it outside the class until the load is complete anyways. So, I guess the question is, what would be the best practice for passing data, loaded from a class, to a custom component.