I'm using a RadDataForm with auto-generated fields and field edit controls. In case it's important, the RadDataForm is bound to a DataView. Due to the datatypes involved, most of the auto-generated edit controls are simply text boxes. When I tab from one editable field to another, I'd expect the current contents to be "selected" so I could either 1) tab past an existing value or 2) quickly change it.
Currently however, the insert cursor is placed in the field - sometimes at the end of the existing data and sometimes at the beginning (I haven't determined what controls its location). So, if I just press <TAB> to advance to the next field and start typing some new data, it's *added* (either prepended or appended based on cursor position) to the existing data instead of overwriting it as I'd expect.
How can I force the current contents of each text box to be automatically selected when the control receives focus?
Jeff
Currently however, the insert cursor is placed in the field - sometimes at the end of the existing data and sometimes at the beginning (I haven't determined what controls its location). So, if I just press <TAB> to advance to the next field and start typing some new data, it's *added* (either prepended or appended based on cursor position) to the existing data instead of overwriting it as I'd expect.
How can I force the current contents of each text box to be automatically selected when the control receives focus?
Jeff