Anonymous:
Check out:
http://openmymind.net/communication/index.html for a detailed
explanation of how to best get a page and its user controls to chat...but,
my guess is that you have somethin glike:
dim control as Control = Page.LoadControl("someThing.ascx")
SomePlaceHolder.Controls.Add(control)
if you have a public property that you want to set, you must cast the
control to the actual class someThing.ascx is, for example:
dim control as SomeThing = Ctype(Page.LoadControl("someThing.ascx"))
control.SomeValue = xxx 'this will work now
SomePlaceHodler.Controls.Add(control)
this assumes that your user control looks a bit like:
public class SomeThing
inherits UserControl
public property SomeValue() as String
get ... end get
set ... end set
...
end class
Hope this helps,
Karl