Im working with Telerik controls in an MVC3 app. Every now and then, i’ll get a 500 internal server error or a 404 error. I get the 500 error when i click a tab on my Telerik tabstrip control. What im doing is very very simple. This is my partial view my tab will load:
@model MyModel
@foreach (var item in Model.Names)
When i run this, I get the 500 error. But i can do this and it’ll work
@model MyModel
<div>@Model.Names[0].First</div>
I get a 404 when using a grid in a tabstrip as well. I know chrome has some wonderful tools, i just dont know which ones to use. But I dont care which browser, how and what developer tools can i use to find out what’s causing these errors?
Try using FireFox firebug instead. It allows you to view the error response from the server. Also @Tomas Voracek in the comment has a good idea to turn off customErrors.