Bug Report T295897
Visible to All Users

ASPxDocumentViewer - Uncaught TypeError occurs during text search when ASPxDocumentViewer.SettingsReportViewer.UseIFrame is disabled

created 9 years ago

Hi,

In our reports, we need to use a custom/private font.

In that case, the option UseIFrame must be set to false (see line 21 in DocumentViewerPartiel.cshtml in attachment).
This is explained in the following article : https://www.devexpress.com/Support/Center/Example/Details/E5198

This work well : the custom font is used inside the Viewer.

But then, the text search tool is not working well. Some Javascript errors are generated.

If you run the attached solution and try this :
    1 - go to last page (n°6)
    2 - open search tool
    3 - select option "Up"
    4 - enter text "10"
    5 - click on "Find next"

=> the following Javascript error appear inside the console : Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

Another detail : when the search tool is opened, the focus is not automatically going to the text field. This would great.

Regards.

Alain.

Comments (1)
DevExpress Support Team 9 years ago

    Thank you for pointing this out, Coso.
    We will research the issue and let you know our results.

    Answers approved by DevExpress Support

    created 9 years ago (modified 9 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.