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

[Question] How to View Details in Row Click Event

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 13 Jun 2010, 03:08 AM
Hi,

Recently, I working on an item: I need to click a row in the RadGrid, and show details for that row (without edit & update functions). Also, when click some "edit" button, I can edit the data.

What I have now:
There is a user control in edit template with update functions already. And I build another user control with only labels in it.

What I have tried are:
Replace these 2 control by using the sample in grd different edit forms on edit and insert.
ISSUE: "RowClick" Event is not an "edit related" event, so the edit template wouldn't show. Even if I use a javascript to make the RowClick to be an "edit related" event, this will fire "Edit" Event, and show the wrong control with data in it.

What I want to try:
1. Build another user control to wrap these to control, and make some "visible" functions
2. Maybe there are some template in RadGrid I can use to show the detail information

Do you have advices for this? I believe some sample have to be right there, but I didn't find them.

Regards

1 Answer, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 13 Jun 2010, 03:23 AM
Update: I found the <NestedViewTemplate>. And it seems OK for me. Is there any sample for the <NestedViewTemplate> styles?

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