Move to http://me.dflying.net/
Dflying | 28 April, 2006 23:06
I decided to move out using WordPress with a new domain name
http://me.dflying.net/
for some reason. Kindly remind please update your bookmark if you are interested in here. The old blog will still exist for you reference.I will still post computer tech related posts here. At the meantime, welcome to check my daily life at: http://spaces.msn.com/dflying/ and the localized (Chinese) tech blog at: http://dflying.cnblogs.com/.
God bless me!
Posted in General . Comment: (38). Trackbacks:(1011). Permalink
Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
Dflying | 20 April, 2006 05:42
I want to introduce some of the more advanced Atlas Sys.UI.Data controls in this series, including:
- Sys.UI.Data.ListView: Display Listible Data Using ASP.NET Atlas ListView Control
- Sys.UI.Data.ItemView: Display One Item in a Collection using ASP.NET Atlas ItemView Control
- Sys.UI.Data.DataNavigator: Paging Your List Using ASP.NET Atlas PageNavigator Control
- Sys.UI.Data.SortBehavior: Sorting Your List Using ASP.NET Atlas SortBehavior
- Sys.UI.Data.XSLTView: Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
This is the fifth, also the last post: Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
(More)Posted in Atlas . Comment: (63). Trackbacks:(497). Permalink
Sorting Your List Using ASP.NET Atlas SortBehavior
Dflying | 19 April, 2006 00:18
I want to introduce some of the more advanced Atlas Sys.UI.Data controls in this series, including:
- Sys.UI.Data.ListView: Display Listible Data Using ASP.NET Atlas ListView Control
- Sys.UI.Data.ItemView: Display One Item in a Collection using ASP.NET Atlas ItemView Control
- Sys.UI.Data.DataNavigator: Paging Your List Using ASP.NET Atlas PageNavigator Control
- Sys.UI.Data.SortBehavior: Sorting Your List Using ASP.NET Atlas SortBehavior
- Sys.UI.Data.XSLTView: Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
This is the fourth post: Sorting Your List Using ASP.NET Atlas SortBehavior
(More)Posted in Atlas . Comment: (2). Trackbacks:(303). Permalink
Paging Your List Using ASP.NET Atlas PageNavigator Control
Dflying | 17 April, 2006 23:33
I want to introduce some of the more advanced Atlas Sys.UI.Data controls in this series, including:
- Sys.UI.Data.ListView: Display Listible Data Using ASP.NET Atlas ListView Control
- Sys.UI.Data.ItemView: Display One Item in a Collection using ASP.NET Atlas ItemView Control
- Sys.UI.Data.DataNavigator: Paging Your List Using ASP.NET Atlas PageNavigator Control
- Sys.UI.Data.SortBehavior: Sorting Your List Using ASP.NET Atlas SortBehavior
- Sys.UI.Data.XSLTView: Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
This is the third post: Paging Your List Using ASP.NET Atlas PageNavigator Control
(More)Posted in Atlas . Comment: (70). Trackbacks:(619). Permalink
Introduction to Atlas Controls in Namespace Sys.Data – DataView and DataFilter
Dflying | 15 April, 2006 20:54
This is the third, also the last part of introductions to Sys.Data controls. In my previous posts, we know how to get data from server side and store in client side by using DataSource controls and how to modify the data we get on client side by using DataTable object. We can display the data in the DataTable right now to user but in most cases we need to do some decorations before showing, for example, we may need to page our data if it contains thousands of rows, or our user may be only interested in some of the data such as Dflying’s data. That’s the reason why we have to introduce the DataView and DataFilter objects. Now let’s see how to decorate our data for UI controls by using DataView object and DataFilter object.
(More)Posted in Atlas . Comment: (1). Trackbacks:(191). Permalink
Introduction to Atlas Controls in Namespace Sys.Data – DataColumn, DataRow and DataTable
Dflying | 14 April, 2006 20:39
In this post we are going to touch the key client side data components of Atlas – the DataTable, which is used to represent a tabular data structure. The DataTable object connects the actual data – the DataSource and the UI control – the ListView. It is the data field of a DataSource object, and can also be decorated by a DataView object by filtering and sorting the rows or doing the page navigations. Here Atlas also shares the ASP.NET/ADO.NET concepts: the Atlas DataSource is similar with ADO.NET SqlDataSource, the Atlas DataTable is similar with ADO.NET DataTable and the Atlas ListView is similar with ASP.NET ListView. Pretty easy to understand, isn't it? A DataTable contains a collection of DataColumn objects and a collection of DataRow objects, so let's begin with the DataColumn and DataRow.
(More)Posted in Atlas . Comment: (0). Trackbacks:(19). Permalink
Introduction to Atlas Controls in Namespace Sys.Data – DataSource and XMLDataSource
Dflying | 14 April, 2006 06:14
Since there are no introductions or official documents about the Atlas controls in namespace Sys.Data, and data accessing is so important a part is current web applications, I decided to share some of my ideas and experiences on this part of Atlas by a series of posts. Hope may help. Please keep in mind that this series is just the introductions. That is, I will only tell how to use these controls but not how they are implemented or worked. If you are interested in the more advanced topics, please be a little patient for I prefer finishing this kind of introduction series firstly. By the way, I am still in the progress of learning, so anything incorrect please point me out directly. And, any ideas please shout out by commenting down.
You have to manage data in most of your web applications. I mean retrieving and displaying to user and saving back to database after modifying. This is a common task that we have to perform in almost every project, so ASP.NET abstract it as a build-in object, DataSource. Atlas client side script library, as well as ASP.NET, has the same concept of DataSource.
(More)Posted in Atlas . Comment: (0). Trackbacks:(675). Permalink
Build Your Own Actions in ASP.NET Atlas
Dflying | 13 April, 2006 03:09
Components derived from the Action class in Atlas are used to specify the code to execute in response to events, which is similar to the event handlers. Action components enable you to declaratively bind actions to client events for common tasks such as calling methods, setting properties, and triggering PostBacks.
The best reference of Atlas is the source code you know, and we can find there are three kinds of Atlas build-in Actions, which inherit from Sys.Action base class:
- Sys.InvokeMethodAction: Defines an action that calls a method.
- Set.SetPropertyAction: Defines an action that sets an object property to a specified value.
- Sys.WebForms.PostBackAction: Defines an action that performs a PostBack.
Posted in Atlas . Comment: (100). Trackbacks:(983). Permalink
Build Your Own Behaviors in ASP.NET Atlas
Dflying | 12 April, 2006 00:30
Behaviors in Atlas are used to define what a control will behave when an event got fired. Behaviors encapsulate actions that can be associated with DHTML events, such as the click or hover events. They can also be a kind of components that can be attached to the client control to provide more sophisticated UI and behavioral characteristics, including complex operations such as drag-and-drop behavior, auto-completion, and floating actions. They are defined in a collection named behaviors on the client control.
(More)Posted in Atlas . Comment: (0). Trackbacks:(192). Permalink
Atlas Client Side JavaScript Debugging
Dflying | 09 April, 2006 20:36
Introduction
It is much more challenging to write Atlas code than C# code, for there’s no compile time check or IntelliSence in coding, and you have to trace the traffic between the client and server in runtime. Still there’s no powerful IDE/debugger for JavaScript.
I’ve been working on Atlas for about half a year, and in this post I want to share some of my knowledge and experiences about Atlas debugging issues to make life easier.
(More)Posted in Atlas . Comment: (62). Trackbacks:(567). Permalink
Display One Item in a Collection using ASP.NET Atlas ItemView Control
Dflying | 08 April, 2006 20:36
I want to introduce some of the more advanced Atlas Sys.UI.Data controls in this series, including:
- Sys.UI.Data.ListView: Display Listible Data Using ASP.NET Atlas ListView Control
- Sys.UI.Data.ItemView: Display One Item in a Collection using ASP.NET Atlas ItemView Control
- Sys.UI.Data.DataNavigator: Paging Your List Using ASP.NET Atlas PageNavigator Control
- Sys.UI.Data.SortBehavior: Sorting Your List Using ASP.NET Atlas SortBehavior
- Sys.UI.Data.XSLTView: Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
This is the second post of the series: Display One Item in a Collection using ASP.NET Atlas ItemView Control
We need to display user a detailed view about our items in a collection, such as the details about your product in a shopping application. ASP.NET Atlas ItemView client side control provides this feature for you, just like the ASP.NET server control DetailsView behaviors, but it runs totally on the client side.
(More)Posted in Atlas . Comment: (0). Trackbacks:(96). Permalink
Display Listible Data Using ASP.NET Atlas ListView Control
Dflying | 08 April, 2006 06:27
I want to introduce some of the more advanced Atlas Sys.UI.Data controls in this series, including:
- Sys.UI.Data.ListView: Display Listible Data Using ASP.NET Atlas ListView Control
- Sys.UI.Data.ItemView: Display One Item in a Collection using ASP.NET Atlas ItemView Control
- Sys.UI.Data.DataNavigator: Paging Your List Using ASP.NET Atlas PageNavigator Control
- Sys.UI.Data.SortBehavior: Sorting Your List Using ASP.NET Atlas SortBehavior
- Sys.UI.Data.XSLTView: Apply XSLT to XML Using ASP.NET Atlas XSLTView Control
This is the first post: Display Listible Data Using ASP.NET Atlas ListView Control.
You have to find a way to show user a table of data in most of the current web applications. Just like the ASP.NET GridView server control does, Atlas ListView control provides the same behavior on client side in the AJAX way. Though you can use traditional ASP.NET GridView server control and then simply add an Atlas UpdatePanel to let you GridView work in AJAX way, but this is low efficient and not the ‘pure’ Atlas way. You may need to use the full client side Atlas control ListView to make it better. Do not be afraid, this is just as simple as the GridView with similar concepts such as ItemTemplate, but keep in mind there’s no IntelliSence provided by the IDE so you must pay more attention on typing the code.
(More)Posted in Atlas . Comment: (58). Trackbacks:(945). Permalink
Build Your Own Validators in ASP.NET Atlas
Dflying | 06 April, 2006 20:08
Validators are a powerful way of checking the data entered by the user into ASP.NET Atlas client side controls of type InputControl, such as the Web.UI.TextBox control. If you are familiar with ASP.NET, you must know the validators provided by ASP.NET as server controls. Atlas validators provide the same behavior but runs totally on client side. There are a number of built-in validators:
- requiredFieldValidator. Checks that data was entered.
- typeValidator. Checks the type of the data, such as Number.
- rangeValidator. Checks the input value between an upper and lower bound.
- customValidator. Defines a custom expression handler.
- regexValidator. Checks the data using a regular expression. The regular expression value must be delimited with "/" characters.
Posted in Atlas . Comment: (11). Trackbacks:(89). Permalink
Got the First PageRank - 3
Dflying | 06 April, 2006 04:24
It is really amazing that I got my first Google PageRank of this site (http://dflying.dflying.net ): 3 in about 45 days!
(More)Posted in General . Comment: (163). Trackbacks:(778). Permalink
Build Your Own Transformers in ASP.NET Atlas
Dflying | 05 April, 2006 07:53
Binding in ASP.NET Altas is really a powerful way to connect two objects (You may find more info about binding here: http://dflying.dflying.net/1/archive/109_atlas_unleashed-bindings.html). Atlas will automatically apply the changes of the property in source object to the target object if you bind them together. But what if you want to have some modifications to the data before applying? Say if you want to show user a list with item indexes, and you want the indexes start at 1 instead of the default JavaScript start index 0. Here you should use the Atlas transformer. A transformer in Atlas is something just like a pipe connects the source binding and target binding, which filters/decorates/transforms the incoming value in some way (in this case is add 1) and then applies to the outgoing value.
Atlas provides some build in transformers such as Add, Multiply and Compare. But you may also need to create your own transformers in the real world development. Let’s see how to build your own transformers by going through a CustomBooleanTransformer demo.
(More)Posted in Atlas . Comment: (117). Trackbacks:(700). Permalink




