Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

Posted on 2006-04-27
Medium Priority
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

ZeonFlash earned 2000 total points
ID: 16555702
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

578 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