Using Combox in Datagrid while allowing row by row data input

G

Guest

I'm wanting to use a datagrid to allow a user to enter rows of data one at a time. A few columns in this grid would be comboboxes populated with choices for the user from our database. Problem I'm having is this..

First row works just fine. As soon as the user navigates to a new row in the grid and tabs to one of the combox columns, the combobox in the column above disappears. It's almost like the grid is only seeing one combobox control and moving it row to row for use. Of course, this is not what I am looking for

Has anyone out there had to code something similar

Thanks!
 
J

Jan Tielens

This is default behavior. If you want to override this, you'd have to create
your own ColumnStyle. If you use the (free) ExtendedDataGrid is pretty easy
to do that:
http://dotnet.leadit.be/extendeddatagrid

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


Jon said:
I'm wanting to use a datagrid to allow a user to enter rows of data one at
a time. A few columns in this grid would be comboboxes populated with
choices for the user from our database. Problem I'm having is this...
First row works just fine. As soon as the user navigates to a new row in
the grid and tabs to one of the combox columns, the combobox in the column
above disappears. It's almost like the grid is only seeing one combobox
control and moving it row to row for use. Of course, this is not what I am
looking for.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top