I have a razor view that has an igGrid on it which works fine. I have a button which opens a jQuery window and loads a partial view with an igGrid on it. No matter what options I select, I keep getting a "stack overflow" error before the grid calls the server to get the data to populate the grid. If I make the partial page a regular view then the grid loads successfully. Also if I load the partial page in a dialog on a page that doesn't have an igGrid, then it loads successfully. I also tried to reload the infragistics js files or not and that doesn't matter. Here is the partial page razor code:
@(Html.Infragistics().Grid<StudentModel>()
.ID("StudentGrid")
.AutoGenerateColumns(false)
.Columns(column => {
column.For(c => c.LastName).DataType("string").HeaderText("Last Name").Width("200px");
})
.DataSourceUrl(Url.Action("GetStudentSearchData_Ajax", "Class"))
.DataBind()
.Render()
)
Any help would be appreciated.
Hello rhultin,
I am just following up to see if you need any further assistance with this matter.
Feel free to update me if you have any further questions with this matter.
In order to look in to this matter, provide us more details on the error you are getting along with the Razor model that shows grid in dialog window.
Hi,
could you give some details about this error, where exactly in the code are you getting it ? I assume you're using Firefox to check this
Thanks,
Angel