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

[Solved] Master/Detail not expanding when grid is on partial view rendered at run time with AJAX

0 Answers 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marc D.
Top achievements
Rank 1
Marc D. asked on 16 Feb 2011, 10:56 PM
My page has a drop down which allows the user ti switch between 2 modes for viewing the data. When the user selects a value the contents of a div replaced using AJAX (which call a controller function that return a partial view).

Both partial views have grids which hierarchical data (i.e Master / Detail). Everything works fine when the page is first loaded, clicking the row header expands and collapses it as it should. However after I use the drop down to change the view mode the row header stop working; when I click it the page just scrolls back to the top and the row is not expanded.

The grid is loading it's data on the server (i.e "Server Hierarchy" mode) and the data is all hard coded since this is a navigation prototype I am building.

Does anybody have any idea what is going on?

Thanks.
Tags
Grid
Asked by
Marc D.
Top achievements
Rank 1
Share this question
or