I use GridBinaryImageColumn in RadGrid. Some rows don't have images so that cell should be empty or have default image. How to do this?
I tried but it does not work.
1.protected void RadGrid_databound(object sender, GridItemEventArgs e) 2. { 3. if (e.Item is GridDataItem) 4. { 5. GridDataItem item = e.Item as GridDataItem; 6. (item["LogoColumn"].Controls[0] as Image).ImageUrl = "~/App_Themes/Theme1/Images/default.gif"; 7. } 8. }Setting item.Visible = false show empty image icon in IE