How to check the activation status of the row being deleted on the Infragistics grid V5 2003

Posted on 2006-04-27
Last Modified: 2012-06-27
Can some one tell me how I can check the activation status of a selected row as i need to check this before I carry out the deletion of the row. If the Row is set to NoEdit then I want to prevent the deletion ?
Question by:anwarmir
    1 Comment
    LVL 17

    Accepted Solution

    To check row M, use ugGrid.Rows(M).Activation

    If you are checking the selected row in the BeforeRowsDeleted event, do something like this:

    Private Sub ugGrid_BeforeRowsDeleted(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.BeforeRowsDeletedEventArgs) Handles ugGrid.BeforeRowsDeleted
        For Each row As Infragistics.Win.UltraWinGrid.UltraGridRow In e.Rows
            If row.Activation = Activation.NoEdit Then
                'Do not delete here
                'Delete here
            End If
    End Sub

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now