Browse by Tags

All Tags » Web (RSS)
I recently got this error with an upgraded project to VS 2010 (web forms). I searched the internet for the error, which I thought wasn't really an error due to a corruption since I could get an MVC app to run and another smaller web forms application...
Posted by bmains | with no comments
Filed under: ,
ASP.NET MVC is a wonderful thing. One of the many great features is the ability to customize all of the .NET framework's code by swapping out one implementation and using another. One such instance is creating a custom view engine, which you can do...
Posted by bmains | 52 comment(s)
Filed under: ,
I got this error when I tried to run this code in my view. <img src='<%= Url.Content("~/Content/Images/logo.gif") %>' /> At first I didn't realize the underlying issue but then quickly realized that when the MVC framework...
Posted by bmains | 1 comment(s)
Filed under: ,
I've been just getting into MVC lately and run into a weird error, mostly weird because it's mostly due to the error message itself than the actual problem. The problem is very easy to fix, but first, a little background. In the various MVC frameworks...
Posted by bmains | with no comments
Filed under: ,
The latest release of Telerik's RadControls framework for ASP.NET AJAX has a really cool feature: RadCompression. Telerik provides a HTTP module that compresses your JavaScript files, Silverlight applications, and AJAX/web service requests. While...
Posted by bmains | with no comments
Filed under: ,
Looking at the MSDN documentation for the events pertaining to Sys.UI.DataView, I noticed that it lacked in comparison to the CHM file that comes with the MS AJAX 4.0 Preview 5 download. One of these events is the rendered event, which fires at the end...
Posted by bmains | 3 comment(s)
Filed under: , ,
I recently have been thinking about tabular displays and how to make them better. For instance, suppose that your final output of an application looked like the following: <table id="tbl"> <thead> <tr> <th>One Header<...
Posted by bmains | with no comments
Filed under: ,
Recently, Rick Strahl blogged about his issues with MVC and using some of the essential methods were available in ASP.NET web forms development, considerably the GetWebResourceUrl method (as detailed here: http://west-wind.com/weblog/posts/842507.aspx...
Posted by bmains | with no comments
Filed under:
There has quite been the ASP.NET vs. MVC debates going on the internet these days. I must admit, I'm amused by it because it really comes down to personal preference, and what you are comfortable with. Most importantly, it should be dependent on what's...
Posted by bmains | with no comments
Filed under:
Do we really even need IStateManager anymore now that we have ASP.NET AJAX? In the olden days IStateManager was used to retain the state changes made to a list-bases resource. These changes would occur on the server and be available on the next postback...
Posted by bmains | 1 comment(s)
Filed under: ,
You probably know that C# supports inheritance. With inheritance, C# supports constructor inheritance of sorts. This means that you can call a base class’s constructors in the derived class. If you had the following class: public class DerivedObject...
Posted by bmains | with no comments
Filed under: ,
If you've developed in JavaScript without the ASP.NET AJAX client-side additions, you know that you typically can't create an object like the following: function MyNS.MyClass() { } This is not a supported feature because of the dot notation. This...
Posted by bmains | 2 comment(s)
Filed under: ,
In Silverlight, there are a variety of ways to target elements in Silverlight. For instance, if we want to change the color of a border, we can target it this way: <Button x:Name="ContactButton" Content="Contact Us"> <Button...
Posted by bmains | with no comments
Filed under: ,
Reference data is a funny thing. In reality, reference data really serves no major purpose other than for display purposes, whether that be a report or in the UI. Yet we often have reference data in our backend databases, with relationships established...
Posted by bmains | with no comments
Filed under: ,
When creating script references for AJAX controls, you may have noticed this code a lot: var r = new ScriptReference(Page.ClientScript.GetWebResourceUrl(...)); This method creates a unique URL using a custom HTTP handler that extracts scripts from within...
Posted by bmains | with no comments
Filed under: ,
More Posts Next page »