(Mahesh Chand) A MaskedTextBox control provides validation mechanism for user input on a Form. For example, if you want a TextBox to accept date in mm/dd/yyyy format, you can set masking in the MaskedTextBox.
Tag: Development
Implementing Policy Injection in ASP.NET Applications
(joydipkanjilal) Policy Injection Block was introduced in Enterprise Library 3.0 and makes use of aspect oriented programming concepts to add, remove, and modify common cross cutting concerns in your ASP.NET applications such as logging, validation, caching, exception handling, authorization, etc, w
Modifying built-in Visual Studio project templates
(Simon Cooper) As some of you may know, executable projects created in Visual Studio 2010 now default to the x86 build target rather than AnyCPU, as was the case in VS2008. I personally am quite annoyed by this decision, and so I looked for ways to change it back. A poke through the VS options scree
WPF ListBox Displays the Type Name, Not the Data Property
(Ged Mead) Here’s the scenario: You’re setting up some kind of data binding in WPF and you want to list a property of a class in a ListBox. You bind the ItemsSource property of the ListBox to a valid collection, but the display isn’t the list you expect. Instead you get a repeating list that only
Using EF ‘Code First’ with an Existing Database
(Scott Guthrie) Last month I blogged about the new Entity Framework 4 “code first” development option. EF “code-first” enables a pretty sweet code-centric development workflow for working with data. It enables you to: –Work with data without ever having to open a designer or define an XML mapp
Bidirectional Data Exchange With ColdFusion’s CFThread Tag
(Ben Nadel) In the past, I’ve talked about bidirectional data exchange with ColdFusion’s CFThread tags; however, those discussions were always centered around either passing data into a tag at the start of its execution or, passing data out of a tag at the end of its execution. In order to get ready
Filtering Data Using ASP.NET 4’s QueryExtender Control
(Scott Mitchell) One of the new controls available with ASP.NET 4 is the QueryExtender control. The QueryExtender is designed to simplify filtering data returned from a LinqDataSource or EntityDataSource by decoupling the filtering logic from the data source control. Using the QueryExtender is easy
Drive Your Menus from a Database Table
(Peter Vogel) One of the questions that I frequently get from people attending my ASP.NET course is “How can I drive my menus from a table in the database instead of from a file in my Website?” (Gratuitous plug: that’s course 512 from Learning Tree International). This column provides a problem to t
Panel in C#
(Mahesh Chand) The Panel control is a container control that is used to host a group of similar child controls. One of the major uses I found for a Panel control when you have to show and hide a group of controls. Instead of show and hide individual controls, you can simply hide and show a single Pa
VS 2010 Web Deployment
(Scott Guthrie) Today’s blog post is the first of several posts I’ll be doing that cover some of the improvements we’ve made around web deployment. I’ll provide a high-level overview of some of the key improvements. Subsequent posts will then go into more details about each feature and how best to
