Editor, TabContainer and Editable DetailsView control

Last post 05-31-2009 7:05 PM by geoffHome. 0 replies.

Sort Posts:

  • Editor, TabContainer and Editable DetailsView control

    05-31-2009, 7:05 PM
    • Participant
      1,221 point Participant
    • geoffHome
    • Member since 10-17-2003, 2:51 PM
    • Posts 346

    I have a DetailsView control and am trying to be 'clever' with the new Editor Control and the TabContainer (I want the one editor panel to be used for several fields)

    Why does this work successfully (ie: Updates successfully)

                  <EditItemTemplate>
                            <cc2:Editor ID="Editor4" runat="server" Content='<%# Bind("BriefDescr") %>'/>
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("FullDescr") %>'></asp:TextBox>
                           etc.......
     but this does not (it doesn't break but just seems to be ignored on Update

                      
            <cc1:tabcontainer runat="server" ID="Tabs" Height="400px"  ActiveTabIndex="0" Width="420px">
                <cc1:TabPanel runat="server" ID="Panel1" HeaderText="Brief Description">
                    <ContentTemplate>
                        <asp:UpdatePanel ID="updatePanel1" runat="server">
                            <ContentTemplate>
                               <cc2:Editor runat="server" id="editor1" Height="350px" AutoFocus="true" Content='<%# Bind("BriefDescr") %>' />
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </ContentTemplate>
                </cc1:TabPanel>

            etc.......

     Of course I can work around this but feel that I might be misunderstanding something.

Page 1 of 1 (1 items)