I have a RadBinaryImage in a RadGrid template column and I'm trying to account for situations where the value is null. In reviewing some of the posts, I saw the following solution.
<telerik:RadBinaryImage runat="server" ID="RadBinaryImage2" DataValue='<%# Eval("vSignature") Is DBNull ? null Eval("vSignature") %>' AutoAdjustImageControlSize="false" Height="100px" Width="400px" ToolTip="Signature" AlternateText="Signature" />
However, I get a design-time error stating that...
DBNull is a class type and cannot be used as an expression.
I have seen examples of this, but this does not work for me in Visual Studio 2017, Asp.Net 4.6.
Any help on this is greatly appreciated!