not sure how to get an event raised for my situation.
the primary use of the custom control is achieved with :
"<cc1:myCustomControl id="CustomControl1" runat="server" />"
properties are assigned programatically with a call to
"LoadProperties(CustomControl1)"
Sub LoadProperties(oThis)
othis.Chart_align = "center"
...
End Sub
and this part works.
then my weak attempt to get an interim arraylist back from the custom
control
............. code start ...
'create a new instance of control
'-----------------------------------
Dim oDisplay as myCustomControl = New myCustomControl
call LoadProperties(oDisplay )
'create new arraylist
'--------------------------
Dim myArrayList As New ArrayList()
'populate arraylist
'-----------------------
myArrayList = oDisplay.buildarraylist()
............ end code .....
This fails because it's not accepting the properties, but it does accept
them on the first instance above ??
------------- error msg -----------------
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
Source Error:
Line 1415: writer.AddAttribute("align",
Chart_align.ToString() )
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:
[email protected]...