ASP.NET

There are 56 entries for the tag ASP.NET

A small collection of randomly useful .NET related links

This is a weird collection of useful links that I’ve had sitting in open tabs for a couple of weeks. I’ve been trying to turn any of them into their own posts, but it just hasn’t happened – however, they are useful, so I’m posting them here for my own reference and in the hope that someone else gets value out of them. Posting raw JSON to Web API – when I needed to do this I found it quite strange that I hadn’t needed to do so sooner. In a world where it’s pretty easy to cast your JSON...

Bundling and Minification–who needs MSBuild?

I’ve been working on a few projects where we’ve recently implemented ASP.NET 4.5’s bundling and minification offering, and have been really impressed with the results, both in terms of perception of speed due to the reduced number of requests as well as the reduction in amount of data transferred. So when Integrating a JS Build Process Into MSBuild in Visual Studio 2012 Express popped up via one of my news sources (Zite for anyone interested) I thought I’d have a read, explicitly to re-evaluate the MSBuild approach versus the offering that’s now integrated with .NET 4.5. Flicking through the...

A couple of handy items for your jQuery/ASP.NET toolkit

I’ve recently come across 2 ASP.NET/jQuery related gems on the LavaBlast Software Blog that are worth sharing. Style ASP.NET Web Forms Validators with qTip 2 – I’ve used qTip on a couple of projects/sites, however in those situations it was used somewhat “creatively”. Namely, for rather obtrusive hover-preview popups that were incredibly annoying but actually made sense in the context of the application. However the post above is showing a much better use of qTip, which is form validation. I like this post because I like to use the ASP.NET validators whenever possible, even though (as LavaBlast put...

Juice UI: Open source ASP.NET Web Forms components for jQuery UI widgets

This morning at MVP Summit, Scott Hunter just announced a new open source project fromappendTo called Juice UI. Juice UI is a collection of Web Forms components which make it incredibly easy to leverage jQuery UI widgets in ASP.NET Web Forms applications. You can start using it right away by adding the JuiceUI NuGet package to your app, and you're welcome to go nuts with the source, which is dual licensed under MIT and GPL. Basically this is a version of the AjaxControlToolkit powered by jQuery and jQueryUI. I’m kind of torn on...

What’s new in ASP.NET 4.5 and Visual Web Developer 11

What's New in ASP.NET 4.5 and Visual Web Developer 11 Developer Preview – somehow I only managed to stumble across this one recently. It was originally posted in September 2011 – wow, really? My quick picks for things I’m personally looking forward to here; Strongly Types Data Controls – one of my pet peeves around non-MVC ASP.NET databinding has been the “bind and hope” approach that Eval has. It always felt a little icky – hopefully this will change now (it looks good on paper, but I think it needs a proper test run before I’ll know for...

Gotchas (and workarounds) with ASP.NET double submit prevention using jQuery

Double submit prevention is one of those things that developers sometimes have a hard time “getting”. It has an obvious fix – JUST CLICK THE BUTTON ONCE! No matter how obvious that fix is for us developers, chances are that at some point you’re going to be asked to go a little further and add code to prevent people from clicking your submit buttons twice – as was the case for me recently, when I had to look at this issue in  2 separate legacy codebases that we were lucky enough to inherit from other dev teams. ...

ASP.NET MVC 4 Roadmap

I’ve had the ASP.NET MVC 4 Roadmap sitting open in a browser window for a couple of weeks now, and have only just now found the time to flick through it. Obviously it’s early days for MVC4 so a lot of what’s mentioned is speculative, however the potential improvements to mobile support and the ability to have device specific views looks like something that will really make a difference to anyone developing apps for mobile devices – which these days, is pretty much everyone, whether they know it or not. Add in a touch of improved Ajax...

Simple (but effective) ASP.NET MVC RSS feed creation

Short story shorter, I recently wanted to add some quick RSS feed functionality to an app I’m working on. I looked at a few options, and really didn’t like any of them – except this one from Damien Guard. The post is over a year now, so there might be a better way to do things lurking out there, however to me this was the nicest and cleanest solution I found. Link: Creating RSS feeds in ASP.NET MVC Tags: ASP.NET, MVC

iPad versus ASP.NET

Gotcha: iPad versus ASP.NET - Your web app looks awesome on the iPad, until… You decide to save it to your home screen. Useful stuff to know. If you’re doing this with a web application you’ve developed, you probably want to make it appear a bit more like a native app,  so you’ll add two meta tags to make the experience nicer (add an app icon and remove the navigation bar). Remember: Safari caches these tags when creating the shortcut, so you will need to delete/recreate the shortcut to force it to refresh. ...

Glimpse

Glimpse is a debugger that shows you what’s happening on the server, inside your browser – from the video it looks very handy. Tags: ASP.NET

MVC Music Store v3.0

The MVC Music Store tutorial/sample application has had a technology update. It now covers ASP.NET MVC 3, Entity Framework Code-First, SQL Server Compact, and demonstrates the Scaffolding features included in the Tools Update. Tags: MVC, Microsoft, ASP.NET

You down with MVC? Yeah you know me!

I resisted ASP.NET MVC for quite some time. Not intentionally, and not for for any real compelling reason, but for a while WebForms coupled with my version of an MVP implementation was doing its thing pretty nicely, and a few of the WebForms projects I was working on had customers who really had no reason to shift technologies. Whether you’re charging by the hour or working in a fixed price scenario it can be a little hard to justify jumping into new technologies (although at this point you could hardly call MVC ‘new’) without good reason. Having said that,...

GridView Tips and Tricks

Apparently the ASP.NET GridView is the most commonly used data control in the ASP.NET control toolkit! I’d also wager a bet that it’s one of the most abused controls, and I know that it’s certainly responsible for generating some of the worst excuses for ASP.NET code I’ve seen. My personal nemesis is the overuse of FindControl - in my ever so humble opinion, if you have to use FindControl at all then you’ve probably failed. Sure there are exceptions, but as a general rule that’s a good one to go by. However the ASP.NET GridView Tips and Tricks...

TinyMCE’s fullpage plugin + ASP.NET request validation

Even though some people debate the effectiveness of the request validation that comes built into ASP.NET, you get it for free so it makes sense to use it. So when working with a HTML editor which is going to be posting back “potentially dangerous HTML” you’ll probably want to use an editor which lets you encode its content, like TinyMCE does via its XML encoding. If you’re interested and haven’t used its XML encoding before then you can read more about it here) in order to avoid disabling request validation. Normally this all works well, however it seems that...

