Geeks With Blogs
Amit's Blog Sharing Thoughts and Learning Asp.net Ajax
Asp.net Ajax Web Service - Common Issues
My new article has been just published for September Ajax Column in DotNetSlackers.com. In this article, I have answered few common issues which I found often discussed in Asp.net 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 Asp.net Ajax Web Service Response - Save Bandwidth
In this post, I will show you how to compress the Asp.net 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" "http://www.w3.org/TR/xhtml... <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 - Asp.net Ajax Update Panel

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

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

My New Article - Effective Error Logging in Asp.net Ajax
My latest article Asp.net Ajax Error Logging has been just published in DotNetSlackers.com. In this article, I have demonstrate how to extend Asp.net 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 Asp.net Ajax Web Application. You will also find my name in the Ajax Columns in DotNetSlackers.com 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 Asp.net 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

Asp.net Ajax UpdatePanel Simultaneous Update - A Remedy
If you ever try to do more than one simultaneous partial update with Asp.net Ajax Update Panel, I guess you already found that Asp.net 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" "http://www.w3.org/TR/xhtml... <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 Asp.net 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

Asp.net 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 Ajax.net, Prototype, jQuery or Dojo? When I replied him Asp.net Ajax 1.0, he seems bit confused. Yes we can also use Asp.net 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 Asp.net 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 Asp.net Ajax specialist as a member comparing to codeproject and once it won the Asp.net Atlas Mashup contest of Asp.net ......

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

Cancel a Web Service Call in Asp.net Ajax
In this post I will show you how to cancel a web Service call after it is invoked, I will also provide you some interesting findings (Maybe a Bug) in Asp.net Ajax Network Layer. There are plenty of examples available on how to abort an UpdatePanel AsyncPostback but none for the WebService. The following will show you how to do it. Since we are going to cancel a call we need a web method which wait for a long time to complete: The Web Method:[WebMethod()] public string LongOperation(int miliseconds) ......

Posted On Saturday, July 14, 2007 5:30 AM

Another Article on Ajax Control Development
Another addition of my Ajax Control Development Article series. This time it is Asp.net Ajax Repeater. Check it out ......

Posted On Monday, July 9, 2007 5:43 PM

My Ajax Articles
I have been just informed that Scott Guthrie mentioned my Asp.net Ajax articles in his latest post. Check it out. If you find these articles useful, please vote for me to win the DotNetSlackers.com article contest ......

Posted On Wednesday, July 4, 2007 8:02 PM

SJAX Call
While visiting Asp.net forum, I found an interesting request, A forum member is trying to implement some validator controls where the member wants to call a Web Service method, since the nature of Asp.net Ajax is asynchronous the call does not return instantly. In the reply, another member from Microsoft provides some code which uses XMLHttpRequest to make a Synchronous call to web service. Certainly it does the Job but there is no flavor of Asp.net Ajax Framework. I am not sure the MS guy really ......

Posted On Wednesday, July 4, 2007 6:57 PM

Check User Name in Ajax way
While visiting the Asp.net Ajax forum I found quite a few post on the User Name Checking when creating an User. This is very common request and it is available in many Websites, So I decided to create a small sample. The following shows the full code listing:<%@ Page Language="C#"%> <%@ Import Namespace="System.Web.Servi... %> <%@ Import Namespace="System.Web.Secur... %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml... ......

Posted On Saturday, June 30, 2007 8:32 PM

My New Article - ASP.NET AJAX Control Development
A must read who wants to develop controls in Asp.net Ajax Framework. Covers in depth details of both client and server side programming. Check it out ......

Posted On Tuesday, June 26, 2007 8:20 PM

My New Project AjaxDataControls
I have just started a new Project in CodePlex AjaxDataControls. I am planning to include GridView, DataList, Repeater, DetailsView, FormView and ObjectDataSource in the initial release. Since the Asp.net version of these controls does not have any object model in the client side as those were released long before Ajax framework, currently the only choice available working with this controls is to surround these controls in an UpdatePanel. UpdatePanel is a great option for developing Small/Mid size ......

Posted On Friday, June 15, 2007 4:20 PM

Column Drag and Drop Support Added in Ajax Grid
My Recent article Asp.net Ajax Grid and Pager is a huge hit. Currently it is in Asp.net front page. I have recently added Column Drag-Drop Support. If you find the Control exciting, please vote me to win the monthly article contest at DotNetSlackers.com ......

Posted On Thursday, June 7, 2007 1:49 PM

Asp.net Ajax Control Development
In my previously article I have presented the Asp.net Ajax Grid, I am currently writing a comprehensive guide of Developing Asp.net Ajax controls. This will certainly help you to write your own custom control. If you have not checked my previous article I strongly recommend you to read it first.

Posted On Saturday, June 2, 2007 7:18 PM

Asp.net Ajax Grid and Pager Control
My recent article "ASP.NET Ajax Grid and Pager" has been published in DotNetSlackers.com. A fully designer supported Ajax Control, which mimics the GridView Control in client side. Please vote for me if you find it useful ......

Posted On Thursday, May 31, 2007 3:15 PM

Copyright © Kazi Manzur Rashid | Powered by: GeeksWithBlogs.net