(Ged Mead) When the user selects an item in a ListView, that item is added to its SelectedItems collection. If you try and copy a ListViewItem from one ListView and immediately paste it into a second one, you’ll get an error.
Tag: Development
File and Folder Timestamps
(Richard Carr) Microsoft Windows maintains three timestamps for all files and folders. These are the creation time and the times that the item was last accessed and updated. These timestamps can be accessed and updated using the .NET framework.
Custom Action Filter in ASP.NET MVC
(Mahesh Sabnis) In MVC, filters play a very important role. Filters are used to inject an extra logic into the MVC request processing. Typically in an MVC application, we make use of filters to define logic which is used to apply add-on functionality to the application e.g. defining authorization, c
An Introduction to testing with the Model-View-Presenter pattern for Web Forms Development
(S. Ravi Kiran) A lack of complete code testability means that ASP.NET Web Forms is becoming less popular in enterprise-level web applications. Ravi looks at using the Model-View-Presenter pattern to enable complete test coverage in Web Forms.
Decorating Scope Methods In The AngularJS Prototype Chain
(Ben Nadel) Last week, I looked at how to pass values up the $scope chain in an AngularJS application. We used a setter method in order to get around the asymmetric nature of prototype property access and mutation.
Perils of the MVC4 AccountController
(K. Scott Allen) The final release of ASP.NET MVC 4 brought some changes to how membership works in the MVC Internet Project template. While pre-release versions of MVC 4 all used the traditional ASP.NET membership providers for forms authentication, the final release relies on the WebSecurity and O
Optimizing the website Performance using ASP.NET 4.5
(Kalyan Bandarupalli) There are so many different ways you can optimize your website performance. You may think why we need to worry about website performance when internet connection speed is growing faster and faster. Just few examples: Google did a test, if their search page is 500ms slower then
Windows Forms: Combining AutoComplete and ListBox selection
(Ged Mead) I wrote a blog post about the auto complete feature of the text box control here. And I also wrote a post that describes how you can write your own code that auto selects a list box item here. So, finally in this post I’ll quickly look at how you can combine the two – that is, use […]
Visual Studio Tip: Create Your Own Project Templates
(Peter Vogel) You’ve probably found that there are a bunch of changes you make automatically whenever you open one of the Visual Studio project or item templates: integrating with your organization’s standards, deleting/adding default files or code, adding references you use much of the time — thin
Overriding Browser Capabilities in ASP.NET
(Mira Javora) The new System.Web.WebPages 2.0.0.0 assembly that ships with the latest MVC4 contains a pretty cool feature that lets you override the current browser capabilities. Sure, most modern browsers let you set a custom user agent string out of the box or via extensions. However, there are ce
