-
Index was out of range error when paging in a Nested Datagrid
I have 3 Datagrid nested.
Master
Details
Child
The master has paging (And i'm using the paging inbuilt in the Datagrid)
in the Master DataGrid you select a linkbutton(using commandname) and it
populates the data in the Details DataGrid
(I'm using Dim Filter As String =
CStr(dtgMaster.DataKeys(dtgMaster.SelectedIndex)).Replace("'", "''") to
filter btw the Datagrids)
And the same is what i did for the Child DataGrid.
But i noticed that after selecting a ROW in the Master DataGrid and populate
the Details Datagrid and i try paging it WORKS!!
But after selecting a ROW in the Details Datagrid and i go back to try
paging the Master DataGrid i get the error below
Index was out of range. Must be non-negative and less than the size of the
collection. Parameter name: index
Any ideas?
Similar Threads
-
By stevemonty in forum ASP.NET
Replies: 0
Last Post: 08-31-2005, 07:06 AM
-
By anbaz in forum ASP.NET
Replies: 3
Last Post: 06-10-2005, 09:24 PM
-
Replies: 0
Last Post: 11-12-2002, 09:36 PM
-
By Miroslav St. Jeliaskoff in forum .NET
Replies: 1
Last Post: 10-18-2002, 04:49 PM
-
By Jonathan Allen in forum .NET
Replies: 331
Last Post: 03-19-2001, 09:00 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|