Datagrid - Scroll to selected item
Hi All,
I am having trouble to get the result Im after.
I wish to have the datagrid scroll to the selected item when it is to be edited, has been edited or has been added.
I managed to use javascript to set the focus on a textbox in the edit template which takes care of the first situation. But after editing or adding there are not any textboxes in the display to set focus on.
I have not had any success setting the focus on an image button which would be available in all modes.
Does any one have any Idea as to how to do this?
I have read some article talking about the CurrentCell Property but this does not appear to be a property of my datagrid.
Any assistance would be appreciated!
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
__________________
======================================
"They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad."
--Shakespeare
======================================
|