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

How detect Edit mode on a grid?

P: n/a
I don't know what it's called when the little pencil shows up in the Row
Selector portion of the grid but to me it indicates that the user is in edit
mode. I would like to detect this condition because I have a Save button
above a Grid, but I do not want it to be visible until the user has pressed
some key to begin typing in one of the columns of the grid.

How can I detect that the user has entered edit mode?
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You can check the ColumnChanged event of the underlying table and set do
this ..

btnSave.Visible = DataSet.HasChanges();
"Woody Splawn" <No**********@jts.bz> wrote in message
news:%2***************@TK2MSFTNGP14.phx.gbl...
I don't know what it's called when the little pencil shows up in the Row
Selector portion of the grid but to me it indicates that the user is in edit mode. I would like to detect this condition because I have a Save button
above a Grid, but I do not want it to be visible until the user has pressed some key to begin typing in one of the columns of the grid.

How can I detect that the user has entered edit mode?

Nov 21 '05 #2

P: n/a
I believe this only fires after the user attempts to leave the collumn. I
need to find out what I need to know as soon as the user types something
into a column on a grid. As soon as he types, he is in edit mode and I want
to make a certain button visible.

Nov 21 '05 #3

P: n/a
Would someone else please try to answer this?
"Woody Splawn" <No**********@jts.bz> wrote in message
news:%2***************@TK2MSFTNGP14.phx.gbl...
I don't know what it's called when the little pencil shows up in the Row
Selector portion of the grid but to me it indicates that the user is in edit mode. I would like to detect this condition because I have a Save button
above a Grid, but I do not want it to be visible until the user has pressed some key to begin typing in one of the columns of the grid.

How can I detect that the user has entered edit mode?

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.