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

[Solved] Script and Css problem using grid

0 Answers 96 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.
Maida
Top achievements
Rank 1
Maida asked on 17 Dec 2010, 02:38 PM
Hi
I'm using Telerik grid in my project, I followed the sample code given in demo example, everything is working fine, I can see data in grid, but grid show only text, I know there is some css missing, I have added all css files but still grid don't show in proper way.
and other problem is as  per the documentation I need to put the Script register in my site. Master[Html.Telerik().ScriptRegistrar()]  to render the UI component in a proper way. The problem is that it works in sample application since site. Master do not have any other scripts in Site. Master but in case of my application I have other scripts which I need to load.So after putting the script register the other xxx.js code is breaking the application and getting exception like Object does not support this property or method. Please suggest me some solution for the same.
I have other js files like

<script type="text/javascript" src="../../Scripts/jquery.min.js"></script>
<script type="text/javascript" src="../../Scripts/jquery.cycle.all.2.74.js"></script>
<script type="text/javascript">
        $(document).ready(function () {
            $('.slideshow').cycle({
                fx: 'fade'
            });
        });
    </script>   

Can I add these file in ScriptRegistrar? If I add two files I still get exception on the script function:
<script type="text/javascript">
        $(document).ready(function () {
            $('.slideshow').cycle({
                fx: 'fade'
            });
        });
    </script>   


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