This is a migrated thread and some comments may be shown as answers.

FormView in RadTabStrip

5 Answers 117 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
w
Top achievements
Rank 1
w asked on 25 Sep 2016, 08:47 PM

I have put 7 FormView inside the RadPageView  by using  RadTabStrip/RadMultiPage. I am using the databind to the FormView. every time When I save, it only save the FormView data in first RadPageView, the rest are not saved. But try to save again, the all FormView data will be saved now, every time it required 2 time saving for all the FormView, May I know the reasons? where goes wrong?

 

 

5 Answers, 1 is accepted

Sort by
0
w
Top achievements
Rank 1
answered on 25 Sep 2016, 08:52 PM
  <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Telerik" MultiPageID="RadMultiPageOtherDetail"
        SelectedIndex="0" Align="Justify" Orientation="HorizontalTop" EnableViewState = "true" >
        <Tabs>
            
            <telerik:RadTab Text="<%$ Translation:Pricing %>" Width="120" PageViewID = "CustomerPricingView"/>
            <telerik:RadTab Text="<%$ Translation:Discount %>" Width="120" PageViewID = "CustomerDiscView" />
            <telerik:RadTab Text="<%$ Translation:Default Shipping  %>" Width="120" PageViewID = "DefaultShippingView" />
        </Tabs>
    </telerik:RadTabStrip>

    <telerik:RadMultiPage ID="RadMultiPageOtherDetail" runat="server" SelectedIndex="0" >
        <telerik:RadPageView ID="CustomerPricingView" runat="server">
                <div class="vsep"> </div>
            <asp:Table runat="server" ID="CustomerPricingViewHeaderTable" SkinID="groupHeaderSkin" CssClass="headBackGroundGreen" Height="25">
                <asp:TableRow>
                    <asp:TableCell>
                        <asp:Label runat="server" ID="lblCustomerPricingViewHeaderTable" SkinID="groupCaptionSkin" Text="<%$ Translation:Customer & Item Pricing Cross Reference %>" />
                    </asp:TableCell>
                    <asp:TableCell HorizontalAlign="Right">
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>

            <div class="vsep">
            </div>
            <asp:FormView ID="CustomerPricingFormView" runat="server" DataMember="CustomerInformation" DataSourceID="DBDataSource1"
                DataKeyNames="CompanyID,DivisionID,DepartmentID,CustomerID" EnableViewState="True">
                <EditItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Label Width="80px" ID="lblItemPricingCodeHeader" runat="server" Text='<%$ Translation:Item Pricing Code: %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label34' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td>
                                <telerik:RadComboBox ID="txtItemPricingCodeHeader" runat="server" Width="150" DropDownWidth="350"
                                    EnableLoadOnDemand="true" Text='<%# Bind("ItemPricingCode") %>' HighlightTemplatedItems="true"
                                    Sort="Ascending" EnableVirtualScrolling="true" AllowCustomText="false" MarkFirstMatch="true"
                                    OnItemsRequested='RadComboBox_ItemPricingCodeRequested'>
                                    <HeaderTemplate>
                                        <div>
                                            <table border="0" style="width: 300px; text-align: left" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td style="width: 150px;">
                                                        <asp:Label ID="lblItemCategoryID1" runat="server" Text='<%$ Translation:Pricing Code %>'></asp:Label>
                                                    </td>
                                                    <td style="width: 150px;">
                                                        <asp:Label ID="lblCategoryName1" runat="server" Text='<%$ Translation:Pricing Code No %>'></asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <table style="width: 300px; text-align: left" class="comboTable" cellspacing="0"
                                            cellpadding="0">
                                            <tr>
                                                <td style="width: 150px;">
                                                    <div class="comboItem">
                                                        <%#DataBinder.Eval(Container, "Text")%>
                                                    </div>
                                                </td>
                                                <td style="width: 150px;">
                                                    <div class="comboItem">
                                                        <%#DataBinder.Eval(Container, "Attributes(""ItemPricingCodeNo"")")%>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </telerik:RadComboBox>
                            </td>
                        </tr>
                    </table>
                </EditItemTemplate>
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Label Width="80px" ID="lbItemPricingCodeHeader" runat="server" Text='<%$ Translation:Item Pricing Code: %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label34' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td>
                                <telerik:RadTextBox Text='<%#Bind("ItemPricingCode") %>' runat="server" ID="rtbItemPricingCodeHeader"
                                    Width="110px" ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:FormView>
            <div class="vsep">
            </div>

            <ctls:SearchPanel ID="CrossReferenceSearchPanel" runat="server" GridID="CustomerItemCategoryCrossReferenceGrid"
                SearchButtonText="<%$ Translation:Search %>" ClearButtonText="<%$ Translation:Clear %>"
                ExpressionLabel="<%$ Translation:Search Expression %>" Visible="False" />
            <div class="vsep">
            </div>
            <asp:GridView ID="CustomerItemCategoryCrossReferenceGrid" runat="server" DataMember="CustomerItemCategoryCrossReference"
                DataSourceID="DBDataSource1" AutoGenerateColumns="False" OnRowCommand="DBDataSource1.HandleGridCommand"
                DataKeyNames="CompanyID,DivisionID,DepartmentID,CustomerID,ItemPricingFamilyID">
                <Columns>
                    <asp:CommandField EditImageUrl="~/images/edit.gif" EditText="Edit Ex" UpdateImageUrl="~/images/update.gif"
                        UpdateText="Update" CancelImageUrl="~/images/cancel_edit.gif" CancelText="Cancel"
                        ButtonType="Image" ShowEditButton="True">
                        <ItemStyle Width="16px" />
                    </asp:CommandField>
                    <asp:CommandField DeleteImageUrl="~/images/delete.gif" ButtonType="Image" ShowDeleteButton="True"
                        ShowCancelButton="False">
                        <ItemStyle Width="16px" />
                    </asp:CommandField>
                    <asp:TemplateField HeaderText="<%$ Translation:Division %>" SortExpression="DivisionID"
                        HeaderStyle-Width="150">
                        <ItemTemplate>
                            <asp:Label ID="lblDivisionID" runat="server" Text='<%# Eval("DivisionID") %>' Width="150"></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox ID="RadDivisionID" runat="server" EnableLoadOnDemand="true"
                                OnClientSelectedIndexChanging="LoadDepartmentCrossReference" Text='<%# Bind("DivisionID") %>'
                                Width="150" HighlightTemplatedItems="true" Sort="Ascending" EnableVirtualScrolling="true"
                                OnItemsRequested='RadComboBox_DivisionIDRequested' MarkFirstMatch="true" DropDownWidth="350">
                                <HeaderTemplate>
                                    <div>
                                        <table border="0" cellspacing="0" cellpadding="0" width="300">
                                            <tr>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblDivisionID1" runat="server" Text='<%$ Translation:ID %>'></asp:Label>
                                                </td>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblDivisionName1" runat="server" Text='<%$ Translation:Name %>'></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table class="comboTable" cellspacing="0" cellpadding="0" width="300">
                                        <tr>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Text")%>
                                                </div>
                                            </td>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Attributes(""DivisionName"")")%>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Translation:Department %>" SortExpression="DepartmentID"
                        HeaderStyle-Width="150">
                        <ItemTemplate>
                            <asp:Label ID="lblDepartmentID" runat="server" Text='<%# Eval("DepartmentID") %>'
                                Width="150"></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox ID="RadDepartmentID" runat="server" Width="150" DropDownWidth="350"
                                Text='<%# Bind("DepartmentID") %>' HighlightTemplatedItems="true" Sort="Ascending"
                                EnableVirtualScrolling="true" OnClientItemsRequested="ItemsLoaded" AllowCustomText="false"
                                MarkFirstMatch="true" OnItemsRequested='RadComboBox_DepartmentIDRequested'>
                                <HeaderTemplate>
                                    <div>
                                        <table border="0" style="width: 300px; text-align: left" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblDepartmentID1" runat="server" Text='<%$ Translation:ID %>'></asp:Label>
                                                </td>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblDepartmentName1" runat="server" Text='<%$ Translation:Name %>'></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table style="width: 300px; text-align: left" class="comboTable" cellspacing="0"
                                        cellpadding="0">
                                        <tr>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Text")%>
                                                </div>
                                            </td>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Attributes(""DepartmentName"")")%>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Translation:Item Pricing Family %>" SortExpression="ItemPricingFamilyID"
                        HeaderStyle-Width="150">
                        <ItemTemplate>
                            <asp:Label ID="lblItemFamilyID" runat="server" Text='<%# Eval("ItemPricingFamilyID") %>'
                                Width="150"></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox ID="RadItemFamilyID" runat="server" EnableLoadOnDemand="true"
                                OnClientSelectedIndexChanging="LoadItemCategoryIDCrossReference" Text='<%# Bind("ItemPricingFamilyID") %>'
                                Width="150" HighlightTemplatedItems="true" Sort="Ascending" EnableVirtualScrolling="true"
                                OnClientItemsRequesting="itemRequestingForFamily" OnItemsRequested='RadComboBox_ItemPricingFamiliesRequested'
                                MarkFirstMatch="true" DropDownWidth="350" ShowMoreResultsBox="True">
                                <HeaderTemplate>
                                    <div>
                                        <table border="0" cellspacing="0" cellpadding="0" width="300">
                                            <tr>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblItemFamilyID1" runat="server" Text='<%$ Translation:ID %>'></asp:Label>
                                                </td>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblFamilyName2" runat="server" Text='<%$ Translation:Name %>'></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table class="comboTable" cellspacing="0" cellpadding="0" width="300">
                                        <tr>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Text")%>
                                                </div>
                                            </td>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Attributes(""FamilyDescription"")")%>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Translation:Item Pricing Category %>" SortExpression="ItemPricingCategoryID"
                        HeaderStyle-Width="150">
                        <ItemTemplate>
                            <asp:Label ID="lblItemCategoryID" runat="server" Text='<%# Eval("ItemPricingCategoryID") %>'
                                Width="150"></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox ID="RadItemCategoryID" runat="server" Width="150" DropDownWidth="350"
                                Text='<%# Bind("ItemPricingCategoryID") %>' HighlightTemplatedItems="true" Sort="Ascending"
                                EnableVirtualScrolling="true" OnClientItemsRequesting="ItemsLoaded" AllowCustomText="false"
                                MarkFirstMatch="true" OnItemsRequested='RadComboBox_ItemPricingCategoriesRequested'>
                                <HeaderTemplate>
                                    <div>
                                        <table border="0" style="width: 300px; text-align: left" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblItemCategoryID1" runat="server" Text='<%$ Translation: ID %>'></asp:Label>
                                                </td>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblCategoryName1" runat="server" Text='<%$ Translation: Name %>'></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table style="width: 300px; text-align: left" class="comboTable" cellspacing="0"
                                        cellpadding="0">
                                        <tr>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Text")%>
                                                </div>
                                            </td>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Attributes(""CategoryDescription"")")%>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Translation:Pricing Code %>" SortExpression="ItemPricingCode"
                        HeaderStyle-Width="150">
                        <ItemTemplate>
                            <asp:Label ID="lblItemPricingCode" runat="server" Text='<%# Eval("ItemPricingCode") %>'
                                Width="150"></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox ID="RadItemPricingCode" runat="server" Width="150" DropDownWidth="350"
                                EnableLoadOnDemand="true" Text='<%# Bind("ItemPricingCode") %>' HighlightTemplatedItems="true"
                                Sort="Ascending" EnableVirtualScrolling="true" OnClientItemsRequesting="itemRequestingForItemPricingCode"
                                AllowCustomText="false" MarkFirstMatch="true" OnItemsRequested='RadComboBox_ItemPricingCodeRequested'>
                                <HeaderTemplate>
                                    <div>
                                        <table border="0" style="width: 300px; text-align: left" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblItemCategoryID1" runat="server" Text='<%$ Translation:Pricing Code %>'></asp:Label>
                                                </td>
                                                <td style="width: 150px;">
                                                    <asp:Label ID="lblCategoryName1" runat="server" Text='<%$ Translation:Pricing Code No %>'></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table style="width: 300px; text-align: left" class="comboTable" cellspacing="0"
                                        cellpadding="0">
                                        <tr>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Text")%>
                                                </div>
                                            </td>
                                            <td style="width: 150px;">
                                                <div class="comboItem">
                                                    <%#DataBinder.Eval(Container, "Attributes(""ItemPricingCodeNo"")")%>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </telerik:RadPageView>
        <telerik:RadPageView ID="CustomerDiscView" runat="server">
                            <div class="vsep"> </div>

            <asp:Table runat="server" ID="CustomerDiscViewHeaderTable" SkinID="groupHeaderSkin" CssClass="headBackGroundGreen"
                Height="25">
                <asp:TableRow>
                    <asp:TableCell>
                        <asp:Label runat="server" ID="Label101" SkinID="groupCaptionSkin" Text="<%$ Translation:Discount Information %>" />
                    </asp:TableCell>
                    <asp:TableCell HorizontalAlign="Right">
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
            <div class="vsep">
            </div>
            <asp:FormView ID="FormViewDisc" runat="server" DataMember="CustomerInformation" DataSourceID="DBDataSource1"
                DataKeyNames="CompanyID,DivisionID,DepartmentID,CustomerID" EnableViewState="True">
                <EditItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Label Width="140px" ID="lbAllowanceDiscount" runat="server" Text='<%$ Translation:Allowance Discount(%): %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label34' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td>
                                <telerik:RadTextBox Text='<%#Bind("AllowanceDiscountPercent") %>' runat="server"
                                    ID="rtbAllowanceDiscPerc" Width="110px">
                                </telerik:RadTextBox>
                            </td>
                            <td style="width: 70%">
                            </td>
                        </tr>
                    </table>
                </EditItemTemplate>
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Label Width="140px" ID="lbAllowanceDiscount" runat="server" Text='<%$ Translation:Allowance Discount(%): %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label34' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td>
                                <telerik:RadTextBox Text='<%#Eval("AllowanceDiscountPercent") %>' runat="server"
                                    ID="rtbAllowanceDiscPerc" Width="110px" ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4">
                                </telerik:RadTextBox>
                            </td>
                            <td style="width: 70%">
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:FormView>
        </telerik:RadPageView>
        <telerik:RadPageView ID="DefaultShippingView" runat="server">
            <div class="vsep"> </div>
            <asp:Table runat="server" ID="tblDefaultShipping" SkinID="groupHeaderSkin" CssClass="headBackGroundGreen" Height="25">
                <asp:TableRow>
                    <asp:TableCell>
                        <asp:Label runat="server" ID="lblShip" SkinID="groupCaptionSkin" Text="<%$ Translation:Default Shipping Information %>" />
                    </asp:TableCell>
                    <asp:TableCell HorizontalAlign="Right">
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>

            <asp:FormView ID="ShippingView" runat="server" DataSourceID="DBDataSource1" DataMember="CustomerInformation"
                DataKeyNames="CompanyID,DivisionID,DepartmentID,CustomerID" EnableViewState="True" >
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label59" runat="server" Text='<%$ Translation:Ship To %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label60' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("CustomerShipToId") %>'
                                    runat="server" ID="RadTextBox25" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label105" runat="server" Text='<%$ Translation:Ship For %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label106' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("CustomerShipForId") %>'
                                    runat="server" ID="RadTextBox49" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label107" runat="server" Text='<%$ Translation:Ship Via %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label108' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("ShipMethodID") %>'
                                    runat="server" ID="RadTextBox50" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label109" runat="server" Text='<%$ Translation:Warehouse%>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label110' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("WarehouseID") %>'
                                    runat="server" ID="RadTextBox51" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label111" runat="server" Text='<%$ Translation:Special Instruction%>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label112' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("CustomerSpecialInstructions") %>'
                                    runat="server" ID="RadTextBox52" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label43" runat="server" Text='<%$ Translation:Shipping Instruction%>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label44' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("SpecialShippingInstructions") %>'
                                    runat="server" ID="RadTextBox16" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label113" runat="server" Text='<%$ Translation:Routing Notes%>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label114' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox ReadOnly="true" ReadOnlyStyle-BackColor="#F4F4F4" Text='<%#Eval("RoutingNotes") %>'
                                    runat="server" ID="RadTextBox53" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
                <EditItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label11" runat="server" Text='<%$  Translation:Ship To %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label12' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadComboBox ID="cmbCustomerShipToId" runat="server" DataSourceID="DBDataSource1"
                                    DataMember="CustomerInformation.CustomerShipToLocations_Via_CustomerShipToId"
                                    DataTextField="ShipToID" DataValueField="ShipToID" SelectedValue='<%# Bind("CustomerShipToID") %>'
                                    SkinID="dropdownSkin" DropDownWidth="305" Width="309px" HighlightTemplatedItems="true"
                                    Sort="Ascending" MarkFirstMatch="True" AutoPostBack="true">
                                    <ItemTemplate>
                                        <table style="width: 160px; text-align: left" class="comboTable" cellspacing="0"
                                            cellpadding="0">
                                            <tr>
                                                <td style="width: 80px;">
                                                    <div class="comboItem">
                                                        <%#DataBinder.Eval(Container.DataItem, "ShipToID")%>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </telerik:RadComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label115" runat="server" Text='<%$ Translation:Ship For %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label116' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadComboBox ID="cmbCustomerShipForId" runat="server" DataSourceID="DBDataSource1"
                                    DataMember="CustomerInformation.CustomerShipForLocations_Via_CustomerShipForId"
                                    DataTextField="ShipForID" DataValueField="ShipForID" SelectedValue='<%# Bind("CustomerShipForId") %>'
                                    SkinID="dropdownSkin" DropDownWidth="305" Width="309px" HighlightTemplatedItems="true"
                                    Sort="Ascending" MarkFirstMatch="True">
                                    <ItemTemplate>
                                        <table style="width: 160px; text-align: left" class="comboTable" cellspacing="0"
                                            cellpadding="0">
                                            <tr>
                                                <td style="width: 80px;">
                                                    <div class="comboItem">
                                                        <%#DataBinder.Eval(Container.DataItem, "ShipForID")%>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </telerik:RadComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label117" runat="server" Text='<%$ Translation:Ship Via: %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label118' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadComboBox ID="RadComboBox2" runat="server" DataSourceID="DBDataSource1"
                                    DataMember="CustomerInformation.ShipmentMethods_Via_ShipMethodID" DataTextField="ShipMethodID"
                                    DataValueField="ShipMethodID" SelectedValue='<%# Bind("ShipMethodID") %>' AllowCustomText="false"
                                    SkinID="dropdownSkin" DropDownWidth="305" Width="309px" HighlightTemplatedItems="true"
                                    Sort="Ascending" MarkFirstMatch="True">
                                </telerik:RadComboBox>
                                <%--   <telerik:RadTextBox     EmptyMessage ="<%$ Translation:Optional%>" Text ='<%#Bind("ShipMethodID") %>' runat ="server" ID="RadTextBox55" Width ="305px">
        </telerik:RadTextBox>--%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label119" runat="server" Text='<%$ Translation:Warehouse %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label120' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="DBDataSource1"
                                    DataMember="CustomerInformation.Warehouses_Via_WarehouseID" DataTextField="WarehouseID"
                                    DataValueField="WarehouseID" SelectedValue='<%# Bind("WarehouseID") %>' Enabled='<%# DBDataSource1.ShouldEnableField("CustomerInformation", "WarehouseID") %>'
                                    SkinID="dropdownSkin" DropDownWidth="305" Width="309px" HighlightTemplatedItems="true"
                                    Sort="Ascending" MarkFirstMatch="True">
                                </telerik:RadComboBox>
                                <%--<telerik:RadTextBox     EmptyMessage ="<%$ Translation:Optional%>" Text ='<%#Bind("WarehouseID") %>' runat ="server" ID="RadTextBox56" Width ="305px">
        </telerik:RadTextBox>--%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label121" runat="server" Text='<%$ Translation:Special Instruction%>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label122' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox  Text='<%#Bind("CustomerSpecialInstructions") %>'
                                    runat="server" ID="RtbCustomerSpecialInstruction" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label47" runat="server" Text='<%$ Translation:Shipping Instruction%>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label48' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox  Text='<%#Bind("SpecialShippingInstructions") %>'
                                    runat="server" ID="RtbSpecialShippingIns" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label Width="120px" ID="Label123" runat="server" Text='<%$ Translation:Routing Notes %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label Width="6" ID='Label124' runat='server' Text="" ForeColor="red" />
                            </td>
                            <td colspan="4">
                                <telerik:RadTextBox EmptyMessage="<%$ Translation:Optional%>" Text='<%#Bind("RoutingNotes") %>'
                                    runat="server" ID="RadTextBox58" Width="305px">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                    </table>
                </EditItemTemplate>
            </asp:FormView>

        </telerik:RadPageView>
    </telerik:RadMultiPage>
0
w
Top achievements
Rank 1
answered on 26 Sep 2016, 04:56 AM
If I put all FormView under one RadPageView, there will be no problem with that. Please advise.
0
Ivan Danchev
Telerik team
answered on 28 Sep 2016, 02:47 PM
Hello,

The posted markup is not runnable since there are multiple missing dependencies. We would suggest following our guidelines and isolating the problem in a sample runnable project/page.

Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
w
Top achievements
Rank 1
answered on 01 Oct 2016, 07:24 AM

ok ,in general, how to put to manage mulitple FormView in RadTab?  FormView inside each Tab or One FormView inclusive RadTabs? 

and my case is simply data binding process to FormView. Or, normally is any problem to have multiple FormView inside the Mulitple RadTabs?    

0
Ivan Danchev
Telerik team
answered on 05 Oct 2016, 02:29 PM
Hello,

We are not aware of any issues with regard to nesting FormView controls in the RadMultiPage's PageViews. I attached a sample runnable page, which demonstrates such nesting. For simplicity the FormViews are bound to the same DataTable in the code-behind. Could you modify the sample so that the issue you are experiencing is reproduced and post your modifications for further review?

Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
TabStrip
Asked by
w
Top achievements
Rank 1
Answers by
w
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or