POET vs ASP.NET: DotNetNuke

Apologies for the slight echo chamber effect, but I always find these videos to be amusing to watch. Tags: ASP.NET

ASP.NET Security Vulnerability as a reminder when working within frameworks

If you develop web sites or applications using ASP.NET then no doubt you’ve already heard about the recently announced ASP.NET Security Vulnerability. If not, then go read about it! Auditing servers using the VBS script supplied by Microsoft to check for vulnerable applications was a great reminder of why it’s a good idea to use functionality provided out of the box whenever possible when working with frameworks, rather than roll your own solution for things like error pages and redirection. Most of the applications I’ve seen so far which were at risk were those where the developers hadn’t used...

TinyMCE and “A potentially dangerous Request.Form value was detected”

If you’re currently using TinyMCE and are disabling page validation to get around the above error then you’ll probably want to read this post: TinyMCE and “A potentially dangerous Request.Form value was detected” This becomes more useful if you’ve upgraded your projects to .NET 4.0, as it means you can get rid of the config tag to force your application to use the 2.0 validation model. Legacy support, eeeugh. However be aware that if you’re using ScriptManagers anywhere that they don’t seem to like the new validation model too much, so if you’ve got any of them lurking...

IIS Express & New embedded database support - Why I love being busy

One thing I love about being incredibly busy is seeing new shiny stuff get released which you didn’t know was in the pipeline. Two small but recent examples of this are the new IIS Express and ASP.NET’s updated embedded database support. Although I need to sit down and give them both a proper test-drive, at first glance in both cases it really looks like the ASP.NET team listened to what the community was after. Introducing IIS Express – Cassini was convenient, but less than accurate in terms of how an application would perform in a proper IIS environment....

A non sensationalist post about EF4

I have a few things I want to write about the Entity Framework 4 over the next couple of weeks – but first, I need to post something rather short and simple, so here it goes: I’m currently using EF4 on a customer project in Europe. It’s working fine. It’s doing its job. We have no major complaints so far. There, done. A rather boring posting indeed, but I didn’t want to start talking here about EF4 in an overly negative way! Tags: Microsoft, ASP.NET, Entity Framework

A quick collection of useful .NET related links

