Blog

Posts Tagged ‘ASP.Net’

Serializing Objects To JSON To Preload Ajax Data

Monday, August 24th, 2009

I’ve been developing a large application with ASP.Net Ajax and ExtJS. It all works great together and in fact ASP.Net is just a easy way to access my .Net code/web services because the whole UI done with ExtJS constructed/controlled by javascript/Ajax. When it comes to a 100% javascript UI there are some cases where you’ll […]


Aborting ASP.Net PageMethod Requests

Wednesday, August 19th, 2009

ASP.Net Ajax features are very good, even great if you consider the useful integration with other ASP.Net constructs. PageMethods are one of the easiest ways to implement an AJAX call without too much trouble or the need to implement a complete web service page if you’re only going to use this particular Ajax call from […]


ASP.Net State Management And Why You Shouldn’t Use Session Directly

Monday, November 17th, 2008

ASP.Net provides out-the-box several nice (although not new) features to manage your application’s state, the Session and Application objects. The Session and Application objects are also among the first things learned by students of almost any web programming framework but while they are true in their usefulness it doesn’t mean you should use them directly, […]


Microsoft To Ship Open Source Package With .Net (jQuery)

Monday, September 29th, 2008

A few days ago if you asked me if Microsoft would ever include an open source piece of code in one of their products, I would say you were insane just for asking! There’s no way! Well, Microsoft is planning to amaze me along with everyone else. ASP.Net and Visual Studio will start shipping with […]


Embedding Pages and Usercontrols Inside Assemblies

Monday, August 18th, 2008

One of the problems with ASP.Net when trying to keep a degree of separation between project components is that you can’t easily implement a page or a user control inside a library project and simply reference it from the main ASP.Net project. This, I think, its not entirely by lack of vision or interest from […]


Dynamic Controls And The UpdateProgress Nightmare

Tuesday, June 10th, 2008

It’s one of the most common issues on the ASP.Net Web 2.0 era, how to add dynamic controls at server side… but that’s a well explored territory as you can check by simply googling it. As a reference I recommend this series of 4 articles. There are 2 problems not so easy to handle, the […]


ASP.Net AJAX Extensions, GetPostBackEventReference And Custom Controls

Sunday, April 27th, 2008

If you’ve a piece of code similar to this one, and try to use the control inside an UpdatePanel then you might be surprised to see that triggering that event will in fact do a complete PostBack of the page (read Refresh-like-Postback): public override void Render(HtmlTextWriter writer) { Response.Write(“Button”, Page.ClientScript.GetPostBackEventReference(this, “onclick”)); } The reason is […]