+1-888-365-2779
Try Now
More in this section

Forums / Project Feather / How to use JQueryUI in a custom MVC search result template

How to use JQueryUI in a custom MVC search result template

3 posts, 0 answered
  1. Ridhi
    Ridhi avatar
    11 posts
    Registered:
    31 May 2016
    15 Jul
    Link to this post

    I want to use the JqueryUI tabs feature on my custom search result template and I have included Jquery, JqueryUi and Jquery css but still the tabs dont seems to appear and the console is giving me errors in loading the script.

    I have included the scripts as follows:

    @Html.Script(ScriptRef.JQuery, "top", false)
    @Html.Script(ScriptRef.JQueryUI, "top", false)

    @Html.StyleSheet(Url.EmbeddedResource("Telerik.Sitefinity.Resources.Reference", "Telerik.Sitefinity.Resources.Themes.Basic.Styles.jquery-ui.css"))

    Can someone pls tell me what is wrong?

  2. Ridhi
    Ridhi avatar
    11 posts
    Registered:
    31 May 2016
    15 Jul in reply to Ridhi
    Link to this post
    One small update, the javascripts are loading fine, the css is throwing an error.
  3. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    17 Jul in reply to Ridhi
    Link to this post

    Hi Ridhi. The problem is that assembly  Telerik.Sitefinity.Resources.Reference.dll dont have resource "Telerik.Sitefinity.Resources.Themes.Basic.Styles.jquery-ui.css"

    I can't find jquery-ui.css inside sitefinity dlls. Looks like it doesn't exists and you need to include it from file

3 posts, 0 answered