Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 15, 2012 06:51 PM by sjnaughton
Nov 15, 2012 12:03 AM|LINK
The example doesn't work ...
Have you downloaded the example to have a test with?
Nov 15, 2012 04:31 AM|LINK
Hi Steve and Mr. Dong,
I have certainly made the example run. As I told you before, the solution works fine at 2 levels only. I tried before tryng to make my own implementation of the delegates that should be required to make the other levels to understand previous selections
of the other dropdownlists but I had the difficulty of not knowing how to build the proper sentences in the populatexxxx() method (don't remember its exact name right now) because there is some kind of special libraries that should be used in order to build
every new query but I just got stuck at that point so I abandoned the idea of going on with that effort.
So I asked many times how to do some kind of reflection and things like that (I have talked with both of you before about this a couple of years ago) because there is no way (at least known for me) of "instantiating" a dropdownlist control already generated
on the fly by Dynamic Data as to have access to all its properties and collect its data (the previously index selected by the user on that dropdownlist)
So, it seems I'm in ground zero agasin !!!
...... UNLESS STEVE HELPS ME OUT THIS TIME.... ..... ..... .... ..... please ..... do it Steve !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Nov 15, 2012 04:49 AM|LINK
Your problem seems to be a little strange and complicated……I've submitted this for futher deeply study on that.
Nov 15, 2012 04:13 PM|LINK
I know you'll deliver what you promised me too, won't you?
It seems that Steve has been out of focus these days ...
Mr. Dong: I know this is something rather trivial for someone who knows the inner workings, the inner devices of Dynamic Data. For someone who knows how this thing work this may as well be something trivial rather than something complex
It is important to understand my example here: you just need to be able to create a dynamic cascade of dropdownlist which must obbey one simple criteria:
AFTER SHOWING THE FIRST DROPDOWNLIST (THE ELDER OR THE MOST OLDEST ANCESTOR IN THE CHAIN OF DEPENDENCIES) ALL FOLLOWING DROPDOWNLISTS SHOULD BE SHOWN ...
ONE BY ONE ... AS SOON AS ONE SELECTION HAS BEEN CHOSEN (SELECTED INDEX HAS CHANGED) FROM ITS PREVIOUS PARENT
Or, if all of them are shown are shown at once, the dependant dropdownlists should display -Parent not chosen - (disabled) so you can make choices in proper order (top to bottom of the chain)
I know for sure that this is something which must be truly simple for a Microsoft developer
Carlos N. Porras
Nov 15, 2012 06:51 PM|LINK
Hi Carlos, this will work fine withy my CascadeHierachical field template, I will work up a sample this weekend based on this database and e-mail it to you.