FlexGrid DisplayAttribute ResourceType no effect

Posted by: 1259355 on 4 November 2025, 9:46 am EST

  • Posted 4 November 2025, 9:46 am EST - Updated 4 November 2025, 9:48 am EST

    Hello,

    I’m using a FlexGrid in bound mode and my model has a DisplayAttribute annotation to set the display name. I’m specifying a ResourceType because I want the message to be localized based on the culture.

    FlexGrid doesn’t seem to respect the ResourceType value of the DisplayAttribute. It simply gives me the actual string value that’s provided through Name.

    <Display(ResourceType:=GetType(MyResources), Name:=NameOf(MyResources.Grid_Category), AutoGenerateField:=True)>
    Property Type As String

    This will simply return the actual NameOf value instead of looking up the string using the ResourceManager.

    We’re using version 4.8.20233.643. Perhaps this has been fixed in a later version?

  • Posted 6 November 2025, 5:34 am EST

    Hello,

    We were able to observe the behavior and are currently investigating it further. We’ll get back to you with additional updates soon.

    Regards,

    Uttkarsh.

  • Posted 7 November 2025, 2:26 am EST

    Hello,

    We have escalated the behavior to the development team for further insights. [Internal tracking ID: C1WIN-34683]

    We’ll get back once we have more information.

    In the meantime, as a workaround, you can create a custom attribute to provide localized strings. Please refer to the attached sample for the same. (see FlexGrid_Sample.zip)

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels