This is a migrated thread and some comments may be shown as answers.

***MAJOR HELP NEEDED WITH MASTER/DETAIL GRIDVIEW ***

1 Answer 9 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 20 Feb 2017, 09:34 PM

Hi all.

I have a real zinger. I'm populating a radgridview via web service call in the code behind (c#). But, I have tried six ways from Sunday to get a Master/Detail to work. I have two radgrids - one master/other detail. I can populate them both but when I try to bind them together using the DataKeyNames, it just won't do anything.

How I populate:

private static AdvanceAutoWS.AdvanceAutomationClient AAAdminWS = new AdvanceAutoWS.AdvanceAutomationClient(); //web service

var xGridRules = AAAdminWS.GetAllRules();
rgvRules.DataSource = xGridRules.ResponseList;
rgvRules.DataBind();

 

How can I create a linked detail grid using web services so that when I select a row on the master grid, it links with the corresponding records in detail grid?

 

Thanks a million in advance.

 

Jim.

1 Answer, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 22 Feb 2017, 12:39 PM

I got it fixed! It was posting back and wiping out what was in the detail grid.

Tags
Grid
Asked by
Jim
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
Share this question
or