This is a migrated thread and some comments may be shown as answers.

RowState Issue

1 Answer 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Satya Sahu
Top achievements
Rank 1
Satya Sahu asked on 22 Mar 2010, 10:14 AM
Hi folks,

i was using RowState and DataControlRowState in my datagridview.

I have migrated it into Radgrid. Can any one tell wht can be the alternative code for the below code with respect to RadGrid
Dim grdrow as GridViewRow 
 
For Each grdrow In gvProductBOM.Rows 
                If ((grdrow.RowState And DataControlRowState.Edit) <= 0) And Not (isBOMFirstRow) 
:-
Awaiting for your response.


Thanks
Satya

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 25 Mar 2010, 07:29 AM
Hello Satya Sahu,

With the grid control, in such a situation, you can use a property like:

GridDataItem dataItem =(GridDataItem) RadGrid1.MasterTableView.Items[0];
        if (dataItem.IsInEditMode)
        {
            //additional code
        }

I hope this gets you started properly.

All the best,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Satya Sahu
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or