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

jQuery("#MyGrid").tGrid is not a function.

1 Answer 93 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.
Jaydeep
Top achievements
Rank 1
Jaydeep asked on 19 Mar 2011, 10:55 AM
Hello, every one i am getting the error at Html.Telerik().ScriptRegistrar() as "jQuery("#MyGrid").tGrid is not a function.".
I attached the document file for all details and source code.
Help me plz..
Thanks in advance.

-Jaydeep Jadav

1 Answer, 1 is accepted

Sort by
0
Eugene
Top achievements
Rank 1
answered on 10 Oct 2011, 09:39 AM
Had the same problem:
@(Html.Telerik().ScriptRegistrar()...  call on the _LayoutPage
and ".tGrig in not function" on the view.

Problem cause: concrete ViewPage had duplicates of links (same links where on _LayouPage) like that:
 <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")"  type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery-ui-1.8.16.custom.min.js")"  type="text/javascript"></script> and other.

Removing link duplicates solved my problem.

Tags
Grid
Asked by
Jaydeep
Top achievements
Rank 1
Answers by
Eugene
Top achievements
Rank 1
Share this question
or