FormPanel doesn't display custom user control in content

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    FormPanel doesn't display custom user control in content

    I need to use Content instead of Items into the FormPanel in order to place there div tags
    In this case uc:CustomerCategory2 doesn't show.
    <ext:TabPanel runat="server">
        <Items>
            <ext:Panel runat="server">
                <Items>
                    <ext:FormPanel runat="server">
                        <Content>
                            <div>
                                <ext:DateField  runat="server"></ext:DateField>
                                <div class="x-form-clear-left">
                                </div>
                            </div>
                            <div>
                                <ext:TextField runat="server" />
                                <div class="x-form-clear-left">
                                </div>
                            </div>
                            <div class="chksBlock">
                                <uc:CustomerCategory2 runat="server" ID="CustomerCategories2Uc" />
                                <div class="x-form-clear-left">
                                </div>
                            </div>
                            <div>
                                <ext:TextArea runat="server"  />
                                <div class="x-form-clear-left">
                                </div>
                            </div>
                            
                        </Content>
                    </ext:FormPanel>
                </Items>
            </ext:Panel>
    </Items>
    </ext:TabPanel>
    In the second case it works fine. But I can't to use this code because I need div tags.

    <ext:TabPanel runat="server">
        <Items>
            <ext:Panel runat="server">
                <Items>
                    <ext:FormPanel runat="server">
                        <Items>
                                <ext:DateField  runat="server"></ext:DateField>
                                <ext:TextField runat="server" />
                         </Items>
                          <Content>
                                <uc:CustomerCategory2 runat="server" ID="CustomerCategories2Uc" />
                          </Content>
                          <Items> 
                                <ext:TextArea runat="server"  />
                           </Items>
                    </ext:FormPanel>
                </Items>
          </ext:Panel>
    </Items>
    </ext:TabPanel>
    Last edited by AlexMaslakov; Oct 12, 2011 at 11:22 AM.

Similar Threads

  1. Replies: 1
    Last Post: Jan 16, 2012, 5:00 PM
  2. Replies: 0
    Last Post: Nov 17, 2011, 10:53 AM
  3. Replies: 1
    Last Post: Nov 09, 2010, 3:30 PM
  4. Replies: 0
    Last Post: Oct 19, 2010, 7:39 AM
  5. Property, user control and FormPanel
    By alainfo in forum 1.x Help
    Replies: 2
    Last Post: Jul 23, 2009, 11:02 AM

Posting Permissions