FlexGrid DisplayAttribute ResourceType no effect

Posted by: bart.bullens 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?

Need extra support?

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

Learn More

Forum Channels