LightSpeed 3.1 released – Eeek, I missed mentioning the release of fellow New Zealanders Mindscape as they released version 3.1 of their LightSpeed O/RM product last month. Some great looking features in there – obviously Visual Studio 2010 support is a must, but saved quick views into the model is something which has my mouth watering, and splitting large models into multiple files is a a nice feature too. Simplify, Shorten and Speed Up Your LINQ Statements with "Let" – a useful LINQ tip. A little bit of refactoring ahoy for me in a few places now I think....

More ASP.NET MVC vs WebForms

Not from me this time - Scott Guthrie has a good post with some of his own points on MVC, WebForms, and the debates. Link: About Technical Debates (and ASP.NET Web Forms and ASP.NET MVC debates in particular) Tags: ASP.NET, MVC

ASP.NET WebForms vs MVC from another angle

While scanning my RSS feeds this weekend I’ve noticed a lot of “MVC vs WebForms” type postings. I feel the need for my own little rant in this area. It’s one which I’ve been meaning to get off my chest for a little while, and so now seems like as good a time as any to get it over and done with.. so here goes. As a possible point of difference, my rant has nothing to do with technology. I keep coming across posts from developers who are new to ASP.NET, and are asking something along the lines...

Looking back on the past couple of years as a freelancer

It's coming up to the 2 year mark since I resigned from my full time job and went into freelancing / owning my own businesses. After many years of working as an employee, a contractor and doing small bits of freelancing on the side I probably thought that switching to freelancing would be a bit easier than it ended up being, which is part of why I wanted to write a little about my experiences. There's plenty of material out there offering freelancers helpful tips or things to avoid - this post is similar to many of those, but it's...

Mindscape LightSpeed 3.0 released

Local lads Mindscape released version 3.0 of their LightSpeed O/RM tool yesterday. The ‘what’s new’ list has some interesting technical additions (as you’d expect), but developers will also appreciate other changes such as improved samples (I’m a sucker for good samples), new databases providers, as well as a simplified licensing model. The migrations framework looks especially interesting – if it works half as well as the summary paragraph in the release post suggests then it’ll be a pretty invaluable feature for a lot of developers. I’d also suggest that using LightSpeed for this work instead of a tool such...

Using the asp:Chart control

The world of .NET is an exciting and ever changing environment to work in so it’s easy to occasionally miss useful things when they’re released. The asp:Chart control fits into this category – it was released well over a year ago, however I haven’t had any reason to use it until very recently. Here's a short (possibly the shortest) post with a snippets of information that I found useful about the Control, my 60 second summary if you will. To use the control with version 3.5SP1 of the .NET framework you have to install a...

An alternate fix for 'WebForm_PostBackOptions' is undefined

“'WebForm_PostBackOptions' is undefined” is one of those errors which can have a variety of causes. Here’s another one to add to that list – it’s pretty obvious, but easy to overlook if you’re in a rush. Firstly, check your httpModules, as custom modules can often cause this issue. However in my case I didn’t have any custom modules, in fact I’d just removed a couple – ripping out Intelligica’s ReWriter to replace it with the stock functionality provided by System.Web.Routing.. which of course was where the problem lies. I’d forgotten to add the StopRoutingHandler for all *.axd calls....

jQuery and ASP.NET

At the risk of adding too much to the echo chamber, Scott Guthrie's October 22nd post has some pretty useful resources for anyone looking to get better acquainted with the use of jQuery with ASP.NET (as well as other useful things of course, but I found the jQuery info particularly useful). Tags: JavaScript , ASP.NET

More ASP.NET MVC goodness

There's more MVC goodness announced on ScottGu's blog, namely the Preview 4 release which means another step closer to the final thing. As always there's a bunch of useful info showing it all in action, so check it out. Tags: ASP.NET , MVC

SQL Server Web Report Viewer Issues on Windows 2008 Server/IIS7

About a year back I wrote a quick post detailing a problem (and a fix) for an issue I was having with the SQL Server Web Report Viewer on Windows 2008 Server/IIS7 (the 'RSClientController is undefined' error). Most of the comments implied that the article helped people, however a few people weren't able to follow what was written. Partly because I wrote it very quickly at the time it was happening, and didn't grab a screenshot at the time. So I've just gone back and made a quick update to the article so that it now includes a bit...

LINQPad

  LINQPad is a handy tool for anyone who works with LINQ: LINQPad is more than just a LINQ query tool: it's a code snippet IDE. Instantly execute any C# 3 or VB 9 expression or statement block! Best of all, LINQPad is free and needs no installation: just download and run.  The executable is under 2MB and is self-updating. Fun! Tags: ASP.NET , SQL , LINQ

The Dramatic Password Reveal

I found "The Dramatic Password Reveal" to be an interesting read. It's interesting to read the post and gauge your own personal reaction, followed by whether you change your mind after stopping and thinking about it a little bit. As the owner of 2 Das Keyboards I can tell you that there are many times when revealing my password for a quick double check before entering would be useful. Occasionally for online accounts I'll find myself typing my password into Notepad and then pasting it into the form to prevent me from locking my own account out. ...

ASP.NET 3.5 Extensions CTP Preview Released

Get your early dose of MVC goodness for Visual Studio 2008 here (and here for the MVC Toolkit extras). There's interesting mention of a few other items included in the extensions preview. One thing I've not followed closely is ADO.NET Data Services. The ADO.NET Entity Framework is billed as "a modeling framework that enables developers to define a conceptual model of a database schema that closely aligns to a real world view of the information". I'm very interested to see how this competes with something like LLBLGenPro (or even if that's it's intention in life). Tags: ASP.NET...

To MVC or not to MVC

There's no doubt in my mind that thinking about MVC and/or MVP frameworks is bound to scare some developers out there. Changing the entire approach to ASP.NET development by throwing out ViewState and Postbacks is bound to make some people ask "Why fix it if it aint broke?" A lot of the MVC related writing at the moment seems to focus on the benefits of using the MVC approach - Yay for TDD! Yay for clean URLs! Yay for extensible pluggable architectures! Yay foreach Benefit benefit in List<MVC_Benefit> benefits! Which is all fine and dandy, however I...

An interesting take on the ASP.NET MVC framework

Mads Kristensen has an interesting take on the potential dangers in Microsoft's ASP.NET MVC Framework. Some people might think he's being overly cynical, but there's definitely some valid points in there. Attend any event which contains a mix of C# and VB developers, and start talking about language and you'll see the same sort of effect. I love the term "Search Driven Development" that he uses in the post. It's a pretty obvious one, but I've never heard it put like that before. Technorati Tags: ASP.NET , MVC

AJAX Control Toolkit 10920

The 10920 release of the AJAX Control Toolkit was shipped a few days back (thanks Doug). Lots of general fixes and control specific fixes - check out the link for more info. A couple of the fixes look like things I've experienced in the past, so I'm looking forward to some time to upgrade various solutions to 10920 and have all my AJAX woes magically fixed! Technorati Tags: AJAX , ASP.NET

Thursday Linkorama

I've had a load of tabs open in my browser for the last week, all of which are useful and interesting, but none of which justify a full post. Here they are: Scott Guthrie talking about the asp:Listiew Control which is coming in ASP.NET 3.5 - I've been working with GridViews and Repeaters over the past couple of weeks, and doing so is making me really look forward to the ListView! As welcome as the control will be, you have to think that it's been a loooong time in coming (thanks for the link Doug, even if I did forget...

Fun with Forms

"Fun"! This weekend I was working on some basic ASP.NET input forms inside an existing application. The forms can be opened for read mode, or for edit mode - as you might expect from a form! There was some C# code which was setting the textboxes to be enabled or disabled (but still visible) depending on the appropriate edit mode, and I naievely figured it'd be pretty easy to throw in some css to simply remove the textbox borders when the form was being viewed, which would make the data look like labels. Labels being what should have been used in this...

LLBLGenPro v2.5 Released

This falls into the "oh crap I have a bit of reading to do" category. The 2.5 release (which is a free upgrade for existing 2.0 customers) has a couple of interesting sounding major features such as auditing and  authorization, as well as a lot of other improvements (such as improved prefetch paths, field exclusion for fields containing large amounts of data, and support for even more database types). Link: LLBLGen Pro v2.5   Tags: ASP.NET, LLBLGenPro

Now running Subtext!

The observant among you will notice that the site has changed. I'm no longer running on Domino, and hence I'm no longer running on Blogo. The site is now fully powered by ASP.NET, and is running the excellent Open Source Subtext. Thanks go out to Ferdy for all the time he's spent writing and maintaining Blogo - if you're in the market for an open source Domino blogging engine then check it out, it's well worth it. Why Subtext? I can't really say. I played with a few .NET solutions out there, and decided that I really liked quite a few...

