Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 18, 2013 01:54 AM by klca
Nov 21, 2012 05:19 PM|LINK
I have a table ( aheader) whcih also has another 7 children tables, all of them with an specific functionality in accordance to the business rules defined for that entity.
I'd like to know if there is a way of combining all of the 8 tables at once in a page: the amster table plus all other 7 tables
What I'd like to achieve is having a grid displaying a list of all headers stored in the database (let's call it Request Orders for instance) and then show all other 7 grids showing the list of details entered (if any ... because it might as well have it
still has zero data) and then allowing me to enter data (in DETAIL-ENTRY mode) for each one of the tables and showing (refreshing) the newly entered data
Is that possible at all in a C# ASP.Net Dynamic Data project?
is like having: (click link for larger image)
Carlos N. Porras
Nov 22, 2012 04:56 AM|LINK
If you don't insist doing that with Dynamic Data, It's very easy for you to do the master-detail formView+GridView on the common asp.net page. You can refer this:
Nov 22, 2012 11:31 AM|LINK
Hi Mr. Dong,
(By the way ... I am going to use some capital letters here .... they don't mean yelling or fault or whatever other negative conmnotation generally is given to capitals. I will use them in order to enhance my questions and comments here .... not for
anything else than that .... Ok ...)
If I'm currently developing an C# ASP.Net Dynamic Data (with SQL Server) project, why do I have to think outside that box?
This is answer is not by any means and neither does it imply lack of respect or whatsoever ....
... just a true simple question: Can't it be done using Dynamic Data?
I know for sure this can be done in conventional ASP.Net. Same criteria apply to anything else: cascading, menus, validations, customized forms, etc. But I respectfully insist: Talking about anything else than Dynamic Data as a solution IS NOT a solution
for this kind of project BECAUSE Dynamic Data BEHAVES DIFFERENTLY THAN STANDARD ASP.NET FORMS
Nov 23, 2012 12:35 AM|LINK
Can't it be done using Dynamic Data?
To be very honest, not absloutely. But considering it that if you are using Dynamic Data, and you have to apply the template inside VS, but the template for Dynamic Data (in default) there's only one GridView or FormView. It's not easy to achieve that.
So a general ASP.NET would be better in my mind.
Nov 23, 2012 01:41 PM|LINK
This is one of the things that I think should be part of the native package of VS20XX
How many systems have been developed using the snowflake design technique? Probably millions, no? So, displaying this kind of master-detail(s)-grandson(s) ... nephews, cousins and any other fancy way of resolving quickly referential integrity at the level
of the data itself should be good .... AND PRINT IT AT THE SAME TIME ... isn't it?
For instance, if I had something like in a underwriting company, I'd had a request order, a request header, a sheet for the answers gathered during inspection and at the same time: names of tenants, legal representatives of yours and your customers, details
of lands, details of machinery, details of gas tanks, details of dangerous animals, phones, addresses, dates, data of security, chimneys, etc.
You'll probably have all of this data stored into different correlated tables but you'll surely like to have it available at once for data entering and printing the final report ... isn't it?
So, if you put yourself in that scenario you will understand my request
Nov 23, 2012 11:27 PM|LINK
It seems that you wanna a Master-Details in a Dyanmic Data Sample，please have a look at this：
Nov 24, 2012 11:07 AM|LINK
Hi Carlos, I already have this working see below, this is available via my open source project
here and will be available via nuget eventually.
Feb 18, 2013 01:54 AM|LINK
Where is the master/detail thing in that link? couldn't find it !