• .NET

    Bend Telerik OpenAccess ORM to Your Will with Type Converters – Storing Classes to XML

    In a previous blog I showed how to customize Telerik OpenAccess ORM data mappings using custom TypeConverters.  In particular we looked at storing, and querying, an enum by its name rather than its int value.  In this example, I will show how to get OpenAccess to serialize a class to xml, and store it in the database.  In the end you will have a reusable TypeConverter you can use to store any class as XML using OpenAccess! :) Creating the Type Converter The first thing we need to do is create the type converter.  To do that, simply grab the basic skeleton I displayed...
  • .NET

    JustCode Keeps Getting Better

    September 19, 2011 Share
    Telerik JustCode Q3 2011 is just around the corner, but we’re not waiting to bring you new features and enhancements for your favorite productivity tool. Telerik JustCode Q2 2011 Service Pack has been launched with a dazzling array of features and enhancements to make development fast and fun. Microsoft’s BUILD conference just ended, promising a shift in the way we approach Windows development. One thing is for certain: it will be easier than ever before to write responsive software. With the new asynchronous features in C# and VB.NET, you can create high throughput ASP.NET MVC applications without breaking a sweat. JustCode fully...
  • .NET Mobile

    XML Syntax Rules

    All XML Elements Must Have a Closing Tag In HTML, you will often see elements that don't have a closing tag:  <p>This is a paragraph  <p>This is another paragraph    In XML, it is illegal to omit the closing tag. All elements must have a closing tag: <p>This is a paragraph</p>  <p>This is another paragraph</p>        Note: You might have noticed from the previous example that the XML declaration did not have a closing tag. This is not an error. The declaration is not a part of the XML document itself, and it has no closing tag. XML Tags are Case Sensitive XML elements are defined using XML tags. XML tags are case sensitive. With XML, the tag <Letter> is different from the...
  • .NET

    Bind Your Telerik Reports to XML Data

    February 06, 2009 Share
    One of the cool things about Telerik Reporting is that you can bind it to just about any kind of data source. Regardless of whether your data is stored in a SQL Server database, an XML document, or a simple text file, if you can read it into one of the supported data source types then you can bind it to your report. Since XML is a often used to store data, I thought it might be helpful to demonstrate how to bind your report to the data in an XML file using LINQ to XML. To get started, create a class...