A couple of quick fixes to the AjaxControlToolkit CalendarExtender

The AjaxControlToolkit CalendarExtender is one of the more usable and useful controls in the kit. However there are a couple of things you might want to do to it in order to increase it's usefulness: First, the default behavior is to hide the calendar when the textbox you're extending loses focus. This might be ok for some people, but I wanted it to disappear when a date was selected. Simply add a hideCalendar function, which you can either do in static JavaScript or via RegisterClientScript block depending on your application: Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "hideCalendar", @"function hideCalendar(cb) { cb.hide();...

The Most Useful .NET Utility Classes Developers Tend To Reinvent Rather Than Reuse

Wow, what a post title. It's a couple of weeks old, but this list over at haacked.com is a quick list of classes that developers tend to code themselves rather than use what's provided in the framework. The constant reinvention is symptomatic of a large and comprehensive framework - there's so much in there, it's sometimes hard to know where to look for something that does what you're trying to do. Looking through the list was quite refreshing. There were a few obvious ones such as System.IO.Path.Combine, however I'd never thought that a framework which is destined to...

New AJAX Control Toolkit release

The latest release of the AJAX Control Toolkit is now available. On top of over 125 bug fixes and enhancments the new Toolkit includes something called the "ToolkitScriptCombiner" - a control designed to dynamically merge multiple client-side Javascript scripts into a single file that is downloaded to the client at runtime. 2007-06-06 release of the AJAX Control Toolkit has a number of fixes identified as important by the community including designer support for Tabs and Web Services. It also has Animation support for some extenders, event support across the Toolkit, a Script combiner for reducing...

Styling the Atlas UpdatePanel and UpdateProgress controls

Out of the box, the ASP.NET Ajax UpdatePanel and UpdateProgress controls do a pretty good job of removing postbacks from your applications, but they need a little bit of styling to get them looking their best. Here's a couple of links to get you started on the right track: Link: Using the UpdateProgress as a modal overlay Link: Gmail style 'loading' indicator using UpdateProgress Link: UpdateControls: UpdateHistory and AnimatedUpdatePanel Raj's modal overlay (the first link above) allows you to target either an individual control (such as a panel or a GridView), or the entire page. It's very slick looking, but...

SQL Server Web Report Viewer Issues on Longhorn/IIS7

It seems I've come across yet another AXD related issue. This time with the SQL Server Web Report Viewer Control which was being served up via IIS7 on a Longhorn server. As soon as the page loaded I was getting JavaScript errors of 'RSClientController is undefined'. The report had been working fine on development boxes, so I was pretty sure it was either related to the deployment or IIS. In checking the source of the page I found the following entry: <script src="/Reserved.ReportViewerWebControl.axd? OpType=Resource&amp;Version=8.0.50727.817&amp;Name=Scripts.ReportViewer.js" type="text/javascript"></script> Which of course didn't exist when I pasted the URL into...

A quick tip for working with UpdatePanels

UpdatePanels are a pretty neat part of Microsoft's Ajax Extensions. It's interesting to note how much faster pages *seem* when you remove all visual aspects of the postback. Sure, the postback is still happening, but without the need to re-render the entire page things seem so much snappier. However to make sure that your page is running as fast as it possibly can, remember to set the UpdatePanel's UpdateMode to Conditional (which isn't the default). It might seem like an obvious thing, but when you're working on complex pages that contain multiple UpdatePanels, multiple UpdateProgress controls, as...

Microsoft AJAX Extensions: Sys.Debug is null or not an object

One of the breaking changes which was made with the 1.0 release of the Microsoft Ajax Extensions was the renaming of the 'Debug' class to 'Sys.Debug' for reasons of compatiability with other frameworks. Breaking changes like this can often be a source of frustration, however today I was pretty glad that they renamed the class, as it helped me to troubleshoot issues with the awful MSI on a Vista development box. The problem shows as a JavaScript error which states "Sys.Debug.IsDebug is null or not an object", basically telling you that something is using the wrong version of...

My Visual Studio Customisations

Every developer has their own list of customisations and tweaks which they apply to their IDE to give it that personal touch. This is my personal list of settings and customisations for Visual Studio 2005. I'm partly writing this down as a reference guide for myself lest I forget - reinstalling Visual Studio is something I try to do as little as possible, and so having a reference list is useful for those moments after a reinstall where you know something doesn't quite feel right in the IDE, but can't remember exactly which setting you've missed! I realise...

