ASP.NET Weblogs (weblogs.asp.net) has great Ajax news, photos, videos and more
Areas provide a means of grouping controllers and views to allow building subsections of a large application in relative isolation to other sections. Each area can be implemented as a separate ASP.NET MVC project which can then be referenced by the main application. This helps manage the c...
So how is all of this implemented? Well the idea is to display an HTML textbox in a Content Editor Web Part. Using the jQuery library, an eventhandler is added to that textbox for every keypress. When there are more than three characters (value is configurable) entered in the textbox, jQuery...
You can ajaxify all controls that normally work with postbacks. Defines visually and codeless (in Visual Studio design-time) which elements should initiate AJAX requests and which elements should be updated No need to modify your application logic Allows you to update a number of page...
Dave Ward specializes in writing about ASP.NET, jQuery and ASP.NET AJAX. He is a contributing author to ASP.NET Ajax in Action, Second Edition from Manning, Nerd Dinner’s JavaScript secret weapon, listed on the Programming homepage of Alltop and newly inducted ASP Insider. Full Speed:dow...
Visual Studio 2008 comes with rich Web Testing support, but it’s not rich enough to test highly dynamic AJAX websites where the page content is generated dynamically from database and the same page output changes very frequently based on some external data source e.g. RSS feed. Although yo...
AJAX Building Interactive UI with AJAX – A look at JSON Serialization: Scott Mitchell has a nice article that explores the JSON serialization format used by ASP.NET AJAX when calling web-services and server end-points from client-side script.
Here is the latest in my link-listing series . Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past. You can also now follow me on twitter ( @realscottgu ) where I also post links and small posts. ASP....
A current snapshot of results shows that 76% of developers are using jQuery, compared with 48% using ASP.NET AJAX and 58% using AJAX Toolkit. Does that really mean that there are more jQuery developers than WebForms/ASP.NET AJAX developers? To confuse matters, AJAX Control Toolkit is b...
In this show Federico and Matthew talk about what exploratory testing (ET) is and how the ASP.NET QA team uses this methodology for testing. News Dynamic Data release in CodePlex.com TechEd 2009 Ajax Control Toolkit Refresh released. Exploratory Testing
We had an interesting discussion recently on the ASP Insiders mailing list and ended up talking about what cool stuff we could build on top of jQuery. Many interesting things were mentioned and it was a very useful discussion but one suggestion in particular struck my curiosity as it was so...
The Life And Times of an ASP.NET MVC Controller13 ASP.NET MVC extensibility points you have to know Pain Points? We Don't Have no Stinkin' Pain Points! When I asked Jeffery and Eric what the remaining pain points of ASP.NET MVC were, I got a surprising response – none. Since the framework is int...
In a post few month back , i showed how can i simulate a callback using JQuery and ASP.NET with my experimental FlickrXplorer project. More detail on this can be found at the following URL http://weblogs.asp.net/mehfuzh/archive/2008/10/13/using-jquery-to-do-ajax-form-posts-in-as...
Session 1: Internet Explorer 8 for Developers · Selectors API · AJAX Navigation enhancements with Virtual Earth demo on history, AJAX Cross Domain Calls · Scenic Ribbon API · Windows Web Services API · Additional enhancements that support development WHERE ARE THE EVENTS?
I’m currently working on a heavily AJAX-oriented ASP.NET MVC web application for a business client and using jQuery to call controller actions, retrieve JSON data and then manipulate the DOM to display the data. Several of the pages have quite a bit of dynamic HTML that has to be generated o...
The team released the April update to the Lightweight Test Automation Framework. “The Dark Ages” ASP.NET 1.0/2.0 During this time the team was very focused on automating everything. (disadvantage) This approach is not good with a changing Spec. (disadvantage) Bugs were being found to late i...
So how can this be solved with the help of jQuery? Well besides a very powerful DOM Selectors API, the jQuery library also has a DOM Maniplation API. This Manipulation API can change the HTML that’s rendered in the browser, by adding elements, removing elements etc. The idea is to write a Java...
The Controller class of ASP.NET MVC Framework has few overloaded methods to return json result from the controller actions. Internally it uses the JavaScriptSerializer which was introduced in ASP.NET AJAX Framework. But unlike the DataContractJsonSerializer which works on attribute...
If the error only affects a certain portion of the screen, usually you’ll want to disable the affected area and show some kind of error indicator there. If you NEED to have a popup, use an HTML overlay or something non-blocking that will allow the user to navigate away without being stopped t...
On the client-side, the browser provides two ways to generate HTML: innerHTML and the DOM API. Template rendering is of course possible, but only using a JavaScript library. To be honest, one should mention XSLT here, which is standard and widely supported but whose somewhat unusual synt...
I work on a product called Agility CMS. Agility CMS is a hosted web content management system - including a web application dedicated to actually editing website content, pages, sitemaps and other good stuff. What does it mean though? How much real benefit is there to dynamic compressi...
BizTalk is dead With Dublin coming up with the Framework 4.0, it makes no sense to purchase and invest in BizTalk anymore. Why spend gazillions of dollars when you’ll have the exact same services for free right in the Framework? Why being locked with a product when you get the API for free?
I hope everybody had a great holiday break and is ready to go for 2009 :). In .NET 3.5 SP1 we shipped some improvements to the AJAX framework, including the AJAX History Feature, which allows you to add history points in the browser for AJAX applications. There have been some great blog posts ab...
Future Dynamic Data implementations for MVC will feature a controller with virtual methods for insert, update and delete. Using virtual methods obviously means that developers will have the option to over-ride and replace any methods they see fit. Update: Check out Dynamic Data Previe...
Logout Let's dissect each section to see what's going on. Walking the code from top to bottom, you'll first notice I'm registering the AJAX Control Toolkit assembly. If you're not already familiar with this set of AJAX controls, I recommend you take a few minutes to learn about (link provi...
Our team's first encounter with this process was during a project code named Atlas (later to be known as ASP.NET AJAX). Back then, nobody was really sure how this would work out (and there wasn't a lot of guidelines coming from the division either), so it was understood that we would experime...
The age-old problem of ASP.NET changing a control’s ID creeps up. This is a problem because once you start interacting with style sheets and JavaScript the client IDs become very important. While there are a number of ways around this issue for both CSS and scripting, why not dodge the proble...
The app consists of two files: a web form that contains the HTML and jQuery code, and an Ajax-enabled WCF web service that returns JSON (JavaScript Object Notation) that will be rendered client side. Figure 3 - Required HTML Figure 8 - Working with JSON The Web Service
In the first part of this article I'll talk about how you can enable the jQuery JavaScript library in SharePoint 2007 sites and pages. The second part of this article will focus on using jQuery in SharePoint 2007 sites and pages. When I was at PDC’08, I attended a session about the jQuery JavaS...
With the html bridge and some client-side code you’re able to encrypt strings in JavaScript with the help of System.Security. In the AjaxSecurityProvider created above you have to override the ClientScript property to let Ajax.NET Professional encrypt the JSON strings using Silverlig...
Supporting predetermined and same event handlers calling sequence across all browsers. Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Where X is ASP.NET Ajax version number, you have installed. if (e) throw e; if (e) throw e; break;
Introduction If you haven't heard, we've shipped ASP.NET AJAX CodePlex Preview 3. It's live and available here. I'm really excited about this release because it includes client-side support for ADO.NET Data Services, replacing the AJAX Client Library for ADO.NET Data Services that we h...
Controls are where it’s at these days in the programming world. By using them you maximize re-use, enhance productivity and avoid building custom functionality. Plus, when you need a control to do something different you can always extend it rather than writing everything from scratc...
Suggested Reading: Web Application testing in .Net - WatiN Data Driven Web Testing With Visual Studio 2008 Team System Sean Lumley’s blog on Visual Studio Web Test and Load Test Ed Gla’s Blog on VSTS Load Testing Bill Barnett’s Blog on Visual Studio Web Test and Load Test
Building a Great ASP.NET AJAX Application from Scratch: Brad Abrams has a nice end to end application tutorial that shows off building an ASP.NET AJAX application from scratch. It covers ASP.NET, LINQ, Server and Client-side AJAX, the ASP.NET AJAX Control Toolkit, jQuery and more. A great e...
It is now official with Scott Guthrie's post that jQuery will be bundled with Asp.net. jQuery is a tiny 15K JavaScript library that contains features from UI tweaks, DOM manipulation to full Ajax control. In my last post, I have shown how to get going with Ajax.Form using Microsoft MVC Ajax lib...
Here is the latest in my link-listing series. Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past. ASP.NET 46 ASP.NET AJAX Control Toolkit Tutorials: Christian Wenz has published 46 super useful...
For those of you using the ASP.NET AJAX Controls, there is a potential pitfall in how HTTP handlers are managed that can affect your AJAX applications. This issue may take a little bit longer to explain than most, but that’s because it involves a concept probably unfamiliar to most AJAX dev...
So far you have seen simple object and list serialization. A best practice is to return a common result object that has some status, message and then the real payload. It's handy when you only need to return some error but no object or list. I use a common Result object that has three properties -...
Client side data binding, where we call a web service method via JavaScript and attach the resulting data to visual elements, is beginning to get a real foothold in this industry. On top of that, they have developed a system of client-side templating that allows us to easily transform the o...
jQuery is a lightweight open source JavaScript library (only 15kb in size) that in a relatively short span of time has become one of the most popular libraries on the web. For example, the below JavaScript uses jQuery to find all <div> elements within a page that have a CSS class of "pr...
There is a subtle change in the .NET 3.5 release of the Microsoft Ajax Library that might catch some developers by surprise when handling asynchronous postback errors. The change can be found at the end of the endPostBack function of the PageRequestManager object. In the first release of the...
In this series of blog entries, I build an entire MVC Forums application from start to finish. In this entry, I create the user interface for the Forums application by taking advantage of ASP.NET AJAX client templates. I build the entire user interface for the Forums application with a singl...
As we seen in my last post, declarative is very powerful. Let's now see how simple it is to use his own custom behavior. First of all, we need to create a behavior. In this example, we will use a simple HoverBehavior. His goal is just to swap a CSS class when mouse is over a DOM element. To create a behav...
Following this post regarding Master-Details implementation by the programmatic way, let's see how to do it through declarative way. This sample is based on the ASP.NET AJAX CodePlex Preview 2. Let's first create an .aspx page and add a ScriptManager to link the MicrosoftAjaxTemplates.js...
This past Thursday the ASP.NET MVC feature team published a new "Preview 5" release of the ASP.NET MVC framework. You can download the new release here. This "Preview 5" release works with both .NET 3.5 and the recently released .NET 3.5 SP1. It can also now be used with both Visual Studio 2008 as w...
Christian Wenz has pushed a new release of he PHP libraries for the Microsoft AJAX libraries with support version 3.5. Get it here on Codeplex http://www.codeplex.com/phpmsajax
From there, you learn even faster as you master the core professional skills like HTML, server controls, validation controls, state management, and user controls. Then, you learn how to use the best ADO.NET features for working with a database in a web application including: connection...
Note: Browsers only make two simultaneous requests per domain. By simply creating extra CNAMEs for images, style sheets and JavaScript files, you can greatly improve the load speed of a page. Resources Steve Smith's blogASP Alliance Cache ManagerBlack Belt ASP.NET Performance Session...
Faster, lighter and better than AJAX Off course that is in some of the cases and not all of them. AJAX is a very beautifull framework and has some great possibilities. Sometimes however a simple lightweighted callback is all that's needed to perform a simple task. (Read #9 over here). It is, no l...
Hi! Today I am happy to inform all you guy that Codeplex has just released the Ajax Control Toolkit for .NET3.5 SP1 . Everything is ready for you to get started with now. Bertrand Le Roy posted about this on more details, click here . To Download the Ajax Control Toolkit just go here: http://www.cod...
I will update this post once this is done. What's next? In the very short term, we will provide a client-side only version of the toolkit, similar to the Microsoft Ajax Library , that enables...(read more)
This week we found another subtle browser difference as we were running MVC Ajax tests. If you have been following the Asp.Net MVC project, you will know that we are currently working on adding an Ajax story to the framework. Basically, adding helper methods so that a developer can render lin...
Hi, Microsoft has released sp1 for dot net framework 3.5 and visual studio 2008 The SP1 has following feature update for Ado.net entity framework The SP1 for visual studio 2008 also has many notable bug fixes. You can find a list of the fixes here.
Once that logic is in place then, we can see how we could do the exact same thing but instead of formatting the post as an HTML web page, we could choose to format it as XML. We could choose to format it as JSON, or AMF, or any other way we might want to return that resource to the client.
It really helped me get some true insights for working with Ajax. Thanks to it I've written my first javascripts to call some methods and webservices using http. And has given me a clear idea of how to work with JSON. Anyway, if you get serious about Ajax, get this book, period.
Typically, when you are converting any project from VS 2003 to VS 2005 SP1, it converts as "web application" not "website". You can also convert a "website" to a "web application". There's an option "Convert to web application" to look for.
Since long I was wondering on how I will be able to use FileUpload control inside UpdatePanel and I am sure there will be lot of other people who were expecting the same to be working. I found an intersting video article by Joe Stagner in which he described how to use the FileUpload control insi...
Microsoft is about to ship Visual Studio 2008 SP1, and .NET Framework 3.5 SP1. Now service patches aren't always very exciting, but these are because they contain some great new features. You've probably already heard the buzz around AJAX History support, and Dynamic Data. Script Combin...
Most of you out there would have noticed that browser history button doesn’t work if you are using AJAX. Instead of rolling forward or backward the AJAX step they actually move the complete page. This can be a nightmare for users that always tend to use them. AJAX has a very nice feature known as...
Jess Chadwick describes how to integrate the ASP.NET AJAX framework with ASP.NET MVC. With a few tricks up his sleeve, Jess makes it easier than it seems. Jess is "Lead Code Monkey" at Infragistics, president of the New Jersey .NET User Group and contributor to the Code Camp Server project. Reso...
Yesterday was released the first preview of ASP.NET 4.0. Lot's of cool stuff come with this release and with this article i will try to demonstrate the use of templates. The example is available for download Let's start... First we have to download MicrosoftAjaxTemplates.js available from Code...
In the latest preview of the Microsoft ASP.NET MVC Framework, one of the newly included features is AJAX helper methods. It's going to be interesting to see where they go with these. At the moment, they've added just a couple of tasters. This blog post discusses how to set them up and make use of t...
The following is the higher level roadmap of MVC that available from CodePlex. Improved Ajax Support -Support multiple partial updates Improvements to the Ajax helper methods (link to action, ajax form, field and form observers) Helper Methods Improvements Validatio...
Pingback from 113 » ASP.NET Podcast Show #113 - Deep Dive into the ASP.NET AJAX …
But seriously, this one's a lot shorter (too short?) and you'll hopefully find the sound quality's improved. We've also heard from several people that, while it's easy for a group of geeks to criticize anything and everything, that doesn't necessarily transfer into useful information....
Here is the latest in my link-listing series . Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past. ASP.NET Displaying the Number of Active Users on an ASP.NET Site : Scott Mitchell continues his ex...
Note that the HTML button control "SubButton" is outside the UpdatePanel and is not defined as a Trigger to the UpdatePanel. In order to turn the Button off and get the UpdatePanel to update, we're going to do it all in JavaScript. If you use an ASP.NET Button control and disable the Button wit...
JavaScript Stack Traces in ASP.NET AJAX and JavaScript Error Publishing using ASP.NET AJAX: Joel Rumerman has put together two nice posts that detail some god ways to capture JavaScript stack trace information, as well as to report JavaScript errors using ASP.NET AJAX.
The Folks Project Team has been released a new stable version (0.0.2). This release contains many speed improvements and several bug fixs.
Here is the latest in my link-listing series. Also check out my ASP.NET Tips, Tricks and Tutorials page for links to popular articles I've done myself in the past. ASP.NET ASP.NET Security Tutorial Series: Scott Mitchell (who wrote the excellent Data Access Tutorial Series for us last year)...
My first book "Building a Web 2.0 Portal with ASP.NET 3.5" from O'Reilly is published and available in the stores. This book explains in detail the architecture design, development, test, deployment, performance and scalability challenges of my open source web portal Dropthings.com. Drop...
Note that if you create a new web application that targets .NET 3.5 you'll be able to use ASP.NET AJAX. There is also now a version of the ASP.NET AJAX Control Toolkit that targets .NET 3.5 that you can download here: www.codeplex.com/. ...