Geeks With Blogs
Amit's Blog Sharing Thoughts and Learning Ajax Ajax Web Service - Common Issues
My new article has been just published for September Ajax Column in In this article, I have answered few common issues which I found often discussed in Ajax Web Service Forum. In this column, I have covered: Web Service Method, succeededCallback and failedCallback methods signature. Complex data type interchange which includes Array, Dictionary, Custom Class. GenerateScriptType Attribute ScriptIgnore Attribute Custom JavaScriptConverter class Progress Indicator for long ......

Posted On Monday, September 17, 2007 3:44 PM

Compress Ajax Web Service Response - Save Bandwidth
In this post, I will show you how to compress the Ajax Web Service response, To understand the benefits of compression let us start with a simple example, Consider you have an web service which returns a large data like the following:[WebMethod()] public string GetLargeData() { using (StreamReader sr = File.OpenText(Server.MapPat... { return sr.ReadToEnd(); } } The web method reads an large text file (around 100KB) and returns it contents. Once we call this method from a ......

Posted On Saturday, September 15, 2007 6:09 AM

Showing Modal Progress Dialog in all Ajax Operation
If you ever like to show a Modal Progress dialog like the above for any ajax operation no matter which Update Panel or Web Service call is responsible for it, the following code will do the same.<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <script runat="server"> [System.Web.Services.WebMet... public static string GetDate() { //Doing a fake delay for 3 seconds System.Threading.Thread.Sle... ......

Posted On Friday, August 24, 2007 7:13 PM

Book Review - Ajax Update Panel

I recently did a review on Ajax Update Panel of O'Reilly which is now published in Check it out.

Posted On Friday, August 17, 2007 1:27 PM

My New Article - Effective Error Logging in Ajax
My latest article Ajax Error Logging has been just published in In this article, I have demonstrate how to extend Ajax Framework to create an effective error logging system which support multiple trace listeners like Enterprise Library. A must read if you are developing or planning to develop an Ajax Web Application. You will also find my name in the Ajax Columns in as I have planned to write at least one, preferably two articles each ......

Posted On Monday, August 13, 2007 12:09 AM

Loading UserControl Dynamically in UpdatePanel
In this post, I will show you how to load different user control in UpdatePanel from different menu item click. I have found a lot of request in Ajax Forum and some of them are having misconception about this. Once you complete reading this post you will be able to load controls dynamically and learn how to employ different helper controls like UpdateProgress, ModalPopupExtender while the UserControl is loading. First let us create plain page without the ajax support: Markup: <%@ Page ......

Posted On Saturday, August 11, 2007 8:48 PM Ajax UpdatePanel Simultaneous Update - A Remedy
If you ever try to do more than one simultaneous partial update with Ajax Update Panel, I guess you already found that Ajax Framework cancel the current update request and starts the new one. You think I am kidding? Okay lets try the following code: <%@ Page Language="C#"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <script runat="server"> protected void Page_Load(object sender, EventArgs ......

Posted On Wednesday, August 8, 2007 6:29 AM

Create An Ajax Style File Upload
If you visit Ajax Forum, you will find hundreds of request on File Upload Control that it does not give Ajax version of the page when it is placed in an UpdatePanel. Certainly, it is not possible, as the XMLHTTPRequest object that is used internally to post the form does not support file upload. In this post I will show you how to create Ajax like version of the file upload. The trick is very simple, I will use an Iframe to upload the file so the whole page does not get refreshed and when ......

Posted On Wednesday, August 1, 2007 3:36 AM Ajax and VS2003
Few days back one of my of ex-colleague called me to know what is the best platform of Ajax to work in VS2003 Project, One of his client wants to implement some Ajax features in his existing application . Is it, Prototype, jQuery or Dojo? When I replied him Ajax 1.0, he seems bit confused. Yes we can also use Ajax for the older version of VS. However, we will not get the full set of features in those older environment. Let me list those features, which will not be available: ......

Posted On Saturday, July 21, 2007 1:07 PM

I am the winner for the Month of June
This morning dotnetslackers announced me as the winner of the XBox article content for the month of June. Special thanks to everyone who vote my Ajax Control Development article. Some of my friends asked me why did I choose to write in dotnetslackers over codeproject when codeproject got 8x more traffic. The reason behind choosing dotnetslackers, I think it got much more Ajax specialist as a member comparing to codeproject and once it won the Atlas Mashup contest of ......

Posted On Thursday, July 19, 2007 1:51 AM

Copyright © Kazi Manzur Rashid | Powered by: | Join free