Html changes are not updating
Did a silly mistake when I updated a MVC website the other day. I did some css and html changes but that didn’t seem to be updated when I hit F5 in the browser. It only become updated when I…
Did a silly mistake when I updated a MVC website the other day. I did some css and html changes but that didn’t seem to be updated when I hit F5 in the browser. It only become updated when I…
Unable to process the type ‘ClassName[]’, because it has no known mapping to the value layer. Problem shows when trying to assign a null value to a IEnumerable<> , like: var test = context.Where(x => x == 1) .Select(x =>…
Made a time execution comparison between a usual syncronous, asynchronous and a threaded method call with delegates. //Declare delegate public delegate void DelGetList(List<int> lista, string tName); //Create delegate handler DelGetList delReporter = ReportList; //Init method private void Init() { TestThreads();…
public void Test(Color foreColor = Color.Black) doesn’t work (error message Default parameter value for ‘parameter’ must be a compile-time constant) beacause Color.Black isn’t a constant value (Color is a struct). Solution: public void Test(Color? foreColor = null)
Checkout the new MVC!
Arbetat med en app till korkortsteori.se och suttit hela dagen och fäktats med en mobilapp skapad med Phonegap / Cordova. Uppgraderade Cordova till version 3.6.4 samt plugins’en (datepicker, childbrowser och progressdialog). Men vid start poppar felmeddelandet: [Error] Error initializing Cordova…
En klassiker =) , artikeln är från tidningen SAF (1999).
Gillar ju att testa kodexekveringstider då det känns dumt att göra en sak som tar 10 sekunder när det går att göra på 3. Så var lite nyfiken på skillnaderna när det gäller att serialisera och deserialisera strängar och objekt.…
Haft ett problem under ett par dagar där ett ajax get request returnerat status 0 (dvs ingen kontakt) mot en intern server (kan alltså inte nås utanför nätverket), i en Android app som använder jQuery Mobile och PhoneGap. Trots att…
Haft problem i Windows explorer ett par dagar där ikonerna blivit svarta fyrkanter. Hittade äntligen lösningen på detta irriterande problem. Tydligen så caches ikonerna i Windows och sparas till en lokal databas på användarprofilen. Om man helt enkelt tar bort…
In some cases it’s good to customize the autocomplete for a control. For instance if you want a bold font at row 5 or different background colors according to the items. It is also possible to customize the response output…
Roger Federer har visst börjat spela med nytt rack.