• .NET

    RadControls for Silverlight Demo with ADO.NET Data Services

    October 09, 2008 Share
    Yesterday I wrote about how to databind RadTreeView for Silverlight to ADO.NET Data Service and use Load on Demand. The simple application from yesterday was upgraded to a small back-end application for the Northwind database, that allows editing and deleting products. This time I decided to give it to one of our designers and our new Silverlight front end developer and they implemented this slick design: The application is available online: http://demos.telerik.com/silverlight/northwindbackend/Default.aspx The source code can be downloaded from here: NorthwindBackend.zip In addition to yesterday's application, NorthwindBackend has extended data source, that provides simple undo mechanism and ability to update and delete products...
  • .NET

    Adding Mouse Wheel support in Silverlight. The easy way.

    One of the best uses of our Routed Event extension is implementing missing system events in Silverlight, such as MouseWheel and RightButtonUp/Down. The API we provide is the same as WPF, so when Silverlight eventually gets support for those events, most probably you will not have to change much. Other good thing is that you do not need to write any JavaScript, or to know what's going on beneath. The bad thing is that you will have to enable the windowless mode of the Silverlight plug-in, which will slightly decrease the performance of your application. To attach a Routed Event handler for the MouseWheel event on a...
  • .NET

    RadWindow for Silverlight

                  My first post for the Telerik blog community is already here. After I have been part of the Silverlight team for a while, I learned that there are two ways you can get noticed here. Either you blog about some of the most interesting and top-notch stuff happening around, or you post some funny stuff on the internal newsgroups of the company. OK, I hope this post won’t make it for the newsgroups.  So lets get to the point, as our CTP2 release is underway, I am pleased to introduce one of the new controls included in the pack...
  • .NET

    Increasing the compression ratio of the XAP files

    Today I was hacking around with a Silverlight application and decided to check if it is possible to recompress its XAP file in order to save some bytes. As you might already know, the XAP files are just renamed ZIP files and you can open and view their contents with almost any archiver. I created a simple batch file that extracts an archive to a temp folder, deletes it and then compresses the extracted files into a new archive with the same name as the original (I am using the open source archiver 7-Zip, which was installed in its default location): @if...