# Tuesday, 26 September 2006

Yesterday I visited the .NET Framework 3.0 Development event provided by Microsoft. It was a great introduction to the new upcoming technologies: WPF, Cardspace, WCF and WF.

The first 2 sessions were presented by Peter Himschoot, a regional director for Belgium. The last 2 were presented by Ingo Rammer, the known Austrian regional director.

My impression: WPF looks way cool. It looks quite flexibel and the 3D effects were also looking great. Peter also showed us a WPF application running sandboxed in Internet Explorer and apparently this is called an XBAP application.

CardSpace looks promising but I still need to see it in practice. If it can live up to the expectations it could have a very bright future though.

Then Ingo showed us WCF and later on WF. This was for me the first time I saw WF in action. Boy did I wish I could already use it in my current project, it would a great time saver for the workflows I need to implement.

The last session, and also the most interesting probably, was the one where WCF and WF were used together. I just checked Ingo's blog and as he promised he uploaded the slides and demo applications. You can download them here.

Grz, Kris.

MSDN | .NET 3.0 | IE | WCF | WCS | WF | WPF
Tuesday, 26 September 2006 19:26:04 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Sunday, 24 September 2006

I guess I'm one of those people who like to experiment with new tools. For my feedreading I used google feedreader, RSS bandit, omea reader and yesterday evening I found out about this new feedreader called Greatnews. I didn't have a lot of time to experiment with it but it looks promissing. It supports labelling, of which I'm a fan, and it also stores the downloaded content on the hard drive so you can reread it even when you're offline.

If you want to learn more about you can take a look at the feature list.

Grz, Kris.

Sunday, 24 September 2006 09:10:44 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

Yesterday evening I upgraded my blog from 1.8 to 1.9.

The things I like already is the easier way to navigate to the previous or next day in the statistics (admin pages). Also the better way to navigate in the itemview to navigate to the previous or next blog article. It makes it much easier for someone to start reading a blog post and navigate to the follow up blog items. The tagcloud control is something I like a lot. It doesn't have the same advanced use like the tagcloud control of del.icio.us where you can further select "subtags".

When I downloaded the code and tested it on my laptop I quickly noticed that my IE7 RC1 didn't show the tagcloud correctly. After taking a look at the .css files of the dasBlog theme that I use, I quickly noticed that dasBlog.css contains definitions for the css classes that are used by the tagcloud but they were overridden in the base.css file. Commenting these overrides fixed it for me.

I also made the necessary adjustments to the itemtemplate in order to get my custom macros working. If you're interested in creating custom macros yourself you can check out my article about it: Creating custom macros for dasBlog.

Grz, Kris.

CSS | dasBlog
Sunday, 24 September 2006 08:17:12 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, 22 September 2006

My morning just got better: dasBlog 1.9 is out. You can already guess what I'll be looking at the coming weekend :-).

dasBlog19IsOut.aspx">kick it on DotNetKicks.comdasBlog19IsOut.aspx" border="0">

Friday, 22 September 2006 06:40:50 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, 13 September 2006

I installed the latest bits of the Release Candidate recently and really like it. Another great thing to find out is that javascript seems to be much faster now. This will especially be a great boost since javascript's becoming more and more important with the AJAX whirlwind. Also Microsoft AJAX will greatly benefit from this improvement.

I got the news from Ajaxian, here and here.

Grz, Kris.

Wednesday, 13 September 2006 19:40:38 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

I'm probably one of the last blogging about this but Atlas, the AJAX framework by Microsft, is going to be renamed. Also other good news: they'll do their best to ship a version 1.0, which will be supported, this year. Now we only get to get used to the new names:

  • Microsoft AJAX Library:  The client-side JavaScript library (i.e., all the .js files) that works with any browser and also supports any server-side framework, not just ASP.NET.
  • ASP.NET 2.0 AJAX Extensions: The server-side functionality that seamlessly integrates with ASP.NET and uses the same programming model familiar to existing ASP.NET developers.
  • ASP.NET AJAX Control Toolkit: The set of free, shared source controls and components that currently form the "Atlas" Control Toolkit community project hosted on CodePlex.
  • Microsoft AJAX = Microsoft AJAX Library + ASP.NET 2.0 AJAX Extensions.

You can read more about it on the blogs of Scott Guthrie, Brian Goldfarb & Keith Smith.

Grz, Kris.

kick it on DotNetKicks.com

Wednesday, 13 September 2006 17:42:43 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, 09 September 2006
# Wednesday, 06 September 2006

Unfortunately I don't understand Portugese. The reason why? There are a bunch of video downloads available right here.

Grz, Kris.

kick it on DotNetKicks.com

Wednesday, 06 September 2006 19:22:08 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 04 September 2006
Monday, 04 September 2006 08:26:49 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, 29 August 2006

People that use ASP.NET know that it's very easy to use the Properties pane in visual studio to quickly set some properties on a server control. By default already a lot of such properties are made available but sometimes you just want something that just doesn't come out of the box. Luckely the WebControl class also provides the Attributes property which is of type AttributeCollection. You can use the Add method to add new attributes to your control.

To make it more clear I created a small demo page that I used to answer a question on the ASP.NET forums.

    1 <%@ Page Language="C#" %>

    2 

    3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    4 

    5 <script runat="server">

    6 

    7     protected void Page_Load(object sender, EventArgs e)

    8     {

    9         ListBox1.Attributes.Add("ondblclick", "GetValue();");

   10     }

   11 </script>

   12 

   13 <html xmlns="http://www.w3.org/1999/xhtml" >

   14 <head runat="server">

   15     <title>Untitled Page</title>

   16     <script type="text/ecmascript">

   17     function GetValue()

   18     {

   19         box = document.getElementById('ListBox1');

   20         x = box.options[box.selectedIndex].value;

   21 

   22         if(document.all)

   23             document.getElementById('Label1').innerText = x;

   24         else // FireFox doesn't implement the innerText property.

   25             document.getElementById('Label1').textContent = x; 

   26     }

   27     </script>

   28 </head>

   29 <body>

   30     <form id="form1" runat="server">

   31     <div>

   32         <asp:ListBox ID="ListBox1" runat="server">

   33             <asp:ListItem>One</asp:ListItem>

   34             <asp:ListItem>Two</asp:ListItem>

   35             <asp:ListItem>Three</asp:ListItem>

   36         </asp:ListBox></div>

   37         <asp:Label runat="server" ID="Label1" />

   38     </form>

   39 </body>

   40 </html>

On line 9 you can see that I add an attribute. In this case the ondblClick javascript event. This results, once rendered in a browser to have the ability to double click on an item and have the selected value set as being the text of the label control. The javascript function that accomplishes this task is on line 19 - 25.

Tuesday, 29 August 2006 19:21:02 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |