I am working on nested gridview. I am using updater command on the expand button, when I click on the expand button of the outmost gridview, it works fine(The nested gridview expands correctly ), but when I click on the Expand button of inner gridview (Expanded
Gridview), it collaps the gridview and comes to the stage that I get on page load.
I need multi-level nested gridview..what are the right wayts to get that ?
Your Outer GridView will have to bind with a DataSource that has a collection of sth there, which will be used as another element collection bound to the inner GridView.
This IS NOT the place, I think, to give other solutions than Dynamic data ones, ... no?
If there is no Dynamic Data solution then it must be said so and .... kaput .... end of it
It doesn't worthwhile trying to use non-dynamic data stuff in a dynamic data ptoject ... it makes no sense at all.
I'll say it in another words: if you were to customize a 50% of your dynamic data project then you rather choose anything else but dynamic data to buidl your project
I know Microsoft haven't give much tought to dynamic data (huge mistake) and that's why guys like you (taht probably won't ever use it) like giving this kind of answer
BUT you shouldn't here ... in this forum, ... at least
naveen1988
Member
14 Points
26 Posts
Nested Gridview
Dec 10, 2012 06:05 AM|LINK
Hello,
I am working on nested gridview. I am using updater command on the expand button, when I click on the expand button of the outmost gridview, it works fine(The nested gridview expands correctly ), but when I click on the Expand button of inner gridview (Expanded Gridview), it collaps the gridview and comes to the stage that I get on page load.
I need multi-level nested gridview..what are the right wayts to get that ?
Thanks
Naveen
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Nested Gridview
Dec 11, 2012 12:36 AM|LINK
Hello,
Your Outer GridView will have to bind with a DataSource that has a collection of sth there, which will be used as another element collection bound to the inner GridView.
For more you can refer:
1) http://www.codeproject.com/Articles/27042/Nest-Gridviews-using-LinqDataSource
2)http://www.codeproject.com/Articles/14861/Multilevel-Nested-Master-Detail-Data-Display-Using
klca
Member
509 Points
421 Posts
Re: Nested Gridview
Dec 11, 2012 02:20 AM|LINK
Mr. Dong,
I'd like to ask why do you insist in giving non-Dynamic Data solutions in a Dynamci Data forum.
Of course that your solution might be absolutelly correct ... for any other environment but Dynamci Data
I say this because it makes no sense for me, as a Dynamic Data developer, to find any other non-coherent solution with what this forum is about.
Sorry for having me saying this tou you
Carlos N. Porras
(EL Salvador)
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Nested Gridview
Dec 11, 2012 03:29 AM|LINK
Nothing special, thanks for remindering;)
Because Dyanmic Data hasn't released such a function yet, as far as I see.
So until now I have to offer an alternative solution to client as a reply
klca
Member
509 Points
421 Posts
Re: Nested Gridview
Dec 11, 2012 05:09 AM|LINK
Mr. Dong,
This IS NOT the place, I think, to give other solutions than Dynamic data ones, ... no?
If there is no Dynamic Data solution then it must be said so and .... kaput .... end of it
It doesn't worthwhile trying to use non-dynamic data stuff in a dynamic data ptoject ... it makes no sense at all.
I'll say it in another words: if you were to customize a 50% of your dynamic data project then you rather choose anything else but dynamic data to buidl your project
I know Microsoft haven't give much tought to dynamic data (huge mistake) and that's why guys like you (taht probably won't ever use it) like giving this kind of answer
BUT you shouldn't here ... in this forum, ... at least
Carlos N. Porras
(El Salvador)
klca
Member
509 Points
421 Posts
Re: Nested Gridview
Dec 11, 2012 05:09 AM|LINK
.
sjnaughton
All-Star
27391 Points
5485 Posts
MVP
Re: Nested Gridview
Dec 11, 2012 12:24 PM|LINK
Hi Decker, I am working on such a nested grid for DD at the moment should be done after the Christmas holidays :)
Always seeking an elegant solution.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Nested Gridview
Dec 12, 2012 09:31 AM|LINK
Oops……Really many thanks!
sjnaughton
All-Star
27391 Points
5485 Posts
MVP
Re: Nested Gridview
Dec 12, 2012 10:03 AM|LINK
It is based on the ListView using custom ITemplate generators :)
Always seeking an elegant solution.