Unplanned
Last Updated: 16 May 2024 11:18 by ADMIN
Dimitar
Created on: 24 Mar 2020 06:31
Category: Telerik Document Processing
Type: Bug Report
5
PdfProcessing: The value of the TextBoxField is not visible until the field is clicked

The value of the TextBoxField is not visible until the field is clicked.

Workaround: Force content update:

foreach (var widget in textBoxField.Widgets)
{
    widget.RecalculateContent();
}

If the update still doesn't fix the issue, change the font prior to setting the value of the field:

foreach (var widget in textBoxField.Widgets)
{
    widget.TextProperties.Font = FontsRepository.Helvetica;
}
Another option could be to set the ViewersShouldRecalculateWidgetAppearances to true in order to force the viewers to update the appearance of the widgets.
6 comments
ADMIN
Yoan
Posted on: 07 Jun 2023 13:31

Hi John,

I understand your frustration. Our team is devoted to providing the best experience to our users by resolving tasks that affect the most clients. We do our best to complete them all, yet some receive less attention than others, which is why they can sometimes be delayed, such as this one.

When it comes to the workaround, I allowed myself to modify the project you have provided in the 1610692 ticket, by utilizing the second workaround and it happens to produce the expected results. I am attaching that project for your disposal to test with your own documents. Feel free to examine it, ask questions about it, or correct me if I am missing something.

Also, I would like to clarify the case as a whole and apologize if there has been a misunderstanding. The issue reproduces only with .NET Standard assemblies, meaning that if .NET Framework assemblies are referenced instead, the project should work as expected and require no workaround (which is what I was using when trying to replicate the case thus experiencing no issues at all).

I hope I was able to provide some clarity and help in any way. In case you require any further assistance we remain at your disposal.

Regards,
Yoan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Attached Files:
John
Posted on: 06 Jun 2023 21:08

This is the fourth person reporting the issue.  I came very close to not reporting it and just marking Telerik off of our list of possible solutions for PDF handling. 

The workaround does not work in my case, neither the recalc nor setting the font.

I did create a ticket for this, and it seems that this may be a change from a prior version, as the initial response was that it worked for them. After modifying the project to include the binaries (I am using the latest as of a few days ago, 2023.1.410), it failed for Yoan.

ADMIN
Dimitar
Posted on: 14 Sep 2022 11:47

Hi Akesh,

Yes, I understand that this particular document is used frequently. I will discuss this with the team and see if I can increase the issue's priority. 

Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Akesh Gupta
Posted on: 13 Sep 2022 11:47
This happens on the W9 form downloaded directly from the IRS website.
ADMIN
Dimitar
Posted on: 13 Sep 2022 09:20

Hello Akesh,

Indeed this is a crucial feature, but the issue is only observed with some documents. So far only three people have reported this. In addition, it has an easy workaround which is why it does not have a higher priority. I am afraid that we have a lot of issues without a workaround that we need to fix first. I cannot say when we will be able to fix this. 

Thank you for your understanding.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Akesh Gupta
Posted on: 12 Sep 2022 12:26
How is this issue open for over 2 years? Is setting the value of a textbox not one of the most basic features of a fillable pdf form?