Mar 17, 2014 12:22 AM|klca|LINK
It sems that sometimes the theoretical aspects of programming complex ASP.Net DD algorithms make the process of giving/obtaining answers from experts a quite difficult experience. mNot juicy at all !
For me, it will be asier sometimes just getting straightforward, simple explanations of "where" and "how" some things happen inside DD
I'd simply like to know how to gather the data (that will be shown on screen or thas is being showed on screen) at the right data in proper time.
For instance, in Oleg Sych's blog http://www.olegsych.com/2010/09/understanding-aspnet-dynamic-data-entity-templates/ "Understanding
ASP.NET Dynamic Data: Entity Templates" you can see the following Custom Entity Template filled with data:
From my point of view, despite of how all of this might be accomplished inside DD I'd like to know better "How" and "Where" to collect this data and make use of it in my own code so I might be able to do some basic programming stuff like: passing data between
controls to do cascading. I guess I'd like to do some calculations on the fly as to fill some custom fields inside that form,
In general, USE ALL THE DATA THAT WILL BE USED TO DISPLAY THIS FORM .... in my own way. Despite of all technical exsplanation on how DD works I'd rather like not to understand all intrincacies of complex framework programming but use data (as we programmers
of the 3rd world noramlly do) to do all our simple programming stuff like looping, passing data, making calculations, showing popup screens, and so on.
I don't know how to explain what I want (maybe because of the usage of my own native speaking Spanish language) but if I were to do some cascading I'd like to do it on the fly (I don't wnat to do custom things for every page because otherwise I'd rather be
using a simpel web forms applciation in the old fashioned way, isn't it)
I'd like to make some iterations though the MetaData file as to get all correct info to be displayed (fields, foreign keys in its proper ordering, etc) so I can get for instance the data coming from the firts FK (Let's say Countries) and get code "223345"
as part of user selection on a DropDownList) belonging to "USA" and pass that value to the next control (another DropDownList) in which Iwill select only those "States" belonging to the previously selected "Country" and then pass this two values (let's say
Country = "223345" and State "" e.g.: "Illinois") so I can show the next DropDownList correctly: Cities of Illinois, USA.
I know you can say that I can customize BUT DD isn't supposed to be doing customizing as the rule but the exception of it, ... or is it?
Is this kind of approach too rough or non-elaborated, childish maybe ??????
Carlos N. Porras