Oct 16, 2012, 2:28 PM
dose Form Panel isValid() method validate the content section items
when adding a user control that contains a textfield with AllowBlank ="false" to a fomr panel content then try to check the isValid() method for the form panel it will give you a true result which is wrong.
So,dose Form Panel isValid() method validate the content section items????
i use the following code:
So,dose Form Panel isValid() method validate the content section items????
i use the following code:
Ext.Net.FormPanel oPanel = new Ext.Net.FormPanel();
oPanel.ID = "Test1";
oPanel.Height = 50;
oPanel.Border = false;
Control oControl = this.LoadControl("ITEC_Hijri2.ascx");
oControl.ID = "ITEC_Hijri1";
oPanel.ContentControls.Add(oControl);
pnlBuildForm1.UpdateContent();
oPanel.Render(pnlBuildForm1, 1, RenderMode.InsertTo);
ResourceManager1.Controls.Add(oPanel);