I would like to have conditionning columns
Here is how I would like to have
For now I have 2 columns in my grid (I have more than that but this is actually what I need for that problem)
This grid in link to a sqldatasouce.
I have a field in that sqldatasource that called 'Confirm'
when 'Confirm' contain the text 'OK' I would like to display 1 column :
<asp:Label ID="LbConfirme" Text='<% # ConfirmeImage(Container) %>' runat="server"></asp:Label>
When 'Confirm' contain nothing or "" I woule like to display the other column:
telerik:GridButtonColumn ButtonType=LinkButton UniqueName="LkConfirmer" CommandName="ConfirmerUnItem" Text="Confirmer">
Which allow me to confirm the item
On each row I have to look if the 'Confirm' field is 'Ok' or nothing and then show the right column
Does it have a way to do that?
Thanks in advance