Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
child band won't postback without parent's involvement
posted

I have the parent of the hierarchial data grid updating automatically on edit and deletions, but he child doesn't seem to work the same.  The only way I can update the dhild is by updating the parent (when I update the parent it posts back and updates the child but I can't get the child to postback).   I wouldn't think that it would behave differently, but it seems to or maybe (hopefully) I am just missing something simple. 

Below is my grid alone.  Thank you for any assistance you can provide.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ig:WebHierarchicalDataGrid ID="gridlog" runat="server" Height="96%" Width="100%"

        DataSourceID="dslog" AutoGenerateBands="False" AutoGenerateColumns="False" DataKeyFields="SegID"

        DataMember="SqlDataSourceLog_DefaultView" Key="SqlDataSourceLog_DefaultView"

        StyleSetName="Pear">

        <Bands>

            <ig:Band AutoGenerateColumns="False" DataKeyFields="SegID, WorkID" DataMember="SqlDataSourceWork_DefaultView"

                Key="SqlDataSourceWork_DefaultView">

                <Columns>

                    <ig:BoundDataField DataFieldName="WorkID" Key="WorkID" Hidden="true" />

                    <ig:BoundDataField DataFieldName="JobID" Key="JobID" Hidden="true" />

                    <ig:BoundDataField DataFieldName="SegID" Key="SegID" Hidden="true" />

                    <ig:BoundDataField DataFieldName="EmpID" Key="EmpID" Header-Text="Work Completed By">

                        <Header Text="Work Completed By"></Header>

                    </ig:BoundDataField>

                    <ig:BoundDataField DataFieldName="WorkDateReceived" Key="WorkDateReceived" Header-Text="Date Received">

                        <Header Text="Date Received"></Header>

                    </ig:BoundDataField>

                    <ig:BoundDataField DataFieldName="TimeSpent" Key="TimeSpent" Header-Text="Time Spent">

                        <Header Text="Time Spent"></Header>

                    </ig:BoundDataField>

                    <ig:BoundDataField DataFieldName="isSpellChecked" Key="isSpellChecked" Header-Text="Spell Checked?">

                        <Header Text="Spell Checked?"></Header>

                    </ig:BoundDataField>

                    <ig:BoundDataField DataFieldName="isProofRead" Key="isProofRead" Header-Text="Proof Read?">

                        <Header Text="Proof Read?"></Header>

                    </ig:BoundDataField>

                </Columns>

                <Behaviors>

                    <ig:EditingCore>

                     

                        <Behaviors>

                            <ig:CellEditing Enabled="true" >

                                <ColumnSettings>

                                    <ig:EditingColumnSetting ColumnKey="EmpID" EditorID="gridlog_DropDownAssignedTo" />

                                    <ig:EditingColumnSetting ColumnKey="isSpellChecked" EditorID="gridlog_DropDownYesNo" />

                                    <ig:EditingColumnSetting ColumnKey="isProofRead" EditorID="gridlog_DropDownYesNo" />

                                </ColumnSettings>

                                <CellEditingClientEvents ExitedEditMode="gridlog_child_Editing_RowUpdated" />

                                <EditModeActions MouseClick="Single" />

                            </ig:CellEditing>

                            <ig:RowAdding Enabled="true">

                                <ColumnSettings>

                                    <ig:RowAddingColumnSetting ColumnKey="EmpID" EditorID="gridlog_DropDownAssignedTo" />

                                    <ig:RowAddingColumnSetting ColumnKey="isSpellChecked" EditorID="gridlog_DropDownYesNo" />

                                    <ig:RowAddingColumnSetting ColumnKey="isProofRead" EditorID="gridlog_DropDownYesNo" />

                                </ColumnSettings>

                                <EditModeActions MouseClick="Single" />

                            </ig:RowAdding>

                            <ig:RowDeleting Enabled="true" />

                        </Behaviors>

                    </ig:EditingCore>

                </Behaviors>

            </ig:Band>

        </Bands>

        <Behaviors>

            <ig:EditingCore EnableInheritance="true">

                <Behaviors>

                    <ig:CellEditing Enabled="true" EnableInheritance="true">

                        <ColumnSettings>

                            <ig:EditingColumnSetting ColumnKey="AssignedTo" EditorID="gridlog_DropDownAssignedTo" />

                            <ig:EditingColumnSetting ColumnKey="SegStatus" EditorID="gridlog_DropDownSegStatus" />

                            <ig:EditingColumnSetting ColumnKey="isScheduled" ReadOnly="true" />

                            <ig:EditingColumnSetting ColumnKey="Jobid" ReadOnly="true" />

                            <ig:EditingColumnSetting ColumnKey="SegNumber" ReadOnly="true" />

                            <ig:EditingColumnSetting ColumnKey="SegDescr" ReadOnly="True" />

                            <ig:EditingColumnSetting ColumnKey="TimeSubmit" ReadOnly="True" />

                            <ig:EditingColumnSetting ColumnKey="DateDue" ReadOnly="True" />

                            <ig:EditingColumnSetting ColumnKey="TimeDue" ReadOnly="True" />

                        </ColumnSettings>

                        <EditModeActions MouseClick="Single"></EditModeActions>

                    </ig:CellEditing>

                    <ig:RowAdding EnableInheritance="True" Enabled="False">

                    </ig:RowAdding>

                    <ig:RowDeleting EnableInheritance="True" Enabled="False" />

                </Behaviors>

            </ig:EditingCore>

            <ig:Selection CellClickAction="Row" RowSelectType="Single">

            </ig:Selection>

            <ig:Activation>

            </ig:Activation>

        </Behaviors>

        <EditorProviders>

            <ig:DropDownProvider ID="gridlog_DropDownAssignedTo">

                <EditorControl ID="EditorControl1" DropDownContainerMaxHeight="200px" Width="200px"

                    EnableAnimations="False" EnableDropDownAsChild="False" runat="server" DataSourceID="dsEmp"

                    TextField="employeename" ValueField="employeeid">

                    <DropDownItemBinding TextField="employeename" ValueField="employeeid"></DropDownItemBinding>

                </EditorControl>

            </ig:DropDownProvider>

            <ig:DropDownProvider ID="gridlog_DropDownEmpWork">

                <EditorControl ID="EditorControl2" DropDownContainerMaxHeight="200px" Width="160px"

                    EnableAnimations="False" EnableDropDownAsChild="False" runat="server" DataSourceID="dsEmp"

                    TextField="employeename" ValueField="employeeid">

                    <DropDownItemBinding TextField="employeename" ValueField="employeeid"></DropDownItemBinding>

                </EditorControl>

            </ig:DropDownProvider>

            <ig:DropDownProvider ID="gridlog_DropDownSegStatus">

                <EditorControl ID="EditorControl3" EnableAnimations="False" EnableDropDownAsChild="False"

                    runat="server" DropDownContainerMaxHeight="150px" DataSourceID="dsSegStatus"

                    TextField="optionitem" ValueField="optionitem">

                    <DropDownItemBinding TextField="optionitem" ValueField="optionitem" ToolTipField="descr">

                    </DropDownItemBinding>

                </EditorControl>

            </ig:DropDownProvider>

            <ig:DatePickerProvider ID="gridlog_DatePickerWorkDateReceived">

            </ig:DatePickerProvider>

            <ig:DropDownProvider ID="gridlog_DropDownYesNo">

                <EditorControl DropDownContainerMaxHeight="200px" EnableAnimations="False" EnableDropDownAsChild="False"

                    runat="server">

                    <Items>

                        <ig:DropDownItem Selected="False" Text="yes" Value="true">

                        </ig:DropDownItem>

                        <ig:DropDownItem Selected="False" Text="no" Value="false">

                        </ig:DropDownItem>

                    </Items>

                </EditorControl>

            </ig:DropDownProvider>

        </EditorProviders>

        <Columns>

            <ig:BoundDataField DataFieldName="Jobid" Key="Jobid" Header-Text="Job" Width="35px">

                <Header Text="Job"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="isScheduled" Key="isScheduled" Header-Tooltip="Scheduled?"

                Header-Text="S" Width="30px">

                <Header Text="S" Tooltip="Scheduled?"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="SegNumber" Key="SegNumber" Header-Text="Seg#" Width="30px">

                <Header Text="Seg#"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="SegDescr" Key="SegDescr" Header-Text="Description">

                <Header Text="Description"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="TimeSubmit" Key="TimeSubmit" Header-Text="Time In"

                Width="50px">

                <Header Text="Time In"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="DateDue" Key="DateDue" Width="50px" Header-Text="Date Due"

                DataFormatString="{0:d}">

                <Header Text="Date Due"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="TimeDue" Key="TimeDue" Header-Text="Time Due" Width="50px">

                <Header Text="Time Due"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="JobTicketStatus" Key="JobTicketStatus" Hidden="true" />

            <ig:BoundDataField DataFieldName="Instructions" Key="Instructions" Hidden="true" />

            <ig:BoundDataField DataFieldName="SegID" Key="SegID" Hidden="true" />

            <ig:BoundDataField DataFieldName="SegStatus" Key="SegStatus" Width="100px" Header-Text="Segment Status">

                <Header Text="Segment Status"></Header>

            </ig:BoundDataField>

            <ig:BoundDataField DataFieldName="SegStatusDescr" Key="SegStatusDescr" />

            <ig:BoundDataField DataFieldName="AssignedTo" Key="AssignedTo" Width="150px" Header-Text="Assigned To">

                <Header Text="Assigned To"></Header>

            </ig:BoundDataField>

        </Columns>

    </ig:WebHierarchicalDataGrid>

 

 

 

Parents Reply Children
No Data