[英]“no records available” text disappears when new window pops up
I am using Telerik WinForms UI controls, Version - "2016.2.503.40" (Telerik.WinControls). 我正在使用Telerik WinForms UI控件,版本-“ 2016.2.503.40”(Telerik.WinControls)。
Facing a weird issue with GridView control version - "2016.2.503.40" (Telerik.WinControls.GridView) GridView控件版本面临一个奇怪的问题-“ 2016.2.503.40”(Telerik.WinControls.GridView)
When data or records are not available on the grid I am showing "No records available" text using below code lines, 当网格上没有数据或记录时,我会使用以下代码行显示“无记录”文本,
myGridView.TableElement.Text = "No records available"; myGridView.TableElement.Text =“没有可用的记录”;
which works fine below screen, 在屏幕下方可以正常工作,
When some other window gets pop-up on this screen, "No records available" text disappears. 在此屏幕上弹出其他窗口时,“无可用记录”文本消失。
refer below screen, 请参阅下面的屏幕,
No able to find out why the text is getting disappeared in such scenario. 无法找到为什么在这种情况下文本消失的原因。
Any help will be highly appreciated. 任何帮助将不胜感激。
Following the provided information, I have tried to replicate the problem with RadGridView from the Telerik UI for WinForms suite. 按照提供的信息,我尝试通过Telerik UI for WinForms套件使用RadGridView复制问题。 Although a RadForm is shown over the main form, the expected "no data" text remains visible.
尽管在主窗体上显示了RadForm,但预期的“无数据”文本仍然可见。
I would like to note that the appropriate way to localize any text in RadGridView is to use a RadGridLocalizationProvider. 我想指出,在RadGridView中本地化任何文本的适当方法是使用RadGridLocalizationProvider。 Thus, you can specify what text to be returned for the RadGridStringId.NoDataText.
因此,您可以指定要为RadGridStringId.NoDataText返回的文本。 Please refer to the following help article demonstrating how to utilize the localization provider: https://docs.telerik.com/devtools/winforms/controls/gridview/localization/localization
请参考以下帮助文章,演示如何利用本地化提供程序: https : //docs.telerik.com/devtools/winforms/controls/gridview/localization/localization
However, if you are still experiencing any further difficulties, feel free to submit a support ticket from your Telerik account where you can provide a sample project demonstrating the issue you are facing. 但是,如果您仍然遇到任何其他困难,请随时从Telerik帐户提交支持票证,您可以在其中提供示例项目来说明您所面临的问题。
I hope this information helps. 我希望这个信息帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.