not sure how to get an event raised for my situation.
the primary use of the custom control is achieved with :
"<cc1:myCustomC ontrol id="CustomContr ol1" runat="server" />"
properties are assigned programatically with a call to "LoadProperties (CustomControl1 )"
Sub LoadProperties( oThis)
othis.Chart_ali gn = "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.builda rraylist()
............. 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.NullRefe renceException: Object reference not set to an instance of an object.
Source Error:
Line 1415: writer.AddAttri bute("align", Chart_align.ToS tring() )
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message
news:ud******** ******@TK2MSFTN GP10.phx.gbl...
Raise an event in your user control, have anyone who cares to hook into the event and retrieve the event argument.
Karl
--
http://www.openmymind.net/
http://www.fuelindustries.com/
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message news:Oc******** ******@TK2MSFTN GP14.phx.gbl...I have a custom server control which renders some html.
I want to capture some interim values generated by the control as it processes the data.
is there a way to capture and retrieve the interim values generated by the control, so they can be used elsewhere in the display
page ?