Just add RequiredFieldValidator = $telerik jquery error

2 posts, 0 answers
  1. Vincent
    Vincent avatar
    11 posts
    Member since:
    Feb 2016

    Posted 25 Mar Link to this post

    Hi from france !

    I work on new project, but i've blocked on problem :

    VS2019 / Vb.net/ Website Mode / Framework 4.5.2 / Telerik 2020.1.219.45

    i've got a page inside masterpage.

    a dropdownlist to select an element who open a radwindow, inside forms fields and a button to validate.

    no problem before this :

    just add an :

    <asp:RequiredFieldValidator ID="RfvObsPackPC" runat="server" ControlToValidate="tbObsPackPC" ErrorMessage="*" ForeColor="Red" Display="Dynamic" ValidationGroup="Initialisation" />

     

    and run my project and inside Chrome devTools this :

    Uncaught ReferenceError: $telerik is not defined
        at ScriptResource.axd?d=mbGZm65DzNC0tMTq0ElbcfgQg9QhhKE_A_eo6_zWKSae6yWkqNSe8JJA15xIuav2AV_Y2zgdPCRLCrC8diOGIZ_1yvmhllVOx2RnJnR1xgTm3UAQ8DL3vEoZghhTpIK5oZY8KfxseToiM-X2NywVKg2&t=ffffffffbc9408c6:8

    This ressource is contains :

    /*! jQuery v1.12.4 | (c) jQuery Foundation.............

    // Move jQuery to $telerik
    $telerik.$ = jQuery.noConflict(true); < here the error
    $telerik.$.ajaxPrefilter(function(s){if(s.crossDomain){s.contents.script=false;}});

     

    need help please, first time i've got this (first projet with this framework version and the last update telerik componant).

     

     

  2. Rumen
    Admin
    Rumen avatar
    14275 posts

    Posted 27 Mar Link to this post

    Hello,

    Please check out this forum thread on the matter https://www.telerik.com/forums/uncaught-referenceerror-$telerik-is-not-defined;

    Regards,
    Rumen
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top