After installing or updating to Visual Studio 2015, you may only have “Microsoft and .NET” as package source in the nuget package manager. To re-add the nu-get repository go to Tools/Options/NuGet Package/Manager and re-add the following under “Package Sources”: Name: nuget.org Source: https://api.nuget.org/v3/index.json
Month: February 2020
Sql Server sorting with a partial numeric field
Recently i came accross a database that stored customer numbers in a NVARCHAR field and wanted to sort on this value. By default this will not give you the order you want, since you will get a sort order like: 1 10 11 2 20 etc. This can be easily overcome with the CONVERT statement. […]
MVC – Making a popup editor element in asp.net mvc
This document demonstrates a way to present the viewer with a list of records, and use a popup window to edit the data. This is acomplished in MVC by using a viewmodel that contains the record list – and at the same time provides the data fields of an optional selected record. The popup by […]
ServerGuard (freeware)
ServerGuard is a simple Windows process monitor that will show you the processes that are running on your server, the owner and the load on the server they are causing. It was written to quickly visualize heavy load users and application on busy terminal server systems. You should run this tool as administrator to be […]
Populating a DX Treelist control from code or data
These samples will show the basic handling of the treelist control, to create a structure and react to clicks by the user. Used in this example is the treelist control from the DevExpress suit, but you can apply the same technique to basicaly any treelist control with minimal changes. The first example shows how to […]
Accordeon control
The accordeon control is part of the Ajax control toolkit and offers a series of tab-like sections, of which one is expanded at a time. Below is a minimal use sample of how to deploy the control. The ajax control toolkit can easily be installed from the NUGET menu within visual studio. Markup <%@ Page […]