0

I followed the example from DevExpress Examples, which uses a List to bind both the Master and Child grids. This approach worked as expected. However, when I attempt to bind the grid using a DataSet or DataTable, I run into the following issues:

Issues: Error 1:

CS1061: 'MVCxGridViewDetailSettings' does not contain a definition for 'DetailRowTemplate' and no accessible extension method 'DetailRowTemplate' accepting a first argument of type 'MVCxGridViewDetailSettings' could be found.

Error 2:

CS1061: 'GridViewSettings' does not contain a definition for 'DataSource' and no accessible extension method 'DataSource' accepting a first argument of type 'GridViewSettings' could be found.

Additionally, when attempting to use AJAX to load the child grid dynamically, I encountered an issue where an alert was triggered, displaying an error. This error occurs when I attempt to expand the child grid via AJAX.

Are there any specific configurations or considerations when binding the MVCxGridView with a DataSet or DataTable for Master-Detail functionality? Is there a better approach for using AJAX to load child data dynamically without encountering the error?

I am working with the MVCxGridView control in an ASP.NET MVC project and trying to implement a Master-Detail functionality. However, I have encountered an issue when binding the grid with a DataSet or DataTable.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.