I have a radGrid control that is bound to a strongly-typed dataset. In addition to the columns defined in the strongly typed dataset, I also need to add an additional, unbound column. This column needs to conditionally display an image or be left blank. The condition is based upon an external webservice call.
In the ItemDataBound event for the grid, I'm calling my external webservice to determine if the image (unbound) column should display a gif or be left blank. I can't seem to figure this one out??
I've added an ImageButton to the grid at design time and set the ImageUrl property to my gif and all columns now display the gif. Now, in the ItemDataBound event, I want to conditionally remove the gif for some records, but the ImageUrl property does not seem to be available at runtime for me to set it to "" and not display the image? Any help is greatly appreciated!
Thanks,
smithy
In the ItemDataBound event for the grid, I'm calling my external webservice to determine if the image (unbound) column should display a gif or be left blank. I can't seem to figure this one out??
I've added an ImageButton to the grid at design time and set the ImageUrl property to my gif and all columns now display the gif. Now, in the ItemDataBound event, I want to conditionally remove the gif for some records, but the ImageUrl property does not seem to be available at runtime for me to set it to "" and not display the image? Any help is greatly appreciated!
Thanks,
smithy