Jul 20, 2011, 6:54 PM
I need this code in Server Side
Hello,
I need this code in Server Side:
I need this code in Server Side:
<ext:Panel ID="pnlExample" runat="server" Title="Panel Example">
<Content>
<ext:Label ID="lbl_one" runat="server" Text="Hello1"></ext:Label>
<br />
<ext:Label ID="lbl_two" runat="server" Text="Hello2"></ext:Label>
</Content>
</ext:Panel>
I can´t get it <br> instruction at Server Side:Ext.Net.Panel panelExample = new Ext.Net.Panel();
panelExample.ID = "pnlExample";
panelExample.Title =Panel Example";
Ext.Net.Label lbl_one = new Ext.Net.Label();
lbl_one.ID = "lbl_one";
lbl_one.Text = "Hello1";
Ext.Net.Label lbl_two = new Ext.Net.Label();
lbl_two.ID = "lbl_one";
lbl_two.Text = "Hello2";
panelExample.ContentControls.Add(lbl_one);
???
panelExample.ContentControls.Add(lbl_two);
Please, I need your help.