42 items found in the Razor Category
A CKEditor File Browser For ASP.NET Web Pages
Mikesdotnetting
-
16 May 2013 14:00
CKEditor is one of the most popular rich text editors available. Out of the box, there is no file browser to help with selecting images, but you can purchase an add-on from them - CKFinder. Alternatively, you can build your own file browser component.
Click to read more about A CKEditor File Browser For ASP.NET Web Pages ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 2861 times
Adding A Footer To The Razor WebGrid
Mikesdotnetting
-
25 February 2013 19:43
Whether you are using the Razor WebGrid in an ASP.NET Web Pages site, or an MVC application, you may well want to display tabular data at some point in which case you are likely to turn to the Razor WebGrid helper. And if you want to do that, you might also want to add a footer to the rendered table. Here are some ways that you can accomplish that task.
Click to read more about Adding A Footer To The Razor WebGrid ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 5617 times
Razor Web Pages E-Commerce - Adding A Shopping Cart To The Bakery Template Site
Mikesdotnetting
-
15 February 2013 19:31
The ASP.NET Web Pages Bakery template site is designed as a starting point for a site that displays products. It also features an order form for customers to specify a quantity for a specific product and provide their shipping address. The site doesn't provide for multiple product selection. If you want a shopping cart for the Bakery site, you need to create it yourself. This article looks at the design considerations behind an effective shopping cart, and shows how to build one.
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 4446 times
Practical Recursion in ASP.NET Web Pages with WebMatrix
Mikesdotnetting
-
22 January 2013 14:44
Recursive methods are those that call themselves, and they can be applied to solve a number of common practical problems, particularly ones that involve the management and display of hierarchical data. This article explores some of those scenarios and shows how to design recursive helpers and functions that can be used in Web Pages sites.
Click to read more about Practical Recursion in ASP.NET Web Pages with WebMatrix ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 8093 times
SignalR And Knockout In ASP.NET Web Pages Using WebMatrix
Mikesdotnetting
-
27 December 2012 20:17
SignalR is a library that simplifies the creation and management of persistent connections between web servers and clients. This facilitates the development of applications that can display updates to data held on the server in real-time. Chat applications are the most obvious beneficiaries of this technology, but line-of-business applications that need to report availability to users can benefit too. Here, I look at extending the canonical SignalR chat example to incorporate a "who's typing" feature, and I also extend my previous Knockout example to use SignalR.
Click to read more about SignalR And Knockout In ASP.NET Web Pages Using WebMatrix ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 17671 times
Exporting The Razor WebGrid To PDF Using iTextSharp
Mikesdotnetting
-
20 December 2012 13:31
This article looks at how you can provide your users with the ability to export the contents of a Razor Web Pages WebGrid to a PDF file using the popular free PDF library, iTextSharp.
Click to read more about Exporting The Razor WebGrid To PDF Using iTextSharp ...
Filed under:
iTextSharp
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 6996 times
Exporting The Razor WebGrid To Excel
Mikesdotnetting
-
17 December 2012 20:17
This article looks at how you can provide your users with the ability to export the contents of a Razor Web Pages WebGrid to an Excel file.
Click to read more about Exporting The Razor WebGrid To Excel ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 5230 times
Enhancing The WebGrid With Sort Arrows
Mikesdotnetting
-
14 December 2012 19:24
The Web Pages WebGrid offers sorting capability out of the box. However, it's not always obvious to the user on which column the grid data is being sorted at any one time, nor the direction in which it is being sorted. The convention is to provide arrows in the column header to act as a clear visual cue. This article looks at a three ways in which you can enhance your grids with sorting arrows.
Click to read more about Enhancing The WebGrid With Sort Arrows ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 5732 times
Inline Editing With The WebGrid
Mikesdotnetting
-
13 November 2012 10:37
Unlike the Web Forms GridView control, the Web Pages WebGrid doesn't offer anything by way of inline editing capability. This article looks at one approach to solving that requirement through the addition of a sprinkling of jQuery.
Click to read more about Inline Editing With The WebGrid ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 9891 times
Cleaner Conditional HTML Attributes In Razor Web Pages
Mikesdotnetting
-
23 October 2012 21:27
Every so often, you will want to conditionally render HTML attributes or their values within your Razor Web Pages based on the outcome of some runtime logic. Often, the logic required to manage this can become messy and lead to unnecessary spaghetti code. This article explores a few common scenarios and provides some solutions, as well as introducing a nice new feature that was released as part of Razor v 2.0.
Click to read more about Cleaner Conditional HTML Attributes In Razor Web Pages ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 7703 times
Validation In Razor Web Pages 2
Mikesdotnetting
-
14 June 2012 12:47
The new release of ASP.NET Web Pages - version 2 - doesn't include many obvious changes, but the most significant one is an enhanced Validation system. A couple of new classes have been introduced, and Web Pages validation now works with the MVC Unobtrusive jQuery validation library. This article explores the new validation system and sees what it brings to the party.
Click to read more about Validation In Razor Web Pages 2 ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 48128 times
Using Knockout With Razor Web Pages In WebMatrix 2
Mikesdotnetting
-
09 June 2012 11:40
Knockout is an increasingly popular JavaScript UI library. Its popularity is likely to increase among ASP.NET developers soon as it comes as part of some of the new MVC 4 site templates. This article looks at what Knockout is, what problems it is intended it solve and how to use it in an ASP.NET Razor Web Pages site built in WebMatrix.
Click to read more about Using Knockout With Razor Web Pages In WebMatrix 2 ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 12216 times
Efficiently Displaying Hierarchical Data With The jQuery Accordion In Razor Web Pages
Mikesdotnetting
-
03 June 2012 10:30
A frequent requirement is to display data hierarchically, such as products by category. This article shows how to use LINQ to Objects and the jQuery Accordion to display the result of a database query in such a fashion within Razor Web Pages.
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 9005 times
View Model Design And Use In Razor Views
Mikesdotnetting
-
26 May 2012 23:21
The recommended practice for transferring data to and from views in ASP.NET MVC is to use a View Model. But what is a View Model? How to you design one and how should they be used? This article attempts to provide answers to those questions.
Click to read more about View Model Design And Use In Razor Views ...
Filed under:
ASP.NET MVC
Razor
as
Tutorial
Viewed: 22898 times
More Flexible Routing For ASP.NET Web Pages
Mikesdotnetting
-
01 February 2012 21:52
The built-in Web Pages routing system offers a fair degree of freedom in terms of how friendly URLs can be constructed and managed. However, the major limitation with the standard routing mechanism is that it relies on matching segments of the URL to files on disk. ASP.NET MVC and Web Forms enjoy a much more flexible routing system. This article looks at a Package that brings full ASP.NET routing control to Web Pages and examines how to use it.
Click to read more about More Flexible Routing For ASP.NET Web Pages ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 14330 times


