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

Telerik rad grid(master - detail) collapse issue.

5 Answers 160 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
truptesh
Top achievements
Rank 1
truptesh asked on 27 Jul 2010, 08:09 PM
I am using telerik grid to display master datail data. On a page load the grid wil populated with the data. I am using NestedTemplateView to display detail data. So there is "+" button on the grid which will display detail data. On clicking "+" I am passing one of the column value for a perticular row to stored procedure and displaying the data(Only one row). The issue is it is working for first row and when user clicks on second row the first expanded detail informaion is not hiding. it remains onpen and displays newly clicked rows details data.

Any idea how to hide previous expanded detail row.

Thanks!!!

5 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 02 Aug 2010, 08:30 AM
Hi Truptesh,

Could you please try instead populating the RadGrid with data into Page_Load event, to populate it with hierarchical data-binding using declarative relations or data-binding using DetailTableDataBind event and let me know if the issue still persists.

All the best,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Muhammad
Top achievements
Rank 1
answered on 19 Sep 2010, 03:48 PM
I could not find a thread to ask my RadGrid related question. My problem I am binding columns in details using Radgrid but I want to get rid of certain column cells  if there are no values coming from the datasource so it wont show that cell as empty coving the details grid spaces. Right now it is showing a lot of empty cells covering alot of spaces which I do not want. I was trying to remove the column cell but that removes the entire column. Radgrid findcontrol(""). visble only hides the controls does not hide that cell.
 I hope you understand the question?

0
Radoslav
Telerik team
answered on 22 Sep 2010, 01:00 PM
Hi Muhammad,

The RadGrid does not support the desired functionality. If you remove a cell from the rendered grid you will break the RadGrid layout.

Sincerely yours,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Neil
Top achievements
Rank 1
answered on 18 Oct 2010, 03:06 AM
Hi trupesh,
How are you able to pass one of the column value for a particular row to the stored procedure? Because I'm having problem in doing it.
Can you share the code?
Thanks!
0
Radoslav
Telerik team
answered on 20 Oct 2010, 10:10 AM
Hi Neil,

Please check out the following help article which explains how to access RadGrid's cells and rows:
http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html

I hope this helps.

All the best,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
truptesh
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Muhammad
Top achievements
Rank 1
Neil
Top achievements
Rank 1
Share this question
or