IIS7 beta3 now available

The IIS 7.0 Beta3 shipped a few days ago with a Go-Live License for those of you who simply can't wait to get your production apps installed on the latest and greatest version of Microsoft's web server. Alternatively, there are plenty of webhosting providers who have installed the beta and are now offering it to customers so you can perform some testing without needing to perform any upgrades. This is especially handy if you're still using Windows XP or 2003 server, and don't have any spare hardware available to install Longhorn or Vista (which IIS7 requires). On a...

Adding tooltips to GridView headers

Recently I had a need to add some simple tooltip text to a header of a Gridview. Nothing fancy, just a quick sentence explaining the column headers as they all contained abbreviated text. My searches all turned up overly complex dhtml samples, involving large chunks of JavaScript. These were all fine, but I was really after something a lot more simple than that. It's easy to achieve using some basic HTML with the GridView, so here it is for anyone who wants to do something similar. After the simple example, I'll show you how you can make things...

RegEx Performance Options

It's obviously not new, but the January 2006 edition of MSDN Magazine has some useful performance tips, particularly in the area of Regular Expressions. File this under the category of 'things I talk about here so I can refer to them myself later'. A few quick quote snippets: In the Regular Expression (Regex) space, there is the option to specify that a regular expression is compiled through use of the RegexOptions.Compiled setting. This switch hints at an underlying aspect of regular expressions in .NET: they have three modes. Interpreted Regexes have the...

Debugging DataSet Constraint issues

If you work with typed datasets often enough, then chances are that at some point you're going to run across this error message: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. The error message is logical enough - it tells you what's wrong. You have a dataset, and there's a piece of data which is violating it's constraints. If you have a small dataset, then you can usually spot where the problem lies quickly enough. However for larger datasets the offending table(s) and/or column(s) are usually harder...

WebResource.axd followup

Back in October 2006 I wrote an article which covers troubleshooting problems related to WebResource.axd. A few months down the track, and the article has had a lot of hits, a few comments, and a few external links - I can only conclude that a lot of you out there have had major problems with WebResource.axd! I wrote the article as a result of problems when deploying the project I was working on at the time, and it seems that I was 'lucky' enough to need to make changes or to verify the configuration for a lot...

Small DataSet tip - blank/empty .cs files

If you happen to press F7 in the while working in the DataSet designer, it will generate you a class file for your DataSet. If you've pressed F7 accidentally and dont want/need this file, then you might delete it at some point, or someone tidying up your code might decide to do it for you. The file might seem like an obvious candidate for deletion - the main hint being that it contains no code! However, if the file is simply deleted then your solution may no longer compile. The solution is pretty simple - you simply need...

Visual Studio 2005 Service Pack 1 (SP1) Released

This one managed to slip by me. I'm not sure on the exact release date, but looking at digg.com makes it look like it was released only a couple of days ago. There are seperate downloads for Visual Studio 2005 Team Suite (includes SP1 updates for Standard, Professional, and Team Editions of Visual Studio 2005), Visual Studio 2005 Team Foundation Server, and Visual Studio 2005 Express Editions. The version for Windows Vista (beta) is apparently coming soon. There are a lot of important fixes in this service pack, especially for anyone working with Team Suite to do load...

ASP.NET Text Character Counter

A textbox character counter is a pretty simple piece of functionality, and there's a lot of different ways to apply one to your application. The following method is nice and simple, and can be done using only clientside JavaScript if required, or combined with server side code in order to create a more dynamic effect (ie, turning the counter on/off conditionally). First, we'll add the most basic static implementation of the field counter to a form using only a JavaScript function and event handlers in the aspx file, then we'll look at how we can extend the functionality...

Troubleshooting WebResource.axd

The .NET 2.0 framework changed the way clientside JavaScript is delivered to the browser. Previously, ASP.NET 1.1 used the aspnet_client directory whereas now 2.0 uses WebResource.axd. When things go wrong, you'll see JavaScript errors about missing functions, including the now infamous 'WebForm_PostBackOptions is undefined'. After having this problem in one of my applications, doing a lot of googling on it, and eventually fixing it, I feel it's my turn to add to the fray of people writing about this in the hope that it helps someone. There are a few things which can go...