Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 11, 2012 10:16 PM by sjnaughton
Nov 24, 2012 10:46 AM|LINK
Hi Carlos, this should happen out of the box, I havent tried it on the List View as I don;t ever use it though.
Nov 29, 2012 05:05 PM|LINK
Hi Mr. Dong,
Has your submission been accomplished already? Is there anyone working on this matter? Hoiw long will it take to know? How can we trace any further advance in this?
Carlos N. Porra
Nov 30, 2012 12:27 AM|LINK
I've submitted this to a seniro department to analyze. And my inner state is "Escalated".
Nov 30, 2012 04:18 PM|LINK
As Stephen pointed out, this should just work automatically out of the box. I have tested it using the Scaffold.zip example found at
http://aspnet.codeplex.com/releases/view/54273 and the filtering works automatically on the listdetails.aspx page. If this is not what you are referring to, can you please clarify *exactly* what you
are attempting to do?
Nov 30, 2012 06:09 PM|LINK
Sorry for not making myself understand. I'm spanish speaking person and my lack of enough ways of writing good English so I could make mayself understand easily is something bad for my own interests ....
As an example, if I had this screen in the "normal" way in which Dynamic Data works .... everything might as well be good and sufficient enough BUT
if I had the "necessitiy" of having to provide more choices to my users so I could filter in more efficient way my forms I will probably need to add some additional filters which will belong to a lower level grid of my entity.
Let's say that I have Request Orders which at the same time have information stored in my database which reflect (at that lower level) some kind of data of my interest like: city, date of inspection, calculated replacement value, and so on.
So, I'd probably have to create an extra customized form which will allow me to include those additional filters in my screen
If I had done that and my user has already selected thos inspections pertaining to March 2012 for the city of Toronto ..... then I'd like to have a new screen, just like the first one DISPLAYING THE GRID CONTAINING ONLY THOSE INPESCTIONS BELONGING TO TORONTO
MADE DURING THE MONTH OF MARCH 2012 .... without showing the filters on top of the form because (for this form) they won't be necesary at all.
That's why I need to find ways of having available the information so I could write statements like
foreach (var item in (e.Entity as Book).Categories
/// some piece of code here
So, I think that there must be ways and proper places and timing that I should know in order to build those pieces of code that will help me to populate my own controls with the data I want at any given moment ... the right moment !!!
These kind of iteration can only be performed while the data is available ... so is imposible to write these peices of code BUT at the right timing so the needed data WILL BE AVAILABLE for you to use it !!!
Carlos N. Porras
P.S.: I have alwas wanted to know HOW DOES DYNAMIC DATA WORKS INTERNALLY ??? ....
not the .Net code (which I can get from Microsoft decompiled libraries or by means of using a decompiler like Reflector)
but the way in which Dynamic Data behaves ..... for instance ... Steve Naughton ahs written code for overriding the PopulateList method and you wonder how did he do in order to get the knowledge to write those pieces of code ... so I guess
he leaned somehow how does Dynamic Data works and he also learned what syntax to use, where to use it, what libraries to invoque , etc
Dec 01, 2012 10:47 PM|LINK
need to add some additional filters which will belong to a lower level grid of my entity
Dec 02, 2012 04:52 AM|LINK
Hi Mr. Naughton,
Yes ! You're right BUT eitherway it is going to be needed to "pass" those values to the newlly called form
There's no way on earth you could do what I need to do if not by means of passing the data to the new form ....
Visual FoxPro for instance had what was called (this is just a mere note of interest) "Carry On" (which is not nby any means what I need to do here) ... such feature allow you to "repeat" all of your previous entered data into the following newer record
shown on screen ..... THIS IS JUST TO ILUSTRATE THAT THERE MIGHT BE SOMETHING IN AN Y NEWER TECHNOLOGY THAN FOXPRO THAT WILL, SHOULD, MUST ALLOW YOU TO CARRY ON SETS OF DATA
But the point here is not just to carry on yhe data BUT also let you know and manage/handle any fuerthera ction that you wnat to perform prior to show that information in a newr screen
I think I'm nuts .... sorry if I don't make any sense ....
Dec 02, 2012 05:51 AM|LINK
I think I'm nuts .... sorry if I don't make any sense ....
oops……Don't say "nuts"……We're just discussing problems……
So do you wanna DD add a new feature or……？
Dec 02, 2012 02:08 PM|LINK
Hi Carlos, try thinking laterally descibe what you want to achive rather than how you want to di it :) I hope I am making sense I have never come accross task I could no achive with DD.
So descibe what you want and I will try to give you the solution, it may not be how you envisioned it but it will achive the same goal :)
Dec 02, 2012 02:26 PM|LINK
What follows in bold and italics can be omitted from your reading if you want ... is more a personal inner discussion on the matter of asking questions ... in general terms ... I'm not looking for attacking or conflicting with anyone else in this world ....
Neither would I put any of you into this category.... so if you read it you must understand that this is just mine.... but I am leaving oit here so people can underatsnd my way os asking for questions and my way of thinking
[I'm kind of trouble when explaining what I want and when I don't get what I want from the sources I know they can ... don't you?
What I'm asking for is for an answer. If it can't be done it will be ok to say IT CAN'T BE DONE ... simple! On the other hand if this can be done then I would expect someone telling me HOW TO DO IT not philosophy neither reflections nor will I
like to listen anything else than a true answer.... mostly I'd expect ANSWERS.
Having said that, and if you read what I have written here ... is not like I'm asking for the key of secret power knowledge neither am I asking for the cornerstone on which the Mayans or Egyptians had built their pyramids .... I'm asking simple
So Mr. Dong, if you read carefully what I have wanted to ask (not necessarily what I could have written in the end because I must admit that it seems that I am having a big lack of proper knowledge for making myself understand in the English language) then
you'll realize that what I'm asking is simple, so simple .... Very simple....
What I'm saying here is:
Dynamic Data works based on templates and it uses its own set of controls: textboxes, comboboxes, grids, buttons, etc.
Additionally, Dynamic Data does some kind of trickery magic when she works (I don't know what did I say SHE)
Dynamic Data starts doing a bunch of magical stuff in its inner devices: sees the context, calls the database connectivity, adds forms, adds controls, adds grids, ..... and ADDS DATA !!!
So there are 4 things with Dynamic Data, (well 5 considering the C# stuff ) (1st) Its interaction with its framework in order to populate controls and (2nd) it does its own thing in order to fill data controls with data (3rd) Dynamic Data plays with all
MetaData definition so it layout everything in the proper wasy AND (4TH) It interacts with the database and with its devices so it allows proper FILTERED usage of the displayed data ....
So it happens that when you try to make CUSTOMIZATIONS there is some required knowledge that someone in Microsoft suppose all mortal have ... and we mostly don't
So when you try to customize you realize that you don't know anything about Dynamic Data at all ...
You start trying to debug and you go nuts when you see that for every single thing Dynamic Data does all data is lost from your RAM and when it is there (somehow) it will be good to know WHEN it is there, WHAT can you do with that data and HOW to do your
stuff with you data
YOU'LL PROBABLY THINK I'M SO NAIVE ASKING THESE QUESTIONS .... so take it for granted, I have waited almost 4 years now trying to understand all of this ....
Carlos N. Porras