Hide gridview column header

asp.net, gridview, vb.net

Solution

<asp:GridView ID="GridView1" runat="server" ShowHeader="False">
        </asp:GridView>

showheader=false on the aspx page

Problem

I have a gridview that is populated from a sqldatasource with ajax, which is fired from a radcombox drop down. The below does not work because technically the gridview hasn't loaded. Is there an easy work around? ``` Protected Sub RadComboBox1_SelectedIndexChanged(sender As Object, e As RadComboBoxSelectedIndexChangedEventArgs) Handles RadComboBox1.SelectedIndexChanged GridView1.HeaderRow.Cells(1).Visible = False End Sub ```

Original source