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

[Solved] Telerik and Jquery together

0 Answers 28 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.
sabbir
Top achievements
Rank 1
sabbir asked on 18 Jul 2011, 04:34 PM
I am New in MVC,working on MVC2.I made up four or five pages.I have a page named ItemPurchase.aspx which has the following script tag..
    <script src="<%=ResolveUrl("~/Scripts/jquery-1.4.1.js")%>" type="text/javascript"></script>
   <script src="<%=ResolveUrl("~/Scripts/jquery-1.4.1.min.js")%>" type="text/javascript"></script>
   <script src="<%=ResolveUrl("~/Scripts/jquery-ui-1.8.11.custom.min.js")%>" type="text/javascript"></script>
   <script src="<%=ResolveUrl("~/Scripts/jquery.validate.min.js")%>" type="text/javascript"></script>
   <script src="<%=ResolveUrl("~/Scripts/Purchase.js")%>" type="text/javascript"></script>

In the Purchase.js ,Jquery UI like calender,Jquery Validation has been added.Purchase.js is working properly.
 The pages are working properly.But today when i add Telerik api i get the problem.Purchase.js and other .js files are not working
properly.when i add the following line in master page the pages are are not working.The line is
    <%= Html.Telerik().ScriptRegistrar()%>
</body>
Error.-$("#accordion").accordion is not a function.
what is the problem?it cannot recognize Jquery  $("#accordion").accordion() function.
i want to use both Telerik control and want to keep existing jQuery functionality.Please help me
Tags
General Discussions
Asked by
sabbir
Top achievements
Rank 1
Share this question
or