1

I'm a little bit confused, because it's not the first time I'm using it this way. I have a DataGrid and defined the Columns by using DataGridTemplateColumns. One column should display an image from https. My XAML for that Image looks this:

<DataGridTemplateColumn Header="ArticleImage">
    <DataGridTemplateColumn.CellTemplate>
        <DataTemplate>
            <Image Height="50" Source="{Binding ImagePath}"/>
        </DataTemplate>
    </DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>

I compared this to my other projects where this works fine with the same data base of urls. In this Project the image isn't shown, I got only a blank cell.

I copied the content of the ImagePath and paste it into my browser, what's working fine.

I also tried using an BitmapImage as shown in other threads but that doesn't work, too. As the code shown above works in other projects ( all C#, same Framework! ) my confusing rises.

Has anyone an idea of what I'm not seeing?

EDIT: an additional information: If I place a textblock instead of the image, the text displays the correct and conmplete Url!

Thanks

A. Drews
  • 37
  • 7

1 Answers1

0

It seems to be related to the local antivirus program. We use Bitdefender here and it doesn't work on the computers. If I start the application from a server that doesn't have BitDefender installed, it works with exactly the same code.

A. Drews
  • 37
  • 7