I facing an issue when I assign display value to Grid. It's will only give me the current select grid record instead of particular row record as below :-
since I need the exactly related record, not the currently select grid record. therefore I need to set parameter on the Display method to allow the system know which row of record I refer.
Step by Step
1. Create a Display method on the child table which will display records in detail grid :-
2. Write the code below to the method:-
3. Create a new Control to the detail grid.
4. Right click the Control and select properties. Set AllowEdit = No, DataSource = Child Table (which contain the display method) and DataMethod = Display Method that created just now
5. Done. =)
No comments:
Post a Comment