Tag | AJAX Posts

Yesterday, I found these 5 AJAX Anti patterns The "anti patterns" are simply what you should avoid when doing AJAX on your website. You should find them as helpful as the top ten AJAX mistakes I linked to before (or even more). O.K.. You must have realized that the notes are from IBM, and I know my typical readers (if any) who do it the AJAX way are all using ASP.NET AJAX, but still, the notes all are concepts demonstrated with only XHTML/JavaScript code, so, it should be good for you to go with ...
Previously I mentioned the AJAX.NET library from Microsoft – I thought I’d add that this is an open source – that’s right, open source – project from the Redmond Giant. Works in Firefox, because it’s all JavaScript, baby. At least, enough of it is to matter.

The tool is available at http://ajax.asp.net/

Last week I was listening to Jack Greenfield on .Net Rocks! discussing software factories. Jack views software factories beyond mere code reuse, but extending to controls, tools, etc. He states that he believes, and I agree with him on this, that developers are hell-bent-for-leather to build everything from scratch every time, and that we have to learn to use tools to free us to build bigger and better things instead of re-inventing the wheel every time. This caused me to think about my own approach ...
Overview Software Architect with 16 years of development experience using a myriad of technologies. Have exercised technical leadership in all stages of software lifecycle via collaboration with business stakeholders in defining system requirements, object-oriented analysis and design, design reviews, code reviews, and collaboration with developers and IT staff in troubleshooting/debugging production issues. Have written reusable frameworks and components to provide rapid delivery of reliable, extensible ...
Microsoft has a released a new technology showcase site called Dinner Now. From the website: DinnerNow is a fictious [sic.] marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies. The demo utilizes several technologies including: IIS7, ASP.NET Ajax Extensions, Linq, Windows Communication Foundation, Windows Workflow Foundation, ...
And so for my final report from the MVP summit. For the BizTalk MVPs, day four started with a Q&A session with product team members. A number of issues were discussed centred on the recurrent themes of evolving a coherent strategy across the Connected Services Division and the more effective inclusion of the MVP community into the feedback loop. From my perspective, the BizTalk MVPs must surely be a valuable, if rather under-utilised, resource for CSD. The collective wisdom and experience bought ...
I came across WebMethods where parameter is passed as ref. But is this a good practice? //Option1 with ref[WebMethod]public void Transaction2(ref Test test ){}As opposed to writing//Option2[WebMethod]... Test Transaction1(Test test ){}But we should be aware that when we do like this in WebMethod it does not work the same as normal programming concept where a ref points to the same storage location of the calling variable.If we look carefully in the Proxy that .Net Generates we will find the followings://Option1 ...

Mike Ammerlaan has written an excellent article on Integrating ASP.NET AJAX with SharePoint.

Thanks to Mike for sharing the information and to Narendra Tiwari for bringing it to my notice.


Microsoft invites you to experience the next generation of application development platform that will let you deliver rich, interactive experiences to your customers. City Date Venue Hyderabad 15-Mar-07 Fortune Katriya Pune 16-Mar-07 Sun-N-Sand Delhi 21-Mar-07 Marriott Mumbai 22-Mar-07 Kohinoor Continental Chennai 23-Mar-07 Ambassador Pallava Bangalore 27-Mar-07 Royal Orchid Date, Time, Venue: 15 March 2006 9:30 AM (Registration and Tea) Hotel Fortune Katriya, 8, Rajbhavan Road, Somajiguda, Hyderabad ...

Here is a nice bit of JavaScript code to implement something similar to the Accordian ASP.NET Ajax control without all the overhead.

Read Re: How to Create Digg Comment Style Sliding DIVs with Javascript and CSS

