nks
nks

Reputation: 61

How to Bind child Gridview control which is used inside template field of Parent Gridview Control?

I am working in a project and my Requirement is such that i need to used a Gridview Control as a Templatefield for another Gridview Control and Bind a Generic List to it Dynamically Before Rendering it to User. Is there any way to Bind Child Gridview (Inside Templatefield)?

Lets say: Parent Gridview: PGridview Child Gridview: CGridview

I am Really Confused how the PGridView.Databind() will work in this case.

which GridView to bind First and how?

Please Help.

Thanks

Upvotes: 0

Views: 831

Answers (1)

Vishal Gavle
Vishal Gavle

Reputation: 367

In this issue , please verify that on which field relationship are maintain between Parent Gridview: PGridview and Child Gridview: CGridview

Upvotes: 1

Related Questions