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

Print Issues when Authentication & Telerik control together

3 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 15 Jun 2011, 03:02 PM
I have a master page with a telerik control on it.  When I create content pages using this master that have multiple pages of data on them then do a print preview I can see all of the pages just fine.  As soon as I add a local web.config to the same folder as the content page then run the page and do a print preview I only get one page - rest of the pages are blank.  This only happens to content pages that use the master page with the telerik control on it.  any ideas?  thanks! The web.config is just requiring authentication:

<configuration>
  <system.web>
    <authorization>
      <allow roles="PubAll" />
      <allow roles="PubCpi" />
      <deny users="*" />
    </authorization>
  </system.web>
</configuration>


 

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 20 Jun 2011, 01:38 PM
Hi Susan,

You are the first to report such issue and at this point I cannot tell what the reason for the problem might be. Could you please answer the following questions?
  1. Which Telerik control you are referring to?
  2. What happens if you remove that control from the master page, but you still use that master page when you try to print?


Kind regards,
Georgi Tunev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Susan
Top achievements
Rank 1
answered on 20 Jun 2011, 05:50 PM
here is the entire DIV that contains the control.  If I do not have the control on there then yes the print preview is fine.  Thanks!
<div id="Wrapper" class="WrapperFixed">
        <div id="ContentWrapper">
            <div class="ContentWrapperOnline">
                <asp:ContentPlaceHolder ID="ContentPlaceholder1" runat="server">
                    <noscript>
                        <h1>
                            JavaScript Required</h1>
                        <p>
                            This website requires JavaScript. Please enable JavaScript in your Web browser
                            to view content on this website.</p>
                        <link href="~/App_Themes/OnlineHide.css" type="text/css" rel="stylesheet" />
                    </noscript>
                    <telerik:RadSplitter ID="TopLevelSplitter" runat="server" Width="100%" Height="100%" BorderSize="0" HeightOffset="0"
                        BorderWidth="0px" Orientation="Horizontal" OnClientLoaded="AdjustSplitter" OnClientResized="AdjustSplitter" CssClass="TopLevelSplitter">
                        <telerik:RadPane ID="HeaderPane" runat="server" Height="82" Scrolling="None" CssClass="HeaderPane">
                            <div id="Header">
                                <:PageHeader ID="PageHeader" runat="server" />
                            </div>
                            <div id="MenuTopWrapper">
                                <:MenuTop ID="MenuTop" runat="server" />
                            </div>
                        </telerik:RadPane>
                        <telerik:RadPane ID="PrimaryContentPane" runat="server" Scrolling="None" Height="100%" CssClass="PrimaryContentPane">
                            <telerik:RadSplitter ID="RadSplitter2" runat="server" Height="100%" Width="100%" Skin="WebBlue" HeightOffset="0">
                                <telerik:RadPane ID="RadPaneTableOfContents" runat="server" Width="340px" Height="100%" Scrolling="Both" BorderWidth="0px" CssClass="RadPaneTableOfContents" OnClientResized="OnClientPaneResizedHandler">
                                    <asp:SiteMapDataSource ID="OnlineSiteMapDataSource" runat="server" SiteMapProvider="OnlineSiteMapProvider" />
                                    <asp:TreeView ID="OnlineTreeView" runat="server" DataSourceID="OnlineSiteMapDataSource"
                                        EnableViewState="false" SkinID="Toc">
                                    </asp:TreeView>
                                </telerik:RadPane>
                                <telerik:RadSplitBar ID="SplitterBar" runat="server" CollapseMode="Forward" Height="100%">
                                </telerik:RadSplitBar>
                                <telerik:RadPane ID="RadPaneOnlineContent" runat="server" Scrolling="Both" Width="100%" Height="100%" CssClass="RadPaneOnlineContent" >
                                    <table cellpadding="0" cellspacing="0" border="0" class="RadPaneTopTable">
                                        <tr valign="top" id="TopOnlineToolbarRow">
                                            <td colspan="2">
                                                <div class="ToolbarOnline">
                                                    <asp:Panel ID="OnlineToolBar" runat="server">
                                                        <table style="width: 100%;" cellpadding="0" cellspacing="0" border="0">
                                                            <tr valign="top" align="center">
                                                                <td>
                                                                    <asp:HyperLink ID="ImageButtonPreviousDoc" runat="server" ToolTip="Previous Document in Table of Contents"
                                                                        CssClass="ToolbarOnlineButton">
                                                                        <img id="Image2" runat="server" alt="" src="~/App_Themes/Tech/Images/Toc/PreviousDocument.png"
                                                                            height="16" /><br />
                                                                        Prev Doc</asp:HyperLink>
                                                                </td>
                                                                <td style="width: 10px">
                                                                       
                                                                </td>
                                                                <td>
                                                                    <asp:HyperLink ID="ImageButtonNextDoc" runat="server" ToolTip="Next Document in Table of Contents"
                                                                        CssClass="ToolbarOnlineButton">
                                                                        <img id="Image3" runat="server" alt="" src="~/App_Themes/Tech/Images/Toc/NextDocument.png"
                                                                            height="16" /><br />
                                                                        Next Doc</asp:HyperLink>
                                                                </td>
                                                                <td style="width: 10px">
                                                                       
                                                                </td>
                                                                <td>
                                                                    <asp:HyperLink ID="ImageButtonPrintDoc" runat="server" Target="_blank" ToolTip="Print Document"
                                                                        CssClass="ToolbarOnlineButton">
                                                                        <img id="Image4" runat="server" alt="" src="~/App_Themes/Tech/Images/Toc/printer.jpg"
                                                                            height="16" /><br />
                                                                        Print</asp:HyperLink>
                                                                </td>
                                                                <td style="width: 10px">
                                                                       
                                                                </td>
                                                                <td>
                                                                    <asp:HyperLink ID="ImageButtonLastSearch" runat="server" ToolTip="Last Search" NavigateUrl="~/search/"
                                                                        CssClass="ToolbarOnlineButton">
                                                                        <img id="Image5" runat="server" alt="" src="~/Common/Images/qfind.gif" height="16" />
                                                                        <br />
                                                                        Last Search</asp:HyperLink>
                                                                </td>
                                                                <td style="width: 10px">
                                                                       
                                                                </td>
                                                                <td style="width: 100%" rowspan="2" align="left">
                                                                    <asp:SiteMapPath ID="OnlineSiteMapPath" runat="server" SiteMapProvider="OnlineSiteMapProvider"
                                                                        RenderCurrentNodeAsLink="True">
                                                                    </asp:SiteMapPath>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr valign="top" id="OnlineContentRow">
                                            <td>
                                                <div class="ContentColumnLeft3Column">
                                                    <div id="PrimaryContent">
                                                        <asp:ContentPlaceHolder ID="MiddleColumnContentPlaceholder" runat="server">
                                                        </asp:ContentPlaceHolder>
                                                    </div>
                                                </div>
                                            </td>
                                            <td>
                                                <asp:ContentPlaceHolder ID="RightColumnContentPlaceholder" runat="server">
                                                </asp:ContentPlaceHolder>
                                            </td>
                                        </tr>
                                        <tr id="BottomOnlineToolbarRow">
                                            <td>
                                                <div class="ToolbarOnline">
                                                    <asp:Panel ID="OnlineToolBarBottom" runat="server">
                                                        <table cellpadding="0" cellspacing="0" border="0">
                                                            <tr>
                                                                <td align="center" valign="top">
                                                                    <asp:HyperLink ID="LinkButtonPreviousDoc2" runat="server" ToolTip="Previous Document in Table of Contents">« previous</asp:HyperLink>
                                                                </td>
                                                                <td style="width: 10px">
                                                                </td>
                                                                <td align="center" valign="top">
                                                                    <asp:HyperLink ID="LinkButtonNextDoc2" runat="server" ToolTip="Next Document in Table of Contents">next »</asp:HyperLink>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:Panel ID="OnlineFooterPanel" runat="server" class="FooterOnline">
                                        <:Copyright ID="CopyrightControl" runat="server" />
                                    </asp:Panel>
                                </telerik:RadPane>
                            </telerik:RadSplitter>
                        </telerik:RadPane>
                    </telerik:RadSplitter>
                </asp:ContentPlaceHolder>
            </div>
        </div>
    </div>
0
Dobromir
Telerik team
answered on 23 Jun 2011, 11:22 AM
Hi Susan,

I tried to reproduce the problem but to no avail. Could you please open a formal support ticket and provide a sample application reproducing the issue so we can examine and debug it locally?

For your convenience I have attached my test project, could you please modify it to a point where the problem occurs and send it back?

Kind regards,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Susan
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Susan
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or