By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,684 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,684 IT Pros & Developers. It's quick & easy.

How to tell if gridview row is in edit mode

P: n/a
JJ
I know its probably a simple answer, but I can't find it...

How do you tell if the current row in a gridview is in edit mode?
The control doesn't seem to have a 'currentMode' property like detailsview.

Thanks,

JJ
Jun 8 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
JJ
ok got it: RowState
DataControlRowState.Alternate The GridViewRow object is an alternate row in
the GridView control.
DataControlRowState.Edit The GridViewRow object is in edit mode.
DataControlRowState.Normal The GridViewRow object is in its normal (default)
state.
DataControlRowState.Selected The GridViewRow object is selected.

"JJ" <ab*@xyz.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>I know its probably a simple answer, but I can't find it...

How do you tell if the current row in a gridview is in edit mode?
The control doesn't seem to have a 'currentMode' property like
detailsview.

Thanks,

JJ

Jun 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.