How to pass XSL variable into HTML tags

by Euo 28. January 2009 15:00

We all know that to consume an XSL variable with other XSL tag we just prefix it with dollar ($). But how about passing the variable to HTML tags? The answer: just enclosed it with curly braces ( {} ).

 

 <xsl:variable name="someVar" select="'some value'"/>

 

<xsl:value-of select="$someVar" /> 

 

<div id="{$someVar}"> 

some others...  

</div> 

 

Tags: ,

Development

Chart Control for Windows Forms and ASP.NET 3.5

by Euo 25. January 2009 01:18

It's kind of old but I'll post it anyway.

In the fourt quarter of 2008, Microsoft released Chart control for .NET 3.5. This Chart control enabled the developer to create rich-featured browser based charting functionalities to their ASP.NET application. This is a great help for the developers and the companies as well because they will not be forced to buy third-party component for the charting.

I remember from my past job that I was tasked to develop an application with charting capabilities. My employer does not want to spend some money for the third-party component license so I was forced to use developer edition just to fulfill the requirement of presenting graphical reports for my application I am developing then.

Just like any other third-party charting component this new .NET Chart Control has variety of chart options including pie, area, range, point, circular, accumulation, data distribution, doughnut, etc. Chart data can be programmatically binded to the control or declare it statically. Again just like other chart control, it produced image at run time that is referenced from the client side.

This control can also be used for Windows Application by the way.

 You can download the .NET 3.5 Chart control here , the documentation here and an example here.

Tags:

Development

Update on Silverlight 2 and a glimpse of Silverlight 3

by Euo 20. January 2009 21:33
Scott Guthrie wrote an update in the Silverlight 2 and gave an idea of the coming Silverlight 3. View his post here.

Tags:

Silverlight

Slide.Show 2

by Euo 13. January 2009 13:51
Slide.Show 2 is the port of the original Slide.Show to the Silverlight 2 technology. Download it here.

Tags:

Silverlight

About the author

Something about the author

Month List

Page List