Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have Gridview and I want to set click Event on the all cells in a Row ? How to Complete my Task ??

I tried this code but when i double click on the cell the new Form will come in Back / Behind of current Form. How to Show it on the Front ?

SQL
private void gridView2_DoubleClick(object sender, EventArgs e)
    {
        GridHitInfo celclick = gridView2.CalcHitInfo(gridControl2.PointToClient(Control.MousePosition));

        if (celclick.InRow)
        {

        }
    }

How to complete my task ? Help me.
Posted

1 solution

Hi thanks to all,

I got the Solution
C#
private void gridView2_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            // Code
        }

Using this event i can Complete my Task.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900