Friday, April 27, 2007

I just read this news: Windows Live Gallery goes 2.0.

Taken from the original blog post:

Now you have one-stop-shopping for all your miniapps; Sidebar Gadgets, Toolbar buttons, Web Gadgets, SideShow Gadgets, as well as appearance properties like Display Pictures, Emoticons, and Messenger Winks.

While some of the areas, like Emoticons and Winks, are not populated yet, the other areas are fully staffed including
all 807 Sidebar Gadgets.

You can visit the gallery directly at http://gallery.live.com/

Grz, Kris.

Friday, April 27, 2007 6:22:26 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Saturday, April 21, 2007

Last week I needed a calendar control to input dates into a textbox, in Belgian notation, so I decided to give the Calendar extender control in the ASP.NET AJAX Toolkit a go.

I put this line in my web.config: <globalization culture="nl-BE" uiCulture="nl-BE" />

I added a TextBox control and a Calendar extender but it always gave me US notation. So I went out looking for a solution. Searching on the ASP.NET forums quickly answered my question. The ScriptManagers EnableGlobalization property seems not to be set by default. After setting it to true my problem was solved immediately.

This was my little test code:

    1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="culturewithoutsettingscriptmanager.aspx.cs" Inherits="culturewithoutsettingscriptmanager" %>

    2 <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

    3 

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

    5 

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

    7 <head runat="server">

    8     <title>Untitled Page</title>

    9 </head>

   10 <body>

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

   12     <div>

   13         <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true">

   14         </asp:ScriptManager>

   15         <asp:TextBox runat="server" ID="TextBoxDate" Width="116px" />

   16         <asp:Button runat="server" ID="ButtonSave" OnClick="ButtonSave_Click" Text="Save" />

   17         <br />

   18         <asp:Label ID="LabelDate" runat="server"></asp:Label>

   19         <ajaxToolkit:CalendarExtender runat="server" ID="Calendar1"

   20         FirstDayOfWeek="Monday"

   21         TargetControlID="TextBoxDate" />

   22     </div>

   23     </form>

   24 </body>

   25 </html>

And the CodeFile:

    1 using System;

    2 using System.Data;

    3 using System.Configuration;

    4 using System.Collections;

    5 using System.Web;

    6 using System.Web.Security;

    7 using System.Web.UI;

    8 using System.Web.UI.WebControls;

    9 using System.Web.UI.WebControls.WebParts;

   10 using System.Web.UI.HtmlControls;

   11 

   12 public partial class culturewithoutsettingscriptmanager : System.Web.UI.Page

   13 {

   14     protected void Page_Load(object sender, EventArgs e)

   15     {

   16 

   17     }

   18     protected void ButtonSave_Click(object sender, EventArgs e)

   19     {

   20         DateTime dt;

   21         DateTime.TryParse(TextBoxDate.Text.Trim(), out dt);

   22 

   23         LabelDate.Text = dt.ToShortDateString();

   24     }

   25 }

Testing it with my birthdate, 13/06/1975, I got the expected result in LabelDate.

Grz, Kris. 

kick it on DotNetKicks.com

Saturday, April 21, 2007 3:29:30 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, April 17, 2007

Since I shifted to another project/client I'm constantly using my laptop so I decided to "upgrade" my user experience while developing by making it easier to type on a normal keyboard and to have my screen in a decent position instead of constantly looking down. So I decided to buy a Logitech Alto.

I like the soft keyboard and the integrated USB hub to plug my mouse in (a Logitech MX 1000 laser btw). I only had the pleasure to work with it for a single day but I already like it a lot.

Grz, Kris.

Tuesday, April 17, 2007 6:12:48 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [2]  |  Trackback
 Monday, April 16, 2007

Somasegar blogged about it. Finally the new name of WPF/e is known and it's Silverlight. I still have to get used to the new name but think it's better this way because it makes it easier to understand for less technical people that it was little to do with WPF. Microsofts hope is of course that it'll be a Flash killer but they have quite some downloads to go. But on the other hand I hope more games will be coming out soon like these: WPF/e games. Of course it'll be Silverlight games then.

You can also see a small video about it on10.

Grz, Kris.

Technorati tags: , ,
Monday, April 16, 2007 6:07:27 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Monday, April 09, 2007

I'm using dasBlog for nearly a year now and am quite pleased with it. Since recently Mads Kristensen decided to get his hands dirty and create a new blogengine that he likes to share with the rest of the community by making it open source on CodePlex. Way to go!!

If you're interested you can grab the source code here: http://www.codeplex.com/blogengine.

Grz, Kris.

Technorati tags: , , ,
Monday, April 09, 2007 8:45:36 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [3]  |  Trackback
 Saturday, April 07, 2007

Thanks to Bart Wessel's blog I found out about the existence of these posters:

  • Developer Roadmap for the 2007 Microsoft Office System.
  • Microsoft Office InfoPath 2007 Managed Object Model Poster.
  • Developer Map for SharePoint Products and Technologies Poster.

You can download them here.

Grz, Kris.

Saturday, April 07, 2007 2:09:16 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, April 03, 2007

I just found out that Telerik's creating a code conversion tool: http://converter.telerik.com/. It looks pretty slick with AJAX integration. No wonder because Telerik's been very busy on that part.

Another conversion tool that I used during the last couple of years are these: C# to VB.NET and VB.NET to C#.

Update: Gill pointed out in the comments that #Develop also has this functionality.

Grz, Kris.

Technorati tags: , , ,

kick it on DotNetKicks.com

 |  | 
Tuesday, April 03, 2007 5:24:20 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [3]  |  Trackback
 Monday, April 02, 2007

I blogged about the nice feature of Conversation in a former post but I just found out, thanks to Joe Stagner (the guy behind the learning videos at the ASP.NET site), about adding a calendar to your email. Check out this post: Office 2007 Coolness...Part 1 of at least 10!

Grz, Kris.

Technorati tags: ,
Monday, April 02, 2007 6:15:09 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Soon, at MIX 07, WPF/e will be renamed as we were told last week by Jeff Prosise at Dev Days Belgium. Would be great because all too often people think it's the same as WPF, which it's not. WPF/e is a browser plugin, and Microsoft plans to have it available for different browsers and different OS'es. I've even heard/read somewhere that it'll also become available on mobile phones, pda's, ...

Why do I think that WPF/e, or the soon to be renamed version, will become a hit? GAMES! I got to know Flash several years ago, when it was still version 3, and I had to design a website for one of the parties I and a couple of friends organised (back in 1998). It became silently more and more popular, especially when it wasn't only timelines and stuff anymore but became a rich environment a developer could program with Actionscript. Especially games made it popular. Heck, even my mother likes to play those flash games online.

Ok, enough babbling from my side, get the plugin, and get gaming: 

Grz, Kris.

Monday, April 02, 2007 5:39:43 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [1]  |  Trackback