Nest Listbox inside Datagrid

Is it possible to nest a listbox control inside of a datagrid that is bound to a different table?

Scenario:
I have a datagrid that 3/4's of it is bound to one table(News).  When a user wants to view a list of articles, they will get a datagrid that contains all news articles with Title, Author(s), Date etc.  

I need the Authors result to be listed inside a listbox control with rows=1 for space issues.  Since there can be more than one author for an article the data for authors is contained in a seperate table with a foreign key relationship (or join) with the News Table.

Any thought wold be appreicated.

Sincerely,

Tim
TMF123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dunglaCommented:
0
TMF123Author Commented:
Thanks dunlga.

No luck on the first link (404).

The second link deals primarily with a dropdownlist control inside the custom column.  This is find for viewing the list of authors, however; I really need to be able to implement the listbox control in edit mode.

Do you have any additional ideas or article references you can throw my way.

Thanks again.

Tim
0
TMF123Author Commented:
Also, this is a web application written in C#.  I don't know if that presents any limitations with existing controls under the web environment compared to a windows form.

Thanks again.

Tim
0
dunglaCommented:
TMF123,

Maybe this way could help you:

1) Right click on your datagrid in design view, select Property Builder,
2) In Property Builder screen, select Columns section
3) Add a Template Column to Selected Column box and click OK
4) Right click again on your datagrid and select Edit Template -> Column[x]. This action will display the Edit Template screen same as the DataRepeater or DataList control
5) Select ListBox in Toolbox and placed in the Item Templace section of Edit Template screen.
6) Now you can do anything you want to your new Listbox in your datagrid.

Hope this help.
.:: LDLP ::.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.