[CLOSED] get set of elements of dynamic usercontrol
Hello , how can I change values ​​of elements of a ' UserControl ' and access control methods in the parent page
Code:
protected void carregarOcorrencias(int i)
{
Ext.Net.Panel p = new Ext.Net.Panel();
UserControlLoader ucl = new UserControlLoader();
ucl.Path = "~/CONTROLS/ocorrenciasMural.ascx";
// ucl.setValues("test");
ucl.UserControlAdded += ucl_UserControlAdded;
ucl.ID = i.ToString();
p.Items.Add(ucl);
this.panelOcorrencias.Items.Add(p);
p.Render();
}