LA.NET [EN]

June, 2007Archive

Jun 29

The msmvps.com site was down in the last 2 days, but it looks like the team solved the problem (which is cool :),,). while the site was down, i just got older and now I”m 31 🙂 (on the 27th to be precise). I”ve also spent some time looking at Silverlight and I”m still not […]

Read the rest of this entry »

Jun 24

Protected: Working from home

Posted in Trivia       Enter your password to view comments.

There is no excerpt because this is a protected post.

Read the rest of this entry »

Jun 23

Silverlight: GOA controls

Posted in Silverlight       Comments Off on Silverlight: GOA controls

A cool pack of 40+ controls for flash and silverlight. Go get them while they”re free :,,)

Read the rest of this entry »

Jun 22

31 days of Resharper

Posted in Uncategorized       Comments Off on 31 days of Resharper

Since there”s a new release of this great tool, maybe it”s reread the 31 days of resharper :,,)

Read the rest of this entry »

Jun 22

When you look at the MediaElement object, it”s obvious that it”s really easy to use when you need to play a file and you know the location of that file. When you think about it, you have several options when you want to open a movie: you can download the movie before starting to play it (using […]

Read the rest of this entry »

Jun 21

Book review: The non-designer''s design book

Posted in Books       Comments Off on Book review: The non-designer''s design book

This short book is appropriate for everyone who needs to learn some basics about the principles of design. After presenting the basic principles, the author gives lots of examples that show how to improve some bad design examples. Since it”s a short book, you”ll be able to read it in 2 days. If you”re like me, […]

Read the rest of this entry »

Jun 21

More tutorials on Silverlight and blend

Posted in Silverlight       Comments Off on More tutorials on Silverlight and blend

Man, these topics are hot! Here”s another cool site that has some tutorials on these technologies.

Read the rest of this entry »

Jun 21

Resharper 3.0 is out

Posted in Trivia       Comments Off on Resharper 3.0 is out

As always, there”s also a 30 day trial version available. Check it out here!

Read the rest of this entry »

Jun 21

Adding glyths to your silverlight apps

Posted in Silverlight       Comments Off on Adding glyths to your silverlight apps

Well, it ended up being easier than I though. You have two options: use the glyphs object or download the font using a downloader object and then associate it with the TextBlock object that has the text you want to show. There are already two excellent posts that show these options: a cool glyph explorer: […]

Read the rest of this entry »

Jun 21

There''s a new release of the AJAX toolkit

Posted in ASP.NET       Comments Off on There''s a new release of the AJAX toolkit

And it seems like it solves some of the issues i”ve mentioned before. Delay has a great post that explains everything that you need to know about it.

Read the rest of this entry »

Jun 20

A few weeks ago I spent some hours building some controls that ease the integration of search on a web site. My initial prototype consisted of two ASP.NET controls: a data source control and a composite control. Its objective was to search the web by using the MSN Search SOAP API. I documented the whole thing with […]

Read the rest of this entry »

Jun 20

Getting your initParams from managed code

Posted in Silverlight       Comments Off on Getting your initParams from managed code

You can use the initParams property of the Siverlight control to pass aditional infomation during the creation of the control. There”s already a property which should let you get it from managed code:StartupArguments. Unfortunately, it wil always return an empty string in the current release: WebApplication.Current.StartupArguments Yasser suggested a workaround for the current version untill we get […]

Read the rest of this entry »

Jun 20

Cool workaround for "complex" parsing in the current Silverlight alpha version

Posted in Silverlight       Comments Off on Cool workaround for "complex" parsing in the current Silverlight alpha version

In the current alpha version you can only have “simple” properties exposed by your controls. Trying to expose a complex property ends up generating a parsing exception. This limitation has been ackowledged by the team. Here”s a cool workaround which you can use when you need to add collections of items in your control.

Read the rest of this entry »

Jun 15

Simple: call one of the overloads of the static Submit methods exposed by the HtmlPage class: HtmlPage.Submit(); HtmlPage.Submit( “formId” ); If you only have  a form on you”re page, then using the first option is the way to go. if you have several forms, you need to specify the id of the form you”re submiting […]

Read the rest of this entry »

Jun 15

Today I”ve been playing with the Windowless property of the Silverlight control and seeing what can be achieved when you set this property to true. The first thing you should keep in mind is that this property can only be set during the creation of the control. You can always check the value of the […]

Read the rest of this entry »

Jun 15

Silverlight: extra parameter on the object that is passed to the createObjectEx method

Posted in Silverlight       Comments Off on Silverlight: extra parameter on the object that is passed to the createObjectEx method

Scott”s post leads me to thinking that (maybe) we need an extra parameter on the object that is sent to the createObjectEx method: ignoreVerifications. Setting this parameter to true would prevent all the verifications that are done on the Silverlight.js file during the creation of a new Silverlight control. It”s true that there”s already an ignoreBrowserVer […]

Read the rest of this entry »

Jun 14

Today I”ve run some tests on drag-n-drop support available for the alpha version. It ended up being really easy to add this kind of behavior to a silverlight element. Lets start by defining some elements in XAML, which are placed inside a top canvas: <Rectangle x:Name=”r” Width=”66″ Height=”80″ Canvas.Left=”41″ Canvas.Top=”40.537″        Fill=”red” /> <Rectangle x:Name=”r2″ […]

Read the rest of this entry »

Jun 14

Silverlight alpha: handling SL object''s events from Javascript code

Posted in Silverlight       Comments Off on Silverlight alpha: handling SL object''s events from Javascript code

You have several options for handling events fired by your SL objects in javascript. The first option is to hook up the event from Javascript code. In this scenario, you”ll probably start by hooking up the onLoad event of the Silverlight control: function createSilverlight() {  Sys.Silverlight.createObjectEx({       source: “Page.xaml”,       parentElement: document.getElementById(“SilverlightControlHost”),       id: “SilverlightControl”,       properties: {          width: “100%”,          height: “100%”,          version: “0.95”,          […]

Read the rest of this entry »

Jun 13

Calling a Silverlight WCF service – part II

Posted in Silverlight       Comments Off on Calling a Silverlight WCF service – part II

Yesterday I showed one approach to call a WCF service from a silverlight page. Today, after some posts exchanges here, i ended up installing a VPC XP image and i was able to see that, on a clean installation (no VS 2005), you can get a proxy automatically by using the add web reference menu. So, […]

Read the rest of this entry »

Jun 12

Yesterday I talked about calling a traditional ASMX web service from your Silverlight app. Today, I”ll be talking about WCF services. As I”ve said yesterday, in the current release, you only have tool support for getting a proxy to an ASMX web service (well, at least I”ve tried getting a web reference to a WCF service […]

Read the rest of this entry »

Jun 12

Besides fixing some bugs and adding some new features to the existing controls, the new release of the AJAX Toolkit introduces the ToolkitScriptManager control. This new control lets you combine several embedded scripts on a single download, which might improve the performance of your page in some scenarios. Its usage is simple: you add the […]

Read the rest of this entry »

Jun 11

Currently, you”ll only get tool support for ASMX web services that render JSON. This doesn”t mean that you can”t call a traditional ASMX web service (or even a WCF service). It only means that you”ll need to handle the XML yourself. Today, I”m only going to talk about my ASMX web service calls tests. So, […]

Read the rest of this entry »

Jun 11

Changing the width occupied by the Silverlight control

Posted in Silverlight       Comments Off on Changing the width occupied by the Silverlight control

Today a friend of mine asked me what he needed to do to change the width occupied by the silverlight control. He knew that he could set up the width of the control by setting the width: he just didn”t know how to change its width after having created it. He even searched the docs […]

Read the rest of this entry »

Jun 11

Well, guess what: i had just finished posting this and I”m already seeing a bug on the maximize behavior. If you have 2 monitors and you try to maximize safari”s window on the second monitor, it”ll go away. When i try to minimize it, it looks like it”s somewhere on my third monitor (at least, […]

Read the rest of this entry »

Jun 11

wtf? Safari on windows?

Posted in Trivia       Comments Off on wtf? Safari on windows?

Yes, it is true.  I”ve just been alerted by my friend Márcio. I”m downloading it now!

Read the rest of this entry »

Jun 10

Windows Live and non-english users

Posted in Trivia       Comments Off on Windows Live and non-english users

My good friend Paulo has already mentioned it here. I agree 100% with him…

Read the rest of this entry »

Jun 10

Protected: Xaml and Media server controls

Posted in ASP.NET, Silverlight       Enter your password to view comments.

There is no excerpt because this is a protected post.

Read the rest of this entry »

Jun 08

ASP.NET AJAX Toolkit: new version available for download

Posted in ASP.NET, MS AJAX       Comments Off on ASP.NET AJAX Toolkit: new version available for download

I”ve just noticed there”s a new release of the Ajax Toolkit control (via Garbin) with several improvements. Scott Guthrie has also a cool post on the new stuff that you can find in the toolkit. Oh, and you can get it from here.

Read the rest of this entry »

Jun 06

In other words, I”m a Doer, like coding at High level, work bet in a Team and am a liBeral programmer. Want to know yours? Check it here. [Via C. Sells]

Read the rest of this entry »