May, 2007Archive
Cool post on using WCF and NHibernate
Great piece of work which you can read here.
Siverlight: loading XAML files
2011-01-12 08:42:16
Submiting a form from a silverlight page
If you”re using Silverlight 1.1 alpha, you might need to submit a form from your silvelright page”s codebehind file. You can do this easily by calling the static method Submit exposed by the HtmlPage class. It”s as simple as doing this: HtmlPage.Submit(); There”s also an override which lets you specify the name of the form […]
Oleg has relelase Iron XSLT
Looking for some improvement on VS for handling XSLT code? Look no further! Oleg has built a VS plugin that provides better integration with XSLT. And it”s free! Go get it here.
Protected: Adding ellipsis to your Silverlight TextBlocks
There is no excerpt because this is a protected post.
yeah, I”ve finally did it…and the stars are my cats! I”ll be uploading more pics in a near future :,,)
ASP.NET future bits: the Media server control
I”m just putting this here for the sake of completeness (since I”m trying to run through all the new features added by the future bits). I”m only willing to say that it”s based on the new Xaml server (and you know that i”m not happy with the Xaml control, right?)…
The 3.5 beta version of the .NET platform lets us use JSON as the serialization format used by a web service call. The best of all is that this means that we can now call a web service from an ASP.NET AJAX page. To do this, you need to add some entries to your configuration file […]
ASP.NET future bits: the Xaml server control
In one word: needs improvements! If you use this control, you”ll be able to insert a Silverlight control in your page. As you might expect, the server control lets you parameterize several of the properties of the Silverlight control. However, it”ll generate an object or embedded tag (depends on the browser), which means that you”ll get […]
Dynamic data pages: exposing your data through RSS feeds
2011-01-12 08:41:32
Dynamic data pages: showing different views of your data
As we”ve seen, by default pages must have the same name as the table from which it gets the data that it presents to the user. And what if you want to supply several views of your data? Or if you don”t really want to expose your table? In that case, you must change some […]
Dave and how to call JS from C#
Dave has a nice post showing how to call JS methods from C#. As I”ve also said in the past, it”s not really complicated, though I still don”t like it very much. Why don”t I like it? well, simply because it seems like one can”t hook up several methods to handle the event (which really […]
Sidebar gadget bug list
Jon Abbot has a list with several know bugs (with code that reproduces those problems) here. Very cool resource. Just wish that there was a similar one for silverlight.
Creating a new Storyboard dynamically
In the last day, I”ve found another quirk with the current 1.1 alpha release of Silverlight. Normally, you create an animation with markup code (ie, XAML). However, I wanted to use C# code and wanted to be able to create a new storyboard dynamically. After reading the docs, I thought that I should be able […]
Still about Petzold''s book
It seems like Jeff”s post”s ripples haven”t stopped yet. Today, I”ve read Eric”s post on the subject. Even though he”s really a smart guy, I think that this time he”s wrong. According to his post, Petzold”s book will give you a deep understanding of WPF. Well, as I”ve said before, Pezold is good and there […]
well, almost, that is. And what a ride it was, letting me get some important info on several aspects related with C# coding and Javascript interop. First, I”d like to thank Bruce Williams for providing the answer for the issue related with running Silverlight on my 64 bits machine: the problem is that you can”t load the […]
Dynamic data pages: listing your tables and views
The DynamicNavigator control does what its name tell you: it”ll build you a list that lets you navigate to pages that show your table”s data. As you might expect, the control will use an ASP.NET UI control (in this case, a Menu) to list the tables/views presented on your db. It”s important to note that, by […]
Silverlight 1.1 layout system and controls framework
Dave Relyea has just published a framework with several controls. Go get them!
Well, sort of. To be able to do this, there are some prerequisites: The Canvas type must be annotated with the ScriptableAttribute; You must expose an event which the js code on the page should handle; You must register your control with the WebApplication object by calling the RegisterScriptableObject method. Here”s a quick example (just […]
Silverlight and cross domain calls
Well, it doesn” work! damn! After reading this post, I was really excited by beeing able to use this class to get info from remote domains (specially since, in my case, I”m building a Gadget, where cross-domain calls are allowed). Unfortunately, in the current bits, the BrowserHttpWebRequest class validates the passed Uri and it”ll throw […]
Hosting Silverlight controls on a sidebar gadget
What was supposed to be an easy task simply doesn”t work. It seems like I can instantiate the AgControl ActiveX object from a “normal” HTML page but it doesn”t when the page is loaded on the Windows Sidebar. The error is the old “Automation server can”t create object” which really means that the ActiveX can”t […]
Protected: Not getting your mouse events in your Silverlight Canvas?
There is no excerpt because this is a protected post.
The DynamicFilter control is a special kind of control: it will let you use ListControl to filter the data presented to the user (yes, this means that you can use any derived type of ListControl). The control exposes two important properties: ColumnName: lets you set the name of the column you”re using in the filter; […]
Dynamic data pages: inserting new items
Today”s post is all about the new DynamicInsert control. This new control will let you do a single type of operation: inserting a new element on the database. It uses a DetailsView control to generate the layout, so everything I”ve said about the DynamicList and DynamicDetails control remains true. here”s the shortest line of markup […]
Dynamic data pages: DynamicDetails, populating a DetailsView without code
In the last post, I”ve talked about the DynamicList control. Today, we”ll keep going and I”ll be presenting the new DynamicDetails control. You shouldn”t be surprised to hear that this control will use a DetailsView to present a record at a time to the user. Almost everything I”ve said regarding the DynamicList control, is true […]
Dynamic data pages: showing lists
[After talking with my friend JPC, I think I should change the title of these posts After all, aspx pages are DYNAMIC pages!] During this post, I”ll use the tables I”ve created in the last post about dynamic pages. Today, we”re going to take a look at the DynamicList control. We”ll start by creating a […]
Running Silverlight apps on the console
Jamie Cansdale shows how you can easily do this.
Silverlight security: part III
Another great post on this subject.