I have a TypeScript class definition that starts like this; module Entities { export class Person { private _name: string; private _possessions: Thing[]; private _mostPrecious: Thing; constructor (name: string) { this._name = name; this._possessions = new Thing[100]; } Looks like an array of type Thing does not get translated correctly [...] read more
I created a new ASP.Net MVC 4 project using the template in Visual Studio 2012. After upgrading to jQuery 1.9, the login functionality breaks. Specifically, I get the error > 0x800a138f - JavaScript runtime error: Unable to get property 'call' of > undefined or null reference at line 1172, column [...] read more
I am using the lastest version of Select2. Want to add an Insert New button at the end of the dropdown list. I tried these two solutions I found online Solution 1: $(".select2-drop").append('<table width="100%"><tr><td class="row"><button class="btn btn-block btn-default btn-xs" onClick="modal()">Add new Item</button></div></td></tr></table>'); Solution 2 $("#itemId0").select2("container").find("div.select2-drop").append('<table width="100%"><tr><td class="row"><button class="btn btn-block btn-default [...] read more
Without associating the app with the store, i can run and debug the cordova app on my devices (all works fine). But after associating the app with the store (or after built a package for the store), the app starts and i get a white screen, no errors in visual [...] read more
i have written a javascript code to compare 2dates from 2 textboxes function CompareDates() { var fdate = document.getElementById('txtFromDate'); var edate = document.getElementById('txtToDate'); var FromDate = fdate.value.split('/'); var EndDate = edate.value.split('/'); var val = 'false'; if (parseInt(FromDate[2]) < parseInt(EndDate[2])) { val = 'true'; return true; } else if (parseInt(FromDate[2]) == [...] read more
I have Developed a WCF Rest Service which returns dateTime. When I Run the Service in IE, Service is breaking and giving exception stating that > Unhandled exception at line 82, column 1840 in script block 0x800a138f - > JavaScript run time error: Unable to get property 'appendChild' of undefined [...] read more
When I start my project and it loads up my page, I get the following error: > 0x800a138f - JavaScript runtime error: The value of the property '$' is null > or undefined, not a Function object. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="WebsiteTest.TestPage" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Web [...] read more
I wrote a javascript code to display the next date of a specific calendar My Function function verificaDataReferencia(mensagem) { if(document.getElementById("txtDataReferencia1Hidden") == null || document.getElementById("txtDataReferencia2Hidden") == null || document.getElementById("ddlDataPub") == null || document.getElementById("txtDataRefInfo") == null) var objtxtDataReferencia1Hidden = document.getElementById("txtDataReferencia1Hidden").value; var objtxtDataReferencia2Hidden = document.getElementById("txtDataReferencia2Hidden").value; > Breakpoint var objtxtDataArquivo = document.getElementById("ddlDataPub").value; var mensagem [...] read more
I'm trying to load json data (retrieved from a Web API ajax call) to a jQuery DataTables, but I am getting the following error: > Unhandled exception at line 38, column 314 in > https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js > > 0x800a138f - JavaScript runtime error: Unable to get property 'length' of > undefined [...] read more
When I try to create a media folder inside the presistent folder of a windows 10 cordova app I'm getting the following error when debugging with Visual Studio in the JavaScript console: Exception is about to be caught by JavaScript library code at line 314, column 13 in ms-appx-web://appname/www/cordova.js 0x800a138f [...] read more
Looked up several "Answers" to this problem, but it was mostly just people not treating the result returned by getElementsByName() as a NodeList! Edit: I am trying to hide/show elements based on an element being clicked. I could hardcode this using document.getElementById and just add one everytime I have an [...] read more
I am using Datatables version 1.10.6. In jquery.dataTables.js i am getting above error. 0x800a138f - JavaScript runtime error: Unable to get property 'mData' of undefined or null reference. $.each( _fnGetRowElements( oSettings, rowOne[0] ).cells, function (i, cell) { var col = oSettings.aoColumns[i]; if ( col.mData === i ) {// this line [...] read more
In my application I have an instance of a CKEditor. While the user is entering text into the editor the first latter should be in uppercase. For that I wrote a jQuery keydown event handler, like this: $(document).ready(function () { CKEDITOR.instances.CKEditor1.on('contentDom', function () { CKEDITOR.instances.CKEditor1.document.on('keydown', function (event) { if (this.selectionStart [...] read more
I have got an old ASP.NET web page. When I press F5, Visual Studio is giving me error: > 0x800a138f - JavaScript runtime error: Unable to get property 'txtAppl' of > undefined or null reference. HTML page, <%@ Page Language="C#" Debug="true" %> <script runat="server" src="uzpo2003_tbbuild.cs"></script> <html> <head> <title></title> <script type="text/javascript" [...] read more
When I'm building javascript app for Cordova Windows 10 Mobile and debugging with Visual studio 2015 (but before, running module bundling from webpack config, i.e. webpack --bail --progress --profile using Task Runner Explorer addon), app most of the time builds and deploys, so I can run it and see the [...] read more
I want to prepare some Json Store before processing to callParent(), then it throws an error. However, me.callParent() works fine outside without async callback. Ext.define('My.desktop.AppExt', { extend: 'Ext.ux.desktop.App', someStore: null, init: function() { var me = this; me.someStore = Ext.create('My.store.SomeStore'); me.someStore.load({ scope: this, url: 'some/json/url', callback: function(records, opt, success) { [...] read more
In attempting to add a row to the jquery DataTable I am do the following: //add new status row to the DataTable $('#errorTable').dataTable().fnAddData( [ id, msg, tm ]); I used to use the code below table.row.add([...]) to add a row - and it did work for awhile however all of [...] read more
I am getting below mentioned error in my jQuery function: var timer = document.getElementById(id); var pdays = timer.querySelector('.days'); var phours = timer.querySelector('.hours'); var pminutes = timer.querySelector('.minutes'); var pseconds = timer.querySelector('.seconds'); > 0x800a138f - JavaScript runtime error: Unable to get property 'querySelector' > of undefined or null reference Please suggest to [...] read more
In C# I can write event handlers as follows: var wdApp = new Microsoft.Office.Interop.Word.Application(); wdApp.DocumentBeforeSave += (Document doc, ref bool saveAsUI, ref bool cancel) => { //do stuff here }; In VBA/VB6, I can use static event handling: Dim WithEvents wdApp As Word.Application Private Sub wdApp_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI [...] read more
New information! The problem I describe below occurs only with Microsoft Internet Explorer. All others that I tested behaved as they should. Even Microsoft Edge handled it just fine. A lot of people use IE, so perhaps somebody knows a way to deal with the following problem: A page in [...] read more
I have a very old asp.net application that uses C# .Net and JQuery Mobile, and I need to add 1 feature: Export a list of data to a csv file. Thus far, I have the UI stuff sorted out. I have a jquery button that passes a parameter in the [...] read more
I am trying to print a specific part of my application. My div. It works in html single page, but not in my application. My page is in ASP.NET and c#, but as I could not embed the function in C#, i am trying through javascript. However, there is a [...] read more
I have created the Rad window for in the aspx page and in the button click method i have written the code for opening the radwindow in VB.Net but im getting an error and window is not opening. radWinChCode.NavigateUrl = "buildchrcd.aspx?BU=" & strBU & "&USER=" & strChgCdUser & "&HOME=N&FROMRAD=RAD" radWinChCode.OnClientClose [...] read more
i tried to convert uploaded excel file to JSON model data using client side model not server side, but i'm unable to convert excel file to JSON data bcz. > 0x800a138f - JavaScript runtime error: Unable to get property 'SheetNames' of > undefined or null reference. here is that url: [...] read more
I am using YADCF Datatable with ASP:GridView. Everything including column level filter is working as expected when there is some data available into Datatable. But facing issue in below mentioned case - 1. GRIDVIEW without any data: Sometimes as per query, Oracle not returning any row. In this case YADCF [...] read more
I have a jQuery data table and use ajax call to populate it. Data in a C# datatable is converted to JSOn string in a web method API and the result is passed to data table. It works fine when I have a couple of thousand rows of data but [...] read more
I get this error message "Cannot read property '0' of undefined google chart" when i load my 2 graphs and it only occurs when i load my page for the first time. If i click F5 on chrome they load properly. If i resize the browser they appear load properly. [...] read more
I have been looking online for a Watermark effect for my textboxes to get some help and found a piece of code which looks like the following : Javascript: function WaterMark(objtxt, event) { var defaultText = "Username"; var defaultpwdText = "Password"; // Condition to check textbox length and event type [...] read more
Hi have a Listview that I populate with alphabet letters. When a letter is clicked it looks for the first word in the checkbox list that starts with the alphabet letter. The value of the checkboxlist is then used as the parameter to which I have to scroll to. I [...] read more
I have a text box with an ajaxToolkit:calendarextender attached to it. I also have an OnTextChanged="do something" with an AutoPostBack=true. I only want my user to be able to enter data into a textbox by using the calendar extender. I've tried setting the readonly property on the textbox to true. [...] read more
I am trying LightSwitch for the first time, and after making a new HTML C# App - I tried to run it just to see what it looks like. IE9 freezes immediately and I get this error from Visual Studio 2013: Unhandled exception at line 5, column 19701 in http://localhost:49609/HTMLClient/Scripts/msls-2.5.1.min.js [...] read more
I'm developing a project where I fill an HTML table using datatables and a JSON returned from my server, which originally is a list of a class. The code is the following one for each element: Table HTML: <table id="tablaDetalle2" class="display" role="grid" aria-describedby="example2_info"> <thead> <tr> <th>id</th> <th>idFlight</th> <th>idSample</th> <th>import</th> </tr> [...] read more
I'm using Visual Studio 2015 to develop an asp.net webform. I'm new to SignalR and I'm trying to get the demo piece to work in an existing site. When I create an html page it works fine: <!DOCTYPE html> <html> <head> <title>SignalR Simple Chat</title> <style type="text/css"> .container { background-color: #99CCFF; [...] read more
I'm creating a rule on a text input, but getting an error when the rule gets created. The error says > Unhandled exception at line 147, column 4 in > https://localhost:44368/Scripts/jquery.validate.js 0x800a138f - JavaScript > runtime error: Unable to get property 'settings' of undefined or null > reference" which is [...] read more
Using D3 javascript to create a force directed network visualization. Why do I keep receiving the same error message (as follows) everytime I try to run the code (which I am testing to learn how it actually works) using Visual Studio 2013: > Unhandled exception at line 62, column 5 [...] read more
i create a sample mvc application to test file upload i read this useful post and do it but client validator works not and gives me error my all codes are: i attached these in heder tag: <script src="~/Scripts/jquery-1.8.2.min.js"></script> <script src="~/Scripts/jquery-ui-1.8.24.min.js"></script> <script src="~/Scripts/jquery.validate.min.js"></script> <script src="~/Scripts/jquery.validate.unobtrusive.js"></script> <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script> my model: public [...] read more
I have a DataTable. When I set it, I get no errors, the table is properly generated, but then whenever I resize the window, I'm getting this error: > 0x800a138f - JavaScript runtime error: Unable to get property 'style' of > undefined or null reference I don't think I can [...] read more
We are developing an Outlook add-in using angular. The add-in works on IE11, Edge, Chrome and Safari, but on Windows Outlook desktop app versions (< 1903) which use IE11, it shows an empty screen. Here is my pollyfills file: /*************************************************************************************************** * BROWSER POLYFILLS */ /** IE10 and IE11 requires the [...] read more
I am a new user and have not been able to find an example demonstrating what I'm trying to accomplish. I need to use the same Kendo.DropDownList in two different contexts, but must update one attribute [.Name("DisbursedTo")]. At first I used a hide/show approach with two separate ddl's. It worked, [...] read more
I'm using jquery.validate.min.js and jquery.validate.unobtrusive.min.js in an MVC 5 app. I'm trying to validate in a modal form. The Fields are not model bound. I’m having an issue with unobtrusive validation. I get this error. Unhandled exception at line 779, column 4 in http://localhost:60667/Scripts/jquery.validate.js 0x800a138f - JavaScript runtime error: Unable [...] read more
I'm newly developing office Add-Ins. I was able to create an Excel add-in using visual studio 2019 with Office / SharePoint development workload (JavaScrip APIs). On the other hand, I'm trying to execute this example:https://github.com/lindalu-MSFT/Excel-Custom-Functions#prerequisites The point is: Executing the solution, the excel runs but there is an error on [...] read more
When I debug my project it creates a sharepoint app in the sharepoint site collection where i specify all the fields necessary and in between, I get the following errors. 0X800A138F - JAVASCRIPT RUNTIME ERROR: THE VALUE OF THE PROPERTY '$' IS NULL OR UNDEFINED, NOT A FUNCTION OBJECT. $(document).ready(function [...] read more
When I try to save a basic HTML to PDF using jsPDF, I get an error when trying to save. The error I get is "Unhandled exception at line 3648, column 11 in https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.debug.js 0x800a138f - JavaScript runtime error: Object expected". What am I missing? I tried adding FileSaver, but [...] read more
I am embedding a PowerBI report in IE using ExtJS .Net, but I am receiving the following console error: "Unhandled exception at line 6, column 1859 in http://localhost:55020/scripts/powerbi.min.js 0x800a138f - JavaScript runtime error: Unable to get property 'getRandomValues' of undefined or null reference" function getRandomValue() { // window.msCrypto for IE [...] read more
When I click on Report Viewer print icon and change page size in the below popup throws an error in IE. But I can break the exception & continue. But need to fix this issue. Issue is like the following. Unhandled exception at line 1429, column 17 in http://localhost:1069/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=15.0.1400.0&Name=ViewerScript 0x800a138f [...] read more
Unhandled exception at line 1, column 135529 in http://localhost:12719/bundles/MsAjaxJs?v=j9o3qlKdc_Bj_LUejHQUBA53P8zxsxFJpe4eufPsc6I1 > 0x800a138f - JavaScript runtime error: Unable to get property > 'PRM_ParserErrorDetails' of undefined or null reference I am emulating IE8 from IE11. I am using .net 4.5.1 with the default webform template. I was requested to support IE 8. The [...] read more
Has anyone ever seen this error on Windows 7? The majority of help with this error code is for Windows Update, but it just means a resource isn't found. I started task manager and could see the PC had been up for 4 days, which isn't a big deal for [...] read more
I've recently upgraded to the latest version of CKEditor 4, and have hit this exception which I can't seem to solve: Unhandled exception at line 5, column 105 in file:///ScriptsLibrary/ckeditor/plugins/pastefromword/filter/default.js 0x800a138f - JavaScript runtime error: Unable to get property 'styles' of undefined or null reference This exception arises from the [...] read more
I have an Angular project that I am trying to incorporate into a Universal Windows Platform (UWP) application. I have tested the Angular code in my web browser, and all works as expected there. When I try to run the Angular application, that is housed with-in the UWP app bundle, [...] read more
I need to return a model from mvc 5 controller via an ajax call, in a ObjectArray format which can be iterated as a key value pair. I've tried stringify and 'toJSON' and @HTML.raw and serializing the model on the controller side or using cast to Json on controller side, [...] read more
I had a radbutton in my code and a confirm popup message.The message worked fine with the radbutton.My requirement changed and I replaced the radbutton with image button and still need a confirm popup message.I get the following error, 0x800a138f - JavaScript runtime error: Unable to get property 'set_cancel' of [...] read more
I have a new Angular app. If I run it using 'ng serve' then I don't appear to have any errors, if I run it within Visual Studio 2017 then I get lots of errors in the debug output window, e.g Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 137.0021ms 404 text/html; charset=utf-8 Exception [...] read more
BACKGROUND I have been asked to upgrade a 10-years-old ASP.Net 2.0 web application project to the latest .Net framework and Visual Studio solution. The project must display a series of SQL Server Reporting services reports via the ReportViewer web control. So, I have upgraded the project to use .Net Framework [...] read more
I have documents stored in NAS network. Now I want to print those documents using javasrcipt in Internet Explorer Edge. Below is the code which I am trying to execute but its not able to print <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebPrintTest.Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> [...] read more
I am getting the following error message when the Ajaxcontroltoolkit ver. 15.1.4.0 fileupload control is used on a vs2013 web application project with net 4.5. 0x800a138f - javascript runtime error: unable to get property cannotdeserialuzeinvalidjson of undefined or null reference Please help read more
I'm making an ajax call like this below where I'm returning a view like this return View("Finish"); This has the entire html page as a string as the response, so I want to replace the page with it, but when I do I receive an error > Unhandled exception at [...] read more
I am running into the below error when using the jquery-ui datepicker. > 0x800a138f - JavaScript runtime error: Unable to set property 'currentDay' of > undefined or null reference I have read online that this is because of html tags with duplicate IDs. I am currently hiding/displaying the divs/inputs with [...] read more
In chrome I got the follow scenario working: I have a webpage with multiple tabs inside it and one of them includes showing pdfs using pdfjs. When I run chrome everything is fine. In IE11 I have the following issue. When I looked at the pdf tab and load another [...] read more
I am having problem displaying the processing message in a jQuery data table. I looked around for this issue and followed all suggestions to no avail. Only one suggestion works but partially. I tried: var tblFacCert = $("#tblFacCert").on('processing.dt', function (e, settings, processing) { if (processing) { if ($('#imgLoad').length == 0) [...] read more
I am having issues iterating through the Object returned by the controller in C# MVC framework in my AJAX script. Ajax script: function getRName(obj) { $.ajax({ url: 'resourceNamePopup', method: 'post', data: { "search": obj.value }, dataType: 'json', success: function (data) { alert('success'); $.each(data.items, function (items) { alert(items.displayName); }); } }); [...] read more
I have created a Knockout custom binding to format dates using moment.js. ko.bindingHandlers.dateStringValue = { update: function (element, valueAccessor, allBindingsAccessor, viewModel) { var value = valueAccessor(), allBindings = allBindingsAccessor(); var valueUnwrapped = ko.utils.unwrapObservable(value); if (valueUnwrapped === null) { ko.bindingHandlers.value.update(element, valueAccessor, allBindingsAccessor, viewModel); $(element).val(""); } else { ko.bindingHandlers.value.update(element, valueAccessor, allBindingsAccessor, viewModel); [...] read more
This is the my script on how to load data to datatables. $('#btnRoster').click(function(e) { $('#dataTable').dataTable().fnDestroy(); e.preventDefault(); $.ajax({ url: '@Url.Action("GetRoster", "Home")', type: 'GET', dataType: "json", success: function(response) { var table = $('#dataTable').dataTable({ data: response, columns: [{ 'data': 'Id', 'sClass': 'hidecol' }, { 'data': 'Name' }, { 'data': 'Project' }, { 'data': [...] read more
I just created a Word Add-in in Visual Studio 2015. I did not make any code changes. When I run it (in Word 2016 x86) and click on the ribbon button, the add-in loads correctly in the task pane but i get the following errors in the console: > 'iexplore.exe' [...] read more
I'm trying to display a local file in my computer using <iframe>. If I add the file as an existing item to my project it works great but if I add the path of my local file (to <iframe> src) it doesn't work. I tried creating the file as txt [...] read more
I have been working on a Web Forms Application project. After the recent Windows 10 update, I'm getting following JavaScript error in IE. It works fine Chrome. > Unhandled exception at line 545, column 2 in http://localhost:59508/ > 0x800a138f - JavaScript runtime error: The value of the property > 'WebForm_AutoFocus' [...] read more
I have built a common error dialog function to get a common look and feel for my dialogs. I call that function from within the $.ajaxSetup.error function without issue. I have one button added through the call on the dialog. My button will close the dialog and the X in [...] read more
I have tried using the normal links that would work in a basic mvc project, as well as links similar to what I see in the pages the views but I seems to be getting an error that is only resolved when I add the view as a menu item [...] read more
I have been receiving this error within jquery: Unhandled exception at line 422, column 4 in http://localhost:59307/lib/jquery/dist/jquery.js 0x800a138f - JavaScript runtime error: Unable to get property 'length' of undefined or null reference occurred This is displayed within this jquery method: grep: function( elems, callback, invert ) { var callbackInverse, matches [...] read more
I´ve searched for a solution but I didn´t clearly understand the reason why its not working. Could you please help me ? This is my code, it throws a Table undefined error, when I change var data = window.table.row($(this)).data() , to var data = window.table.row($(this)).data() , the error changes to [...] read more
I have this problem in using application insights, the same started yesterday 08/29/2017, I already identified that occurs in the application frontend in the use of the script that is inserted in the masterpage. var appInsights = window.appInsights || Function (config) {function r (config) {t [config] = function () {var [...] read more
In Function when i use .checked then it stop working & generate below Error. Currently im using Visual Studio 2015.Please Help function GenderValidation(sender , e) { var male = document.getElementById('RadioButton_male').Checked; var female = document.getElementById('RadioButton_female').Checked; if (male == true || female == true) { e.IsValid = true; } else { e.IsValid [...] read more
I want to add globalization because the site asks the user for a date. And my german user want to type "31.12.1966" and not "1966-12-31". So I add the nuget-Packages "jQuery.Validation.Globalize" and "jquery-globalize" to the project. Now I am not able to configure my BundleConfig! From my research I know, [...] read more
I'm working with Cordova barcodescanner plugin. When I press a button to open the scanner, it works. But When I click the button to close, it guives me an error and crashes the app. On android that button don't appear and if I press back button, it returns to app. [...] read more
I have a html input for uploading a picture to my ftp, and I want my JS the detect changes on my button. My cshtml is: @using (Html.BeginForm("UploadFile", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" })) { <input id="uploadFile" placeholder="No file..." disabled="disabled" /> <div class="fileUpload btn btn-primary"> <span>Browse</span> <input id="uploadBtn" [...] read more
I am getting the below mentioned exception while i am trying to add a rule to a Radiobutton List by calling rules() method. Unhandled exception at line 3747, column 3 in http://localhost:XXXXX/Scripts/jquery-2.2.3.js 0x800a138f - JavaScript runtime error: Unable to get property 'jQuery223064526755237397352' of undefined or null reference I have used [...] read more
Considering a single line of markup in an .ASPX file as follows: <asp:DropDownList ID="drpdownPayPlan" runat="server" onchange="javascript: document.getElementById('txtPayAmount').value = document.getElementById('drpdownPayPlan').value.replace(',', '');"> May I keep my embedded JavaScript handler code and how? I understand there are lots of other issues when porting a WebForms application to ASP.NET MVC, but I'd like to [...] read more
I am using jSViews and getting data back via JSON and then linking to the template. The template shows the data I am sending it, however I have a simple post template with an array of comments. If I try and check that the length of the array is greater [...] read more
Am getting an error when i run my site in IE (local host) the error is as follows: Unhandled exception at line 1440, column 9 in eval code 0x800a138f - JavaScript runtime error: Unable to get property 'top' of undefined or null reference If there is a handler for this [...] read more
Unable to implement FullCalendar into ASP.NET MVC4 application getting: 0x800a138f - Microsoft JScript runtime error: Object expected I got the code from the website but am getting the above error. Here is the code: { ViewBag.Title = "Calendar"; } <link rel='stylesheet' href='Content/fullcalendar.css' /> <script src='lib/jquery.min.js'></script> <script src='lib/moment.min.js'></script> <script src='fullcalendar/fullcalendar.js'></script> <h2>Calendar</h2> [...] read more
I get the following error: > 0x800a138f - JavaScript runtime error: Unable to get property 'activate' of > undefined or null reference when running the following line of javascript in my UWP App: Windows.UI.Xaml.Window.activate(); Windows.UI.Xaml.Window.current.activate(); or Windows.UI.Core.CoreWindow.activate(); API Reference, Handle app activation Doc read more
I am trying to create a Settings Value for my UWP-JS App on Startup. I am following this Documentation. Here is what I've currently got: (function () { "use strict" //Initialization var localSettings = Windows.Storage.ApplicationData.current.localSettings; // Save value localSettings.Values["exampleSetting"] = "example"; // Retrieve value $('p').text(localSettings.Values["exampleSetting"]); })(); When I start the [...] read more
please consider the following code, consisting of 3 simple classes, where I try to use a static class variable of a "common" class to initialize a static class variable of two other classes (to make sure they both use the same value). I'm using AMD in my project settings as [...] read more
I have been struggling with this function for the past hour now and i am not sure what is going wrong, I have a function that needs to call a controller action and populate a dropdown, the code seems to fail on the line where I declare the url, it [...] read more
I have the following code in my visual studio and it works perfectly well au a UWP app on my desktop win10, albeit it does not work on my windows phone as a UWP app. I also tried running my simple webapp as from a webserver and loading it in [...] read more
I have a requirement for a user to be able to upload a photo of an item when creating a new record. Fine easy enough, what I'm having trouble with is previewing the upload before submittal Here is what I have so far which runs all apart the last line. [...] read more
I'm getting this error in Internet Explorer: > Unhandled exception at line 1, column 106 in > http://localhost:50981/Scripts/bootstrap-image-gallery.min.js > > 0x800a138f - JavaScript runtime error: Unable to get property 'Gallery' of > undefined or null reference I am using bootstrap and blue imp gallery in my website project. I've tried [...] read more
I want to create jQuery behind the code in VB.NET and I want that code be execute each time when I change a value in my TextBox. For now I created method which is creating my function and that code look like this: Sub jQueryInsert() Dim strConnString As String = [...] read more
I have an input file control which I want to use to select a .csv file. I have been trying to add an event listener to the control so that a function 'csvFileSelected' is called when a file is selected. However, whenever my app tries to add the event listener [...] read more
I am developing an angular application. The application is working fine in Chrome but in IE( I am using IE11) I am getting the following error. Unhandled exception at line 2930, column 1 in http://localhost:54896/Scripts/Angular/angular.js 0x800a138f - JavaScript runtime error: Unable to get property 'prototype' of undefined or null reference read more
I am trying to write a functionality where if we pass the scope and template, it should show the given template in a jQuery UI dialog with the all working bindings from the given scope. Here is the code: HTML <div id="mainDiv" ng-controller="myCtrl"> <input type="button" value="show dialog" ng-click="showTemplateDialog()" /> </div> [...] read more
Error: 0x800a138f - JavaScript runtime error: Unable to get property 'setApiKey' of undefined or null reference Hello I'm desperatly trying to get this to work on my Universal Windows App. There is a sample for Googles URL shortener with instructions on how to use the API. https://developers.google.com/api-client-library/javascript/samples/samples All of this [...] read more
Edited: make sure to add '' surrounding the control you're adding to the Javascript function call. I'm working with Asp.net textbox controls and setting a character countdown in a span tag. When I set did this as a jquery referencing the specific controls it worked fine. However, given that I'll [...] read more
Is Fullcalendar v2.6.0 able to work on jQuery-3.3.1 and MVC 5? I have an old project which needs to be upgraded. I am using Visual Studio 2017 with jQuery-3.3.1, MVC 5.2.4 and moment.min.js 2.24 to recompile it, but I always got an error when I use IE 11: > Unhandled [...] read more
I am trying to run this code but I don't know why error comes with jquery when I select any item in the list here is the code <form name="myform"> <table> <td> // green underline in this line of the <td> <select name="one" onchange=" if(this.options[this.selectedIndex].value == '1') { document.myform['b'].style.visibility = [...] read more
I am trying to create a multidimensional array in javascript. The following code generates the following error: 0x800a138f - JavaScript runtime error: Unable to set property '0' of undefined or null reference var data = [["Timestamp", "kWh Produced", "kWh Used"]]; data[1][0] = "test"; I assume that I need to somehow [...] read more
I'm trying to get the row index of my checkbox, the current code i can get the checked value of the checkbox. the closest doesn't work and i'm stack. If i check a box on grid row 1 an alert should shows 1 $(":checkbox").change(function () { if ($(this).is(':checked')) { var [...] read more
I am trying to parse out all keys from a json data. <script type="text/javascript"> $(document).ready(function () { $.ajax({ type: "POST", url: "History.aspx/GetFTEData", dataType: "json", contentType: "application/json; charset=utf-8", success: function (data) { var returnedstring = data.d; var colHeader = Object.keys(data[0]); <---- error line } }); }); </script> However, var colHeader = [...] read more
I currently have a GridView and I'm trying to add a button. I'm able to add it but when I click on it I get this weird error on this line. if(c.mData===a){var d=u(b,"sort")||u(b,"order"),e=u(b,"filter")||u(b,"search"); Error: > Unhandled exception at line 91, column 426 in > http://localhost:23549/Scripts/jquery.dataTables.min.js > > 0x800a138f - Microsoft [...] read more