Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
412
Detect Header Row click in Ultrawebgrid
posted

I'm having user inadvertantely click the header row and it throws and error.  How can I detect a header row click and prevent anything from happening?

I'm looking for something like this...

        If UltraWebGrid1.DisplayLayout.ActiveRow = HeaderRow Then
            label1.Text = "Header Click"
        Else
            label1.Text = e.Row.Cells(2).Value.ToString
        End If