You are hereMonthly archive / July 2010

July 2010


rahul's picture

Ext.Net - Ajax File Upload using Web Service

I spent the better part of yesterday trying to Ajax upload a File using a Web Service and Ext.Net (formerly Coolite). Let me first explain the situation I was working in.

I had a Page that renders to the browser. This page then loads appropriate UserControls from the server depending upon user actions. One of these User Controls allowed the User to upload files to the server, together with some data about the file being uploaded. A naive (and easy) approach would have been to handle the file upload in a normal ASP.NET Postback, or Ext.Net DirectMethod or DirectEvent.

rahul's picture

Maintaining Component References in ExtJs/Ext.Net applications - Part II

In the first of this series of couple of blog posts (available here), I have discussed the problem of maintaining reference to ExtJs components on the client-side in javascript, and the motivation for creating a new solution to it, than what ExtJs/Ext.Net provide out-of-the box. Well, here's how I have settled down on resolving the issue.

rahul's picture

Maintaining Component References in ExtJs/Ext.Net applications - Part I

This is one issue that almost all developers of ExtJs/Ext.NET applications face, maintaining client-side references for the Javascript components. The seriousness of the managing the issue effectively manifests manifold, when working on large applications in modular fashion with multiple developers involved, and components being instantized or being loaded from the server on demand.

rahul's picture

Assigning static IP addresses in Windows 7

I am currently working on multiple projects which require me to connect my Windows 7 laptop to different networks in a day. A couple of these networks assign a dynamic IP to the system, when I connect to them, but one of them (Windows 2003 IPv4 Active Directory based) requires me to assign a static IP address to my machine to be able to communicate with the other systems on the network.

rahul's picture

Javascript variable scoping

While working on a Web application recently, I came across a Javascript gotcha that I shouldn't have faced in the first place.

As a matter of habit, I have made it a point to always declare variables inside a js function with the var keyword. I know many of us consider var optional for declaring a js variable. But how big a difference can this make to your code is best demonstrated by an example. Try clicking the "Click Me" button below, and analyze the output generated:

Recent comments