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

Problem with @Html.Telerik().ScriptRegistrar()

0 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Saybabs
Top achievements
Rank 1
Saybabs asked on 15 Jun 2012, 10:10 AM
I have a problem using @Html.Telerik().ScriptRegistrar() in my application. Whenever i use it I get the following error|;

A circular reference was detected while serializing an object of type 'MVCFileUpload.Models.Module'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.InvalidOperationException: A circular reference was detected while serializing an object of type 'MVCFileUpload.Models.Module'.
 
Source Error:
 
 
 
 
 
Line 43:         </div>
Line 44:     </div>
Line 45: @Html.Telerik().ScriptRegistrar()
I have tried all effort I can but to no improvement. How can I fix this bug?
All meaningful suggestions are welcomed.
Thanks in advance.
Tags
General Discussions
Asked by
Saybabs
Top achievements
Rank 1
Share this question
or