Reflection IT Blog

Benieuwd naar de laatste ontwikkelingen rondom software ontwikkeling en Reflection IT? Onze slimme koppen delen regelmatig hun kennis en ervaring. Zo weet jij wat er speelt!

web tagged Blog posts

Paging in ASP.NET Core MVC and EntityFramework Core

29-Mar-2017 59 Comments

Paging, sorting and filtering are common features in websites. Microsoft has written a tutorial how to implement these features in ASP.NET Core MVC with Entity Framework Core. The described solution works but I found it a bit too primitive. It triggered me to create a more powerful solution. Before you can start using my solution you should first read this tutorial, it explains how you can add Entity Framework Core to an ASP.NET Core MVC application.

Windows 8 Javascript Tips - TypeScript support

09-Oct-2012

Microsoft announced TypeScript last week. TypeScript is a superset of JavaScript that combines type checking and static analysis, explicit interfaces, and best practices into a single language and compiler. It is an open source programming language developed by Microsoft. If you haven't investigated yet make sure you do. The related links below might help you.

What Microsoft didn't do (yet) is add TypeScript support to JavaScript Windows Store apps. In this blog I will explain how to add this support to Visual Studio so you can use TypeScript in all your Windows 8 apps.

ASP.NET ViewStateParameter

30-May-2007

I like the ASP.NET 2.0 DataSource controls. They are very flexible and easy to use. It has some great parameters like SessionParameter and ControlParameter. It doesn't have a ViewStateParameter. I have written it myself to fill this gap.

Playing with Ajax (Atlas)

27-Mar-2006

I have finally found some time to play with Ajax. I have built some simple Grid/Detail pages which are place inside an UpdatePanel. This server centric model is really easy and powerful. I have never really liked the user experience of web applications. Atlas will changes this and will make the WEB even more popular.

Have a look at the result demo site. I use the ObjectDataSource to bind to Buffy.NET BusinessObjects. It's so easy.

Move to ASP.NET 2.0

02-Mar-2006

I have finally rewritten this website to ASP.NET 2.0. It was really a good learning experience. You only learn it by doing it. I have tried to use the new features like:

It wasn't really difficult to do. Microsoft really kept their promise that 70% of the code could disappear. ASP.NET 2.0 rocks. I'm planning to add some extra features soon, like: WebParts, Health Monitoring, other new controls, comments on blog posts, a new stylesheet and a new logo.

Update 2006-sept-25: Added Google Sitemaps, Control Adapters and UrlRewritingNet.

InitialFocus on a ASP.NET WebForm

28-Apr-2004

The PageUtil class has a static method SetInitialFocus(control) which can be used to generate a JavaScript for an ASP.NET page (WebForm), which sets the focus on a (given) control.

        private voidPage_Load(objectsender, System.EventArgs e)
        {
            // Set the InitialFocus on TextBox1
            ReflectionIT.Web.PageUtil.SetInitialFocus(TextBox1);
        }

TextBox1: 

ASP.NET DataIslandGrid Control

01-Jan-2003

The standard ASP.NET DataGrid control is a great control. You can use it for many things, it even supports Paging and Column Sorting. Those last two option although work using postbacks to the server.

Internet Explorer 5.0 (and higher) support XML Client-side Data-Binding. This is a powerful DHTML feature which is not used in the .NET Framework. It allows.

The DataIslandGrid control is an ASP.NET grid which is bound to a DataTable in a DataSet. The DataSet is serialized and rendered to an Xml DataIsland. The Grid uses Tabular Data-Binding to the Xml DataIsland. This makes it possible to support client-side Column Sorting and Paging. The Column Sorting is implemented using a JavaScript and a StyleSheet in a second Xml DataIsland.

 

Get in touch

Met dit formulier kunt u informatie over een In-Company of Small-Group training aanvragen. U kunt in het bericht aangeven welke training u wilt, voor hoeveel personen, wanneer deze verzorgd moet worden en op welke locatie. Wij nemen vervolgens contact met u op.

U kunt ons ook bereiken via telefoonnummer +31 (0)493-688810 of per mail training@reflectionit.nl.