Editable Datagrid Dropdownlist error

A

anon

Hi All,
I have an editable datagrid which i created using the example on 4 guys
from rolla
http://www.4guysfromrolla.com/webtech/050801-1.2.shtml

in this example the dataview is used as a source for the ddl in the edit
mode, however is it possible to use just arrays, i tried having a
function which has an array list with values for the dll but that did
not work...
also, how to set the value field for the ddl when in edit mode....has
anyone made an editable grid along these lines....cud u plz post some
code to help me out...?
thanks
Ben
 
S

Scott Mitchell [MVP]

I have an editable datagrid which i created using the example on 4 guys
from rolla
http://www.4guysfromrolla.com/webtech/050801-1.2.shtml

in this example the dataview is used as a source for the ddl in the edit
mode, however is it possible to use just arrays, i tried having a
function which has an array list with values for the dll but that did
not work...
also, how to set the value field for the ddl when in edit mode....has
anyone made an editable grid along these lines....cud u plz post some
code to help me out...?

Ben, I'm about to run off to bed, so I don't have the time right now to
delve into a thorough answer (or ask the appropriate questions), but if
you want to have a data-dependent DDL in a DataGrid, you might find it
easier to use Andy Smith's free BoundLookupColumn control -
http://metabuilders.com/Tools/BoundLookupColumn.aspx.

hth

--

Scott Mitchell
(e-mail address removed)
http://www.4GuysFromRolla.com
http://www.ASPFAQs.com
http://www.ASPMessageboard.com

* When you think ASP, think 4GuysFromRolla.com!
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top