LA.NET [PT]
Reflexões sobre C#, .NET e programação em geral
Browse by Tags
All Tags
»
Javascript
(
RSS
)
Asp.Net
MS AJAX
Trivia
oh, gosh! SO many ways to require a script…
30-11-2009 20:45
I’d like to apologize for the lack of posts lately…no, I haven’t given up in my Silverlight series, but I’ve been busy updating my existing ASP.NET book to the 4.0 version. It seems like I will have a lot of work (much more than I had anticipated, but the truth is that I really enjoy writing about technical stuff) so the Silverlight series won’t really go as...
Read More...
Some observations on MS AJAX and JQuery integration
24-11-2009 9:16
In my last post , I’ve talked a little bit about the new plugins introduced by the latest release of MS AJAX (beta, at the time of writing). One of the things that didn’t enjoy much was that I had to call the JQuery’s get method in order to get a reference to the DOM element array. What I was forgetting was that MS AJAX has really good integration with JQuery...
Read More...
MS AJAX beta – new plugins
23-11-2009 14:47
The MS AJAX beta release adds some new plugins to the previous ones. Besides the existing setCommand and bind, we now have access to the following plugins: addHander: you can use this plugin to set up a handler for one event fired by one or several DOM elements; removeHandler: as you can probably guess from its name, you can use this to cancel an existing DOM...
Read More...
MS AJAX beta – ACT support
23-11-2009 13:35
In the last week, MS AJAX beta was released during PDC 2009 . One of the things that this released added is ACT script loader support. If you go into the samples, you’ll see that there is an Extended folder which holds all the client files for the behaviors and controls exposed by the AjaxControlToolkit. The code files have all been updated so that its' definitions...
Read More...
No more hacks for the MS AJAX’s binding problem
13-11-2009 9:26
At least, when the RTM version is released! Ok, I guess you need some context: in the previous post , I talked about a problem which was mentioned to me by Andy in the comments of an existing post. The problem was that the __msajaxBindings field ended up being added to an object used in a live binding and that really means trouble when you try to serialize it...
Read More...
MS AJAX: bindings and serialization
11-11-2009 19:30
In my “goodbye MS AJAX post”, reader Andy asked a really interesting question : how to serialize an object which is used in a binding relationship? The main problem is that the JavaScriptSerializer doesn’t support circular references. Unfortunately, it doesn’t also provide a way for you to specify which properties should be serialized. However, the problem is...
Read More...
The AdoNetDataContext object: what about saving?
9-11-2009 14:34
Well, this really doesn’t deserve any special attention. Ok, let me put it another way: there’s a lot of work going on behind the scenes, but you shouldn’t have to worry with any of it. I’ve thought about writing a post on the objects that end up being used by the AdoNetDataContext to propagate changes back to the server, but after some thought, I’ve give up...
Read More...
Getting your ADO.NET Data Services uris right: the easy way
9-11-2009 12:13
Here we are again, for more on the MS AJAX library. In the previous post , we’ve seen that we can interact with ADO.NET Data Services by using the AdoNetDataContext instances. Today, we’ll be looking at more advanced features of the ADO.NET Data Services which are also available in the MS AJAX library. Before going on, I must confess that I’m not really an ADO...
Read More...
Getting started with the AdoNetDataContext
9-11-2009 10:54
Today we’re going to start looking at the AdoNetDataContext. This class expands the DataContext object and uses several specific methods for ensuring the correct interaction with an existing ADO.NET Data Service. These internal methods added by the AdoNetDataContext are essentially used in identity related operations. In other words, it extends the base DataContext...
Read More...
The DataContext component: creating entities
8-11-2009 12:53
Before we can move on and take a look at the AdoNetDataContext component, we need to talk about one more topic: creating entities and how it might be integrated with DataContext component. The DataContext exposes a createEntity method which can be used for creating new objects of a specific type. Internally, that method will always delegate the creation...
Read More...
The DataContext component: deferred properties
7-11-2009 21:39
Today we’ll keep looking at the DataContext component and we’ll see how it supports deferred properties. Deferred properties are properties which are lazy loaded as “needed”. Using deferred properties means that the component will try to make a remote call for getting the value of that property. As you’re probably expecting, this means that you’ll have to write...
Read More...
The DataContext component: linking objects
5-11-2009 11:48
Today we’ll keep going in our study of the DataContext component and we’ll see how we can establish relationships between objects through links. I guess you’re probably asking something like: “Hum…establishing relationships between objects…how about using properties?” For instance, suppose we’re working with person and contact instances from the previous post...
Read More...
Regular expressions and JavaScript – part II
5-11-2009 9:27
In the previous post , we’ve seen that we can build regular expression objections through a constructor ( RegExp) or by using a literal (/…/). Today I thought I’d be writing some code for illustrating the use of regular expressions. However, I think I’ll concentrate on MS AJAX and I’ll point you to this site if you want to know more about regular expressions...
Read More...
Regular expressions and JavaScript
4-11-2009 15:00
After writing my last post on getting style properties from JavaScript, I’ve noticed that I still haven’t written anything about JavaScript and regular expressions…and that’s why I’ll be writing a couple of posts on this topic. Before going on, a disclaimer: I’m not really an expert on regular expressions (do note that people have written books on them! and since...
Read More...
Getting the CSS display value: there’s more to it than you might think at first
4-11-2009 12:24
Well, I’m spoiled… that’s what happens when you use frameworks like JQuery …Everything is good until that one day…someone says something stupid: “I need you to write some JS code but I don’t want external references on JQuery !”. Yep, I thought exactly the same thing: WTF??? “Now, that we’re clear on external frameworks, can you please write me a function which ...
Read More...
Mais Entradas
Página seguinte »
Search
Go
This Blog
Início
Contact
Tags
.Net 2.0
Asp.Net
ATLAS
Avalon/WPF
Books
C#
C++\CLI
Controlos Asp.Net
Curtas LA.NET
Geral
Indigo/WCF
Javascript
JQuery
Monad
MS AJAX
MSDN
Multithreading
PowerShell
Silverlight
Tools
Trivia
VS
VS 2010
Web Services
Windows Forms
Community
Início
Blogues
Media
Foruns
Wikis
Grupos
Archives
Março 2010 (4)
Fevereiro 2010 (1)
Janeiro 2010 (16)
Dezembro 2009 (7)
Novembro 2009 (31)
Outubro 2009 (70)
Setembro 2009 (35)
Agosto 2009 (54)
Julho 2009 (20)
Junho 2007 (1)
Março 2007 (3)
Fevereiro 2007 (1)
Janeiro 2007 (3)
Dezembro 2006 (3)
Novembro 2006 (4)
Outubro 2006 (7)
Setembro 2006 (15)
Agosto 2006 (10)
Julho 2006 (21)
Junho 2006 (13)
Maio 2006 (14)
Abril 2006 (9)
Março 2006 (18)
Fevereiro 2006 (13)
Janeiro 2006 (40)
Dezembro 2005 (13)
Novembro 2005 (19)
Outubro 2005 (36)
Setembro 2005 (27)
Agosto 2005 (38)
Julho 2005 (32)
Junho 2005 (13)
Maio 2005 (15)
Abril 2005 (13)
Março 2005 (19)
Fevereiro 2005 (13)
Janeiro 2005 (22)
Dezembro 2004 (14)
Novembro 2004 (3)
Outubro 2004 (14)
Setembro 2004 (11)
Agosto 2004 (15)
Julho 2004 (16)
Junho 2004 (21)
Maio 2004 (12)
Abril 2004 (2)
Março 2004 (8)
Fevereiro 2004 (3)
Janeiro 2004 (2)
Dezembro 2003 (4)
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
News
My books