Script problem with IE and Telerik JS

2 posts, 0 answers
  1. Boris
    Boris avatar
    276 posts
    Member since:
    Oct 2012

    Posted 13 Jan 2015 Link to this post

    (Not sure which forum this belongs in.)

    I have an app which has Telerik Asp.Net references in all pages including the master pages.
    In my master page I have the usual RadScriptManager references to the Telerik jQuery js files.

    I have a start up routine that references an HTML input control (not an ASP.Net control, just <input type="button"... etc.  although it has runat='server')

    The JavaScript function itself is as follows:
       $(document).ready(function () {                                                                
            var hf = "<%= hfStartTimer.Value %>";
            timeoutButton = $get('btnTimeout');
            timeoutButton.style.visibility = 'hidden';
            if (hf == 'true') {                           
                timerHandle = setTimeout(function () {                             
                startCounter();
             }, "<%= hfTimeOut.Value %>");
          }
       })

    The problem is that this works perfectly in Chrome and Firefox but not in IE10 or 11.  It crashes.  The $get returns null for btnTimeout.

    Suggestions?
     
  2. Boris
    Boris avatar
    276 posts
    Member since:
    Oct 2012

    Posted 14 Jan 2015 in reply to Boris Link to this post

    My apologies.  Let's cancel this entry.  The problem was not exactly what I thought it was.

    I'll be posting a more relevant question later.  Thanks all.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top