Bug Report T295902
Visible to All Users

ASPxFileManager - FileManagerItem.Id property returns Name and not Id when binding a control to a data source

created 9 years ago

Hello,

I tried to research this issue and I find the solution in the forum.
The AspxFileManager component returns the name of record in the KeyFieldName position.
In principle it's all right.

<SettingsDataSource KeyFieldName = "ID" ParentKeyFieldName = "PARENT_ID" NameFieldName = "NAME" IsFolderFieldName = "FOLDER" filebinarycontentfieldname = "DATA" lastwritetimefieldname = "DATE" />

As you can solve?

Show previous comments (3)
AM AM
Andrés Márquez 9 years ago

    Good Morning,
    For when I could be solved?
    Any idea to solve it so far?

    DevExpress Support Team 9 years ago

      We are still working on this issue, please bear with us.
      We will update this ticket as soon as we get results.

      TS TS
      Tobias Stracke 9 years ago

        Hello,
        unfortunately we have the same issue and need very quick a solution for it.
        Is there any Update?
        Kind Regards

        Answers approved by DevExpress Support

        created 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.

          Comments (2)
          TS TS
          Tobias Stracke 9 years ago

            Dear Sirs,
            sorry - but the hotfix is not working -
            for example:
            Public Overrides Function GetLastWriteTime(ByVal file As FileManagerFile) As DateTime
            file.folder.id '< wrong…
            End Function
            The file contains the property folder. the folder.id is not the id but the path…
            Kind Regards…

            Artem (DevExpress Support) 9 years ago

              Hello,

              This fix changed the behavior for a scenario when ASPxFileManager is bound to data using the DataSource property. Your last reply points out to the usage of a custom provider. So, I have created a separate ticket on your behalf: T302849: ASPxFileManager - FileManagerItem.Id property returns Name and not Id when binding a control to a custom provider. This ticket is currently in our processing queue. Our team will address it shortly.

              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.