Telerik.Winforms.radGridView - How to change row color programmatically ?

Posted on 2011-10-24
Last Modified: 2013-12-16
I just wanted to use this component..
Can anybody help me how to change the current row color ?
foreach (GridViewRowInfo row in radGridView1.Rows)
                    string ip = row.Cells["IP"].Value.ToString();
                    int PINGres = mp.pingFunc(ip);

                    if (PINGres == 1)
                        row.IsSelected = true;
                        // How to change value of the currnt row ??

Open in new window

Question by:exceter
    LVL 22

    Accepted Solution

    LVL 3

    Author Closing Comment

    tnx. That was exactly what I was looking for.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    761 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

    16 Experts available now in Live!

    Get 1:1 Help Now