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

[Solved] "helper" cannot be null. Error while binding Grid

0 Answers 37 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.
Surendar S
Top achievements
Rank 1
Surendar S asked on 08 Aug 2011, 12:17 PM

Getting error message while registering style sheet in site.master to work with MVC application telerik controls.

 

Please find my trails code below:

1.

    <%

       

        Html.Telerik().StyleSheetRegistrar()   

            .DefaultGroup(group => group.Add("telerik.common.min.css")

                                    .Add("telerik.vista.min.css"))

                                    .Render();

        %>

2.

 

    <%=

       

        Html.Telerik().StyleSheetRegistrar()   

            .DefaultGroup(group => group.Add("telerik.common.min.css")

                                    .Add("telerik.vista.min.css"))

                                    

        %>

 

In the above scenarios I am getting below error message:

 

"helper" cannot be null.
Parameter name: helper

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.ArgumentNullException: "helper" cannot be null.
Parameter name: helper

 

Please help me on the same…………

Tags
Grid
Asked by
Surendar S
Top achievements
Rank 1
Share this question
or