or
I use BinaryImage in a RadListView (BinaryImage First Look example). Have problem if a Contact not have save image (BinaryImage)
I get "Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'."
Tips on how I get around if a contact person chooses not to store their personal contact picture in the database?
I use sql server 2008 and datatype varbinary(MAX)
<div id="phcontent_0_phcontent_0_RadGrid1Panel" style="display: block; ">
<div id="phcontent_0_RadGrid1" class="RadGrid RadGrid_Default" style="width:97%;"
<!-- 2011.2.712.35 -->
<input id="phcontent_0_RadGrid1_ClientState" name="phcontent_0_RadGrid1_ClientState" type="hidden" autocomplete="off">
</div>
</div>if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
(function() {
function loadHandler() {
var hf = $get('phcontent_0_RadScriptManager1_TSM');
if (!hf) return;
if (!hf._RSM_init) { hf._RSM_init = true; hf.value = ''; }
hf.value += ';';
Sys.Application.remove_load(loadHandler);
};
Sys.Application.add_load(loadHandler);
})();