Paging Made Easy with ASP.NET MVC 5, Entity Framework 6 and PageList.Mvc

Preface In former days, implementing paging sometimes took a little bit of time. That was independent from the used platform, native Windows Client or Web or whatever. Fortunately, that was then and this is now. Implementing paging in an ASP.NET MVC 5 Entity Framework 6 application really became simple. Just …

Handle Deactivated JavaScript in ASP.NET MVC Web Application

Preface Depending on what your ASP.NET MVC Web application is supposed to do, it might be necessary that the client’s browser has JavaScript support enabled. If this is not the case, maybe you want to make sure the user will be informed and cannot use the application. And because there …

Create a 1:1 Table Relationship using Entity Framework

Preface My database roots are pure SQL. When I create a database, I use an Excel sheet for documentation purposes, which creates SQL statements to build up the tables. Table relationships (parent / child) with foreign keys I do define by hand, like the good old craftsmen do. It’s simple …

Factory File Manager Available in Windows Store

Because of naming conflicts, we removed Instance Factory’s File Commander from the Windows Store. You can now find the app under its new name Factory File Manager. Factory File Manager is a side by side file management app. Multiple tabs can be created to manage different file locations within the …

“Device Not Functioning” Exception on Invalid PrimaryLanguageOverride Value in Windows Store Apps

Oh, what a title for a post. The correct title is “‘A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)’ Exception Occurs When Showing A TextBox and ApplicationLanguages.PrimaryLanguageOverride Is Set To An Invalid Value in Windows Store Apps on Windows 8.1“. Symptom Building the Factory Commander, …

Factory Commander Updated to Ver. 1.1.0.6

The Factory Commander was updated: Ver. 1.1.0.6: Fixed item #324 – app crashes when clicking the rename button and then a different item while renaming an item Ver. 1.1.0.5: Fixed item #322 – app might crash when renaming / copying / moving single item on machines with US region settings; …

Use Publicize.exe to Create Private Accessors for Visual Studio 2012+

Preface Starting with Visual Studio 2012, private accessors cannot be created any more by the IDE. The post Home-made Private Accessor for Visual Studio 2012+ presents an approach on how to create private accessors using the class Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject. Axel Mayer noted in the MSDN forums post How to create private …

IsTabStop Changes ListView ‘s Focusable Behaviour in Windows Store Apps

The Issue Using the Factory Commander, I noticed some strange behavior. I opened a folder with more items than can be displayed on the screen on the left side. Then I scrolled to the last item of the list and switched to the right list. There, I moved up or …

Position the PopupMenu for Drag And Drop Operations in Windows Store Apps

Preface Sometimes it is helpful to open a PopupMenu when the user drops items on a destination, e.g. to ask the user if the items should be copied or moved. I’d like to open the PopupMenu exactly where the user released the mouse / finger, means put the upper left …