Browse by Tags

All Tags » ASP.NET 4 (RSS)
Visual Studio 2010’s Publish Web Site command offers the option “Allow this precompiled site to be updatable”. When used and your application has User Control (.ascx) files, the published application no longer contains your user controls! Instead, the...
Posted by plblum | 1 comment(s)
One idiosyncrasy of the ModalPopupExtender is that its HTML content is actually visible while the page is loading, until the $create() call initializes it. If you have a lengthy load time, as I did with a ListView full of records, the visibility is noticeable...
To successfully let business logic drive the user interface, you need an extensive library of business rules. Here are the additional business rules available as attributes. In my “Peter’s Soapbox”, you will find attributes that I feel need to be provided to complete the library....
.net 4 introduces the CustomValidationAttribute , a member of System.ComponentModel.DataAnnotations that supports validation of your business logic. Until now, validation rules were limited based on the available attributes (required, stringlength, regex...
A common question on the www.asp.net forums asks how to validate a CheckBoxList control. There are two cases: Require at least one checkbox Require a specific number of checkboxes In the past, I’ve answered this question in a way that now breaks when...
Posted by plblum | 2 comment(s)
ASP.NET 4 introduces a new property on all controls: ClientIDMode . It lets web form developers minimize the size of the id= attribute written into HTML tags. It also helps them dictate the actual form of the ID, avoiding the mangled naming of previous...
According to users comments in my recent posting “ What do you think of Dynamic Data? ”, they are under the impression that it is faster developing a web application when using ASP.NET Dynamic Data than with traditional web form development. Is it really...
In my recent posting “ What do you think of Dynamic Data? ”, users have offered many views on what ASP.NET Dynamic Data is and is not. In general, they feel like it’s for simple cases, mockups, and where customization isn’t needed. Everyone seems to agree...
I’ve encountered a new exception when using ASP.NET 4.0 Beta 2. System.TypeLoadException Inheritance security rules violated while overriding member: 'PeterBlum.DataSources.EntityDAO.SelectArgs.System.Runtime.Serialization.ISerializable.GetObjectData...
Posted by plblum | 4 comment(s)
Filed under: , ,
More Posts