Help with the many to many control
-
07 Maret 2012 9:29
Me again
I have ran through the article that Michael has done here --->Using The Many-To-Many Control and it is working fine
It doesnt take much to confuse this old brain of mine but I want a sub category to show like types of hearing disorders etc..
at the bottom of Michaels article it says
Note:You don’t actually need to set “Category” in the property sheet for the checkbox list. The control should figure it out automatically – you only need to do that if you have more than two relationships off your many-to-many mapping table.
I have Client one to many M2M Disabilities one to many disability descriptions
I tried adding another relationship off the M2M table but it didnt work.
I also see the bit for creating a configuration grid but not sure by the wording if that is a requirement or was only needed on the initial attempt to get this working.
So my question is does this control work off relationships or do i have to create a configuration grid which totally defeats the purpose of the relationships ?
Oh and does anyone have any plans on releasing an idiots guide....lol
Martin
Martin
Semua Balasan
-
14 Maret 2012 7:45Hi
This will show you.
http://social.msdn.microsoft.com/Forums/en-US/lsextensibility/thread/9d6978c7-3bdf-44b2-89f6-d9f134a33259 -
14 Maret 2012 12:41
I think you mean the article at:
The control only handles one Many-to-Many relationship. The control would need to be altered to handle more.
However, it appears you really need to just put the disability description on the second table. If the description is in another table (not the one being joined in the many-to-many relation) you can use a WCF RIA Service that creates a single entity that contains a field that displays the description that you want.
- Ditandai sebagai Jawaban oleh Dino HeModerator 16 Maret 2012 8:46