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

Controls not rendering behind F5 and SSL

3 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 25 Oct 2012, 09:38 PM
My environment, (client -> HTTPS -> F5 -> HTTP -> web server)

I have a RadTabStrip and a RadGrid on a page, the initial page load seems to render the controls fine, but when I do a page refresh the rendering on the controls gets all skewed. 

And ideas?

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
        <ClientEvents OnRequestStart="onRequestStart" />
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdItemComp">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdItemComp" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdItemComp" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" UpdatePanelRenderMode="Inline" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cbVendorsMain">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdItemComp" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="lblVendorItemsOnFile"  />
                    <telerik:AjaxUpdatedControl ControlID="cbVendors" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
    <div class="wrapper">
    <div class="IC_Header_Right">
        <p>Last Vendor Data Upload:
        <asp:Label runat="server" ID="lblLasVendorUpload" Text="" Font-Underline="true" /></p>       
        <b><asp:Label runat="server" ID="lblVendorItemsOnFile" Text="" /></b>
    </div>
 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="WebBlue">
    </telerik:RadAjaxLoadingPanel>
 
    <div class="IC_TabStrip">
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" ontabclick="RadTabStrip1_TabClick" EnableAjaxSkinRendering="true">
            <Tabs>
                <telerik:RadTab runat="server" Text="Matching" />
                <telerik:RadTab runat="server" Text="Discrepancies" Selected="True" />
                <telerik:RadTab runat="server" Text="Not in Our Item File" />
                <telerik:RadTab runat="server" Text="Not in Their File" />
            </Tabs>
        </telerik:RadTabStrip>   
 
        <div id="divgrid" class="IC_Grid">
            <telerik:RadGrid ID="grdItemComp" runat="server" Skin="Windows7" EnableAjaxSkinRendering="true"
                CellSpacing="0" GridLines="None" AutoGenerateColumns="False" AllowPaging="True"
                PageSize="17" onpageindexchanged="grdItemComp_PageIndexChanged"
                onneeddatasource="grdItemComp_NeedDataSource"
                onitemcommand="grdItemComp_ItemCommand" >
                <ClientSettings>
                    <Selecting CellSelectionMode="None"></Selecting>
                </ClientSettings>
                <ExportSettings HideStructureColumns="true" />
                <MasterTableView CommandItemDisplay="Bottom" UseAllDataFields="true">
                    <CommandItemSettings ShowRefreshButton="false" ShowAddNewRecordButton="false" ShowExportToExcelButton="true"></CommandItemSettings>
                    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn DataField="UPC" HeaderText="UPC" UniqueName="UPC">
                            <HeaderStyle Width="50px" />
                            <ItemStyle Width="50px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="SB_ITEM_NO" HeaderText="Our Item No" UniqueName="SB_ITEM_NO">
                            <HeaderStyle Width="50px" />
                            <ItemStyle Width="50px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="VENDOR_ITEM_DESC" HeaderText="Their Item Description" UniqueName="VENDOR_ITEM_DESC" DataFormatString="<nobr>{0}</nobr>">
                            <HeaderStyle Width="250px" />
                            <ItemStyle Width="250px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="VENDOR_ITEM_SIZE" HeaderText="Their Item Size" UniqueName="VENDOR_ITEM_SIZE" DataFormatString="<nobr>{0}</nobr>">
                            <HeaderStyle Width="100px" />
                            <ItemStyle Width="100px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="SB_ITEM_DESC" HeaderText="Our Item Description" UniqueName="SB_ITEM_DESC" DataFormatString="<nobr>{0}</nobr>">
                            <HeaderStyle Width="250px" />
                            <ItemStyle Width="250px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="SB_ITEM_SIZE" HeaderText="S.B. Item Size" UniqueName="SB_ITEM_SIZE" DataFormatString="<nobr>{0}</nobr>">
                            <HeaderStyle Width="100px" />
                            <ItemStyle Width="100px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="VENDOR_BASE_COST" HeaderText="Vendor Base Cost" UniqueName="Vendor_BASE_COST" DataFormatString="{0:###,##0.00###}"  >
                            <HeaderStyle Width="50px" HorizontalAlign="Right" />
                            <ItemStyle Width="50px" HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="VENDOR_ALLOWANCE" HeaderText="Vendor Allowance" UniqueName="VENDOR_ALLOWANCE" DataFormatString="{0:###,##0.00###}">
                            <HeaderStyle Width="50px" HorizontalAlign="Right" />
                            <ItemStyle Width="50px" HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="VENDOR_NET_COST" HeaderText="Vendor Net Cost" UniqueName="VENDOR_NET_COST" DataFormatString="{0:###,##0.00###}">
                            <HeaderStyle Width="50px" HorizontalAlign="Right" />
                            <ItemStyle Width="50px" BackColor="Silver" Font-Bold="True" HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="SB_BASE_COST" HeaderText="Our Base Cost" UniqueName="SB_BASE_COST" DataFormatString="{0:###,##0.00###}">
                            <HeaderStyle Width="50px" HorizontalAlign="Right" />
                            <ItemStyle Width="50px" HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>                       
                        <telerik:GridBoundColumn DataField="SB_ALLOWANCE" HeaderText="Our Allowance" UniqueName="SB_ALLOWANCE" DataFormatString="{0:###,##0.00###}">
                            <HeaderStyle Width="50px" HorizontalAlign="Right" />
                            <ItemStyle Width="50px" HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>                       
                        <telerik:GridBoundColumn DataField="SB_NET_COST" HeaderText="Our Net Cost" UniqueName="SB_NET_COST" DataFormatString="{0:###,##0.00###}">
                            <HeaderStyle Width="50px" HorizontalAlign="Right" />
                            <ItemStyle Width="50px" BackColor="Silver" Font-Bold="True" HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                    </EditFormSettings>
                </MasterTableView>
                <FilterMenu EnableImageSprites="False"></FilterMenu>
            </telerik:RadGrid>
        </div>
    </div>    
 
    <script type="text/javascript">
 
        function onRequestStart(sender, args) {
            if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0 ||
                    args.get_eventTarget().indexOf("ExportToWordButton") >= 0 ||
                    args.get_eventTarget().indexOf("ExportToCsvButton") >= 0) {
                args.set_enableAjax(false);
            }
        }
 
        function Popup(message) {
            alert(message);
        };
    </script>
    </div>
</asp:Content>

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 30 Oct 2012, 01:21 PM
Hi Joshua,

Could you please elaborate a bit more on your issue? How exactly the rendering breaks? Sending us screenshot which presents the issue could help further investigate the problem. Also please try to disable the ajax on the page and verify if this makes any difference.

Regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Joshua
Top achievements
Rank 1
answered on 30 Oct 2012, 03:05 PM
We were able to fix this problem. We had to include hard coded Machine Keys to our Web.Config to correct the load balancing. 
0
Maria Ilieva
Telerik team
answered on 02 Nov 2012, 12:53 PM
Hello Joshua,

Thank you for the provided update ion this issue.

Do let us know if you need further assiatance ir if you have additional questions.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Joshua
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Joshua
Top achievements
Rank 1
Share this question
or