While I'm walking through the new Asp.net AJAX extension tutorials, one of the example under topic Using the UpdatePanel Control with Data-Bound Controls really catch me. It shows how easy you can create an dynamic survey page with an content XML source. I remembered that back in 2002, how hard I was trying to create such implementation by using xslt and xmldocument class. At that time, java world has a server side solution called 'cocoon'. The basic idea is to translate XML to HTML using a xsl sheet. ...
Well, you heard it right! Visual Studio "Orcas" the next version of Visual Studio is getting ready and stated for release later this year. Visual Studio "Orcas" presents unlimited capabilities and compelling features which can make a developer's life, more productive. Lets have a peek into the list of features .NET Framework 3.5 (includes support for 3.0, 2.0 versions) - You can write applications which target any of these versions and Visual Studio would automatically filter intellisense, toolbox ...
The AJAX Chat Sample shows how to build a browser based chat using ASP .NET and AJAX. ASP.NET AJAX is the easiest and most enjoyable way to start writing asynchronous Web applications using ASP.NET. The official ASP.NET AJAX site is here, and you will want to make sure you have downloaded the last version of the framework and the control toolkit before continuing with this example. Code is available for download at Coding4Fun ...

Get back to the basics.   

Link to AJAX:Getting Started - MDC

If you haven't used DotNetNuke in the past few months you really need to check it out. In December they released version 4.4 which introduced several performance improvements. Some people seem to think that DotNetNuke is slow or has too much overhead. Since we sell modules for DotNetNuke we get to troubleshoot all sorts of DotNetNuke problems. The first thing we ask a customer is where is there site hosted and what kind of hosting plan do they have. Nearly 90% of our support issues that have to do ...
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2007/03/03/Getting-Started-With-AJAX.aspx




Here is a great little article about getting started with AJAX.
Do you have rules and standard in your life? I mean in what you do daily. There must be rules and standard right? For example, I don't smoking and I can't because that is my rules for better my health, and better money savings. My boss just email all of us here at Monster Technologies Malaysia recommendations and standards for our ajax implemetation. It reminds me about my all time favorite reference at http://www.ssw.com.au/ssw/S... They have a long list on Rules to Better...(web, ...
I was one of the ones who jumped on the AJAX bandwagon pretty quickly. I've built several private apps using AJAX, and really like it. I like the fact that the web becomes more "rich," and more closely resembles forms in functionality. The gains are enormous. That having been said, I found myself asking the question: Is it worth it? I've found (so far) that doing things with AJAX takes at least three times longer, there's much more room for error, and cross-browser issues are brought to the forefront. ...
I'm writing a web page that uses AJAX to poll the server every few seconds to see if there are any updates to data. Works great in IE6 and older using the XMLHttpRequest ActiveX object that you can instantiate from the progid "Msxml2.XMLHTTP.6.0". In order to keep polling I've got an event handler listening to the onreadystatechange event that calls a setTimeout at the end, so it pauses for 5 seconds, then calls into another function that sends out another request. Once you get the ball rolling, ...
When using BoundFIelds and domain objects... BoundFields use some algo that can't traverse the object hierarchy. What am I talking about? Take for instance a Northwind database, with certain objects mapped to data tables: public class Customer{ public int CustomerId; public IList<Order> Orders;} When binding to a list of Orders in a gridview: int customerId = int.Parse(selCustomer.Selec... customersList = CustomerService.GetCustomer... ...
Matt Hawley has released Version 2.0.6 of his Excentrics World Server Controls. The latest builds of this target Microsoft AJAX Extensions and look pretty slick. Here are the contents: Calendar PopupAllows you to easily create a popup calendar that does not require a postback to the server. Collapsable PanelAllows you to easily create a section of content in your web form that can be collapsable. Support for IE 5+ and Netscape 6+. Faq RepeaterThis new data-bound templated control will allow you to ...

Scott Guthrie has a fantastic post on Web based framework development using the WepParts, Asp.net Ajax and .Net framework 2.0.

http://weblogs.asp.net/scottgu/archive/2007/02/20/asp-net-ajax-and-sharepoint.aspx?CommentPosted=true#commentmessage

Does anything come free from Microsoft...!! Fact is that MS has been taking such initiatives from years. For example there are good investments from MS towards WebCast, Communities and news group, MSDN, etc which has always been free. At this point I noticed couple of good free courses: - Clinic 5135: Introduction to Developing with Windows® Presentation Foundation and Visual Studio® 2005 - Clinic 5136: Introduction to Developing with Windows® Workflow Foundation and Visual Studio® 2005 - Clinic ...
I have always given myself credit for particularly one thing, and that is that I can be fast as hell in development. Not until recently I have come to understand, with some help from both my employer and fellow co-workers, that being quick is really not that good. This is what I have realized: Try to avoid copy-pasting code. Sure you can benefit from rewriting a lot of similar lines of code but more than often you will end up correcting stuff. A great example is copy-pasting SqlCommand.Addwithvalue("@P... ...
As much as I hate to perpetuate the dissemination of coined terms, there's little one can do to fight it. Since AJAX (Asynchronous JavaScript and XML) arrived on scene, it has endured unending abuse at the hands of Sales and Marketing departments alike. Similarly, people's misconceptions regarding the use of this technology have abounded. People still seem to think that client side behaviors, such as drag & drop, fades, and various other JavaScript effects are the result of AJAX. As developers, ...
I recently had the pleasure of attending Web Directions North, a conference focused on Web Standards and accessibility, in addition to more streamlined development processes. This 4 day event was packed with interesting discussions revolving around making sites better for the end user. As someone who has been preaching the virtues of standards based development for a few years now, it was nice to be surrounded with like-minded individuals. It's ever more clear to me the direction the web is headed ...
My friend, Pandurang Nayak put up a good list of download links for Microsoft .NET Framework, WCF, WPF Extensions, AJAX 1.0 and a list of other latest Microsoft Technologies which can be downloaded for free. So, herebelow is the list. Product URL Release Status Notes Microsoft .NET Framework 3.0 http://www.microsoft.com/do... RTM Installs .NET Framework 3.0 and all libraries for WPF, WCF and WF Windows SDK and .NET ...
Thanks to Eric Schoonover and Mike Ammerlaan, we now have UpdatePanel working in SharePoint. To get UpdatePanel in your web part you can derive from Eric's AjaxBasePart (Note: In this sample Microsoft.SharePoint.WebPar... v2 is being used rather than the System.Web.UI.WebControls.W... v3 so you need .dwp instead of .webpart definitions if you are deploying your web part as a feature). For RAD development, head over to Jan Tielens' Blog for his SmartPart with AJAX support. It's ...
Link to David Hayden, C# MVP for more information.

Microsoft is offereing a free 2-hour E-Learning Clinic:

Clinic 5230: Developing Enhanced Web Experiences with Microsoft® ASP.NET AJAX Extensions

MIX is Microsoft's Conference for Web Designers. It is an annual Conference that happens in U.S. and is subsequently held in other subsidaries. Check my earlier post on IndiMix, last year. MIX 07 is going to be an exciting event for Web Developers, Designers and Web Business Persons. It is a fun filled event and guess what, it is happening in the fun filled place, Las Vegas. The event or rather the 72 Hour conference is from April 30 - May 2nd. So, whats lined up there for you? If you are a Web Designer, ...
In MyGeneration template for EntitySpaces (see Template: Ajax Auto Complete WebServices using EntitySpaces) I wanted to loop through all columns of the table but exclude those that can not be converted to string(e.g TimeStamp).It's can be done by calling EntitySpaces esPlugIn methods IsObjectType and IsArrayType foreach(IColumn col in cols) { if(!esPlugIn.IsArrayType(col) && !esPlugIn.IsObjectType(col)) {//exclude fields like TimeStamps //put your code here } } ...
This post became too long that I had to split to two parts (1, 2). Go To Part 1 The real fun started before SharePoint 2007 session started, I used to believe that this is a great extensible platform especially after reading so many blog posts and articles on areas like AJAX enabling it. Well, until I saw the army!!! A team or two from IT Worx and another team from OMS already working with SharePoint coming to ask about many things including (Why didn’t you warn us that the RTM is in a reality another ...
Ug I have just spend a few infuriating hours playing with Yahoo latest utility, Yahoo Pipes. Tim O’Reilly said this was a milestone in the History of the Internet. (Ug isn’t he the same bloke that coined the phrase ‘Web 2.0'? Ug, what does that mean?) In a nutshell Yahoo Pipes is a utility that lets you build your own custom searches, it allows you to aggregate search-engines searches and RSS into one stream of output. So for example, if I wanted to see all what had been posted about ‘Girl Geek ...
There are 14 core tracks and 2 virtual tracks at Tech·Ed this year, which will cover more than 1,000 sessions. In case you're wondering, a virtual track is a collection of sessions or labs that share a common theme but span several tracks. The Session Scheduler launches in April and we will get our first real look at the actual sessions available in each track. Until then, we have to be content to speculate. Looking at the technical tracks page, it became clear to me that there is a lot of information ...
Step 1 - Get the Tools Cost - $0Time - About 3 hours to download an install Visual Web Developer 2005 Express Edition Visual C# 2005 Express Edition SQL Server 2005 Express Edition - You will have the option of downloading this when you download Visual Web Developer and Visual C#, but I recommend downloading SQL Server separately with Advanced Services for reporting. Step 2 - Getting Comfortable Cost - $0 to $30 if you purchase the eBookTime - 30 hours for either the video or book route Start with ...
Here's a nice little sample on using modal Forms in ASP.NET. It was written by Lou Flees for CodeProject. From his introduction: The ModalPopupExtender control provided by the ASP.NET AJAX Control Toolkit allows the display of content in a div panel that floats in the middle of the page and prevents the user from interacting with the rest of the page until the div panel has been closed, thus creating a modal form type of entry on a web page. This is really useful technology but I wanted to make a ...
Is it just me or is this latest round of product releases from Microsoft overwhelming? I mean, just look at some of what has released: WIndows Workflow Foundation Windows Presentation Foundation WIndows Communication Foundation Vista Office 2007 ASP.NET Ajax 1.0 Microsoft Office Sharepoint Server (MOSS) 2007 Web Service Software Factory Smart Client Software Factory Web Client Software Factory And some of what is coming in the not too distant future: WPF/E ORCAS Longhorn Server MOM 2007 The dotted ...
ASP.NET AJAX How-To Videos are now updated to go with the RTM release of ASP.NET AJAX Extensions 1.0, and the acompanying release of ASP.NET AJAX Control Toolkit.
This post was significantly written targeted for developers with passionate curiosity. I love passion. That makes what I am. I've read Scott Guthrie's blog last night and I found that it was really interesting post on Orcas. Orcas is the code name for the next release of Visual Studio. I think they will probably release it this year, since as far as I know, most of Microsoft product iteration release in 2 years. Visual Studio 2005 shipped in November 2005. Perhaps you can guess when is the shipping ...
Hopefully I'm not jumping the gun, but I was just given a tentative "green light" to be able to go to Tech·Ed again this year. This year, the focus will be on all of the newly released products, such as Vista, Exchange Server 2007, Office 2007, and ASP.NET AJAX. I'll see you there ...
This guy calls me last night asking about implementation of Animation Extender from the Ajax ToolKit. I used the following code to bring in a simple effect of Fade on mouse over/OnHover Code: <asp:Menu ID="Menu1" runat="server"> <Items> <asp:MenuItem Value="~/images/cast/r... /> <asp:MenuItem Value="~/images/cast/r... /> <asp:MenuItem Value="~/images/cast/r... /> </Items> <StaticItemTemplate> <div ...
I keep getting emails frequently from many people asking me for a good place to start learning ASP.NET. I am really surprised to see the number of people writing to me regarding this and the interest ASP.NET has brought into the development community. By any standards, the most popular web development model over the last 10 years has been ASP.NET. It overtakes other competing technologies far ahead in terms of reach, simplicity and capabilities it can deliver on the Web. Well, coming back to learning ...
Over the past year I have been evaluating numerous third-party web controls. There are two companies at the top of the list: ComponentArt and Telerik. I have never been a big fan of using third-party controls in commercial software. However, if you look at some of the controls offered by these two companies it's hard to resist. We are just about to release our new product called Active CRMTM. Active CRM is a web application with a very unique UI. Initially, we had incorporated almost every web control ...
We are approaching the registration limit of 600 so get registered now! Info: http://codecamp.fladotnet.com Register: https://www.clicktoattend.c... Sessions: .NET Reflective and Adaptive Programming :: 20 Tips Every Developer Should Know About The CLR :: Using 3rd Party tools with CSLA :: Active Reports :: Advanced Code Generation using CodeSmith 4.0 :: Agile Development for Microsoft Technologists :: Amazon Elastic Compute Cloud :: Amazon Simple Storage Service :: The ...
Yesterday, Scott Guthrie made the announcement for the release of the promised ASP.NET AJAX Extensiions Source Code. It's available under the Microsoft Reference License (Ms-RL). by the way. WOW WOW WOW... So, it's not only the nearby coming MDC 2007 (the Egyptian developers feast as we in Arab Team 2000 call it), but also getting the source code for ASP.NET AJAX.... BEAUTIFUL :) One last notice, the source code for the Microsoft AJAX Library (under Microsoft Permissive License (Ms-PL)) and ASP.NET ...
From the minute I walked in the door, I could tell this was no developer tool launch. Or at least that is what Microsoft wanted us to think. The MS Expressions Launch in NYC was like no other that I had been to. There was Feng Shui, ambient music, artsy furniture, studio lighting at the top of 7 World Trade in a giant 52 floor studio. Actually some debated if it was just a completely unfinished floor or if it was suppose to be an art studio. Well no matter the atmosphere when it came to the business ...
What's COMET? When an Internet Application needs to be updated regularly, the only possible choice is to use polling. The HTTP protocol makes it impossible to have the server "push" data to the client. The faster the client needs to be updated, the faster the poll must be. Of course, there are limits, for example due to the network speed, the load, etc. A possible alternative is known under the name COMET. (Note: COMET is usually used as an alternative to AJAX, and AJAX implies the use of JavaScript ...
Tim Heuer blogged this morning about some Visual Studio Shortcut 'Posters' that are available from Microsoft as PDF, and I thought they'd be worth a mention in case anyone doesn't watch his blog: Visual Basic 2005 Keyboard Shortcut Reference Poster Visual C# 2005 Keyboard Shortcut Reference Poster Both are available in color or grayscale... In addition... I recently found these as well... Regular Expressions Cheat Sheet by Dave Child And a page full of links by John Sheehan: .NET Format String, ASP.NET ...
My post is a little late in coming, but I wanted to note that MS AJAX was recently released. Thanks to Scott Guthrie and the entire ASP.Net team for getting this out. I am certain I will be writing much about AJAX in the near future. I see they are releasing the ASP.NET AJAX 1.0 as a library itself, and a seperate AJAX Control Toolkit download is available from CodePlex. The Control Toolkit is a "shared source collaborative project." My first thought is this seems like a good way to make a supported ...
Great, I just set up this blog. Hopefully over the next few months I can blog about my Microsoft .Net development experience. Topics may include: Microsoft best (and worst) practices (i.e. evaluating the latest version of the Microsoft Data Access Block), ASP.Net (i.e. how I implemented the ObjectDataSource/Gridview/F... VB/C# comparisons, CSS Formatting, MS AJAX/ATLAS, ADO.Net, and anything else I find interesting related to the latest technology. Glad to see this forum is powered by Asp.net.' ...