Jul 21, 2015, 1:35 PM
[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
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();
}
Last edited by Daniil; Jul 21, 2015 at 7:11 PM.
Reason: [CLOSED]