RadAjaxLoadingPanel with EO.PDF

4 posts, 0 answers
  1. Nelson
    Nelson avatar
    15 posts
    Member since:
    Jan 2011

    Posted 04 Nov 2011 Link to this post


    I want to show the Loading Panel when user click on the "print" button. For the printing function, i use the third party component "EO.PDF" to render the current page to PDF file. The pdf cannot show up when i click "Print" and when i click on the button again it showed error as follow.

    Only items of type Telerik.Web.UI.IRadToolBarButton can initiate postbacks

    The function works fine when i remove the loadingpanel. Please advise.


        <eo:ASPXToPDF ID="ASPXToPDF1" runat="server">

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="rtbMain">
                        <telerik:AjaxUpdatedControl ControlID="pnlContent" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="inline"/>

        <telerik:RadToolBar ID="rtbMain" runat="server" Width="100%">
                <telerik:RadToolBarButton Text="Print" Value="Print" Width="80px">
        <asp:Panel ID="pnlContent" runat="server">

        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="Top" Skin="Vista"  >

        Protected Sub rtbMain_ButtonClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadToolBarEventArgs) Handles rtbMain.ButtonClick
             If e.Item.Value = "Print" Then
                 EO.Pdf.Runtime.AddLicense( "XXXXXX")
            End If
    End Sub

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 08 Nov 2011 Link to this post

    Hi Nelson,

    I'm not completely sure how exactly the  "EO.PDF"  components works however note that export functionality does not works with ajax requests and this scenario are not supported. Please review the following online topics which elaborates on this matter:

    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
  3. Elias
    Elias avatar
    1 posts
    Member since:
    Dec 2011

    Posted 09 Dec 2011 Link to this post

    Hi Nelson,

    I have the same problem. After the exporting to excel, the print cause this error.

    You've managed to solve this problem?

  4. Nelson
    Nelson avatar
    15 posts
    Member since:
    Jan 2011

    Posted 11 Dec 2011 Link to this post

    Hi  Elias, 

    Cannot find any solution yet.
Back to Top