Hi,
I got a rad grid with one of the column being initially being made invisible - meeting some criteria will make this item visible. But somehow it is not working. I am sure I am missing something.....help please :)
Code snippent looks something like this..
<telerik:GridButtonColumn UniqueName="BtnAdd" ButtonType="PushButton" CommandName="Add" Text="Add" FooterStyle-CssClass="normalBlueFont" Visible="true"></telerik:GridButtonColumn>
........................................
Code behind
Protected Sub gridException_ItemDataBound(ByVal sender As System.Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gridException.ItemDataBound
DisplayUnmatchedDataInCombo()
End Sub
Private Sub DisplayUnmatchedDataInCombo()
'Code to display the unmatched data in the GridDropDownColumn
Dim item As GridDataItem
For Each item In gridException.Items
If condition = false Then
item("BtnAdd").Visible = True
End If
Next
End Sub
Thanks a lot.
Milan G