1

I am designing a Data Entry UI for a WPF application and have a scenario where I need to enter a many-many relationship.

Object A is Parent object. A has an observable collection of type Object B.

Object B has two text fields and an observable collection of Object C which has four text fields.

I need to create a UI which will allow an efficient addition of B and C.

I have created a Nested Tab Control where the outer tab control has object B and it has an inner tab control which can accommodate many object C in it.

However this UI looks ugly and non intuitive. Any suggestions on what would be a better way?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
ganeshran
  • 3,512
  • 7
  • 41
  • 69

1 Answers1

2

Using a grid in master-detail(-detail) mode?

Check this or this or this to bring you some ideas. Third party vendors like DevExpress and Telerik provide real good data grids and other user controls. Don't know if standard Microsoft DataGrid provides master-detail functionality. But this should give you some ideas.

Youp Bernoulli
  • 5,303
  • 5
  • 39
  • 59
  • 1
    you mean to say an editable datagrid where the user can add rows to both the master and detail grids? Will that be user friendly? I have observed that many users are not comfortable with entering data in datagrids. – ganeshran Jul 12 '11 at 07:56
  • Can be. It were just some ideas. And if you look at the other examples there's also a approach of using stack panels. When selecting an object in one stackpanel the child objects of the selected object are shown in another stackpanel and so on...And if you use DevExpress Grid -> they are very user-friendly and highly customizable to fit your user requirements. – Youp Bernoulli Jul 12 '11 at 09:58
  • Thanks Joep I settled for a Master Details view where one is a grid and another is a tab control!! – ganeshran Jul 12 '11 at 10:29
  • Hi Joep I marked the answer for this and many posts back.. sorry – ganeshran Jul 12 '11 at 11:35