Skip Navigation LinksHome / Articles / View Article


Results Per Page

Found 18 results for Emil Stoychev.
Date between: <not defined> and <not defined>
Search in: Articles

  • 1
  • 2
Order by Publish Date   Ascending Title   Rating  

  • 11 comments  /  posted by  Emil Stoychev  on  Mar 23, 2009 (more than a year ago)

    A completely new feature in Silverlight 3 is the ability to establish a local connection between loaded Silverlight applications.

  • 12 comments  /  posted by  Emil Stoychev  on  Mar 23, 2009 (more than a year ago)

    Merged Resource Dictionaries provide a way to define and split resources into separate files. By locating application resources in external file we can then reuse them between applications. This feature can be helpful in custom control development, but not only.

    In Silverlight 2 resources cannot be factored into separate files and that leads to large App.xaml file holding application-wide shared resources. The same problem exists while developing custom controls. All default style keys must be specified in Themes/Generic.xaml which again leads to very large file.

  • 16 comments  /  posted by  Emil Stoychev  on  Mar 19, 2009 (more than a year ago)

    One major point in building line-of-business applications is the data validation. You can’t go without it and that’s where Sillverlight 3 comes in handy. In that release Microsoft added advanced facilities for validating data via two-way databinding.

    Following best practices and patterns you may have heard that it is good to separate your validation logic from the UI. That’s exactly the case with the built-in validation in Silverlight.

    Let’s start with an example of a data form containing validation logic.

  • 6 comments  /  posted by  Emil Stoychev  on  Mar 18, 2009 (more than a year ago)

    Silverlight 3 was just announced on MIX09 – I’m sure you are all pretty excited about the new features included in this release. There is a lot to talk about – offline support, styling, binding, controls, media, animation, graphics, etc.

    This article aims to give you a brief overview of the new features as well as links to in-depth articles explaining the details.

    Let’s start by organizing the new features in groups:


    • Element to Element Binding – enables property binding to CLR objects and other UI components via XAML.
  • Tip: Binding and getting data async from a Web Service

    1 comments  /  posted by  Emil Stoychev  on  Aug 11, 2008 (more than a year ago)


    When it comes to making calls to a Web Service in Silverlight you have no other way, but to do it async. In many scenarios this could be a problem and especially when you use data binding.

    The Problem

    Consider you have a business objects Merchant and Sale and the Merchant has property Sales of type List as shown on the class diagram.


    The sales are loaded from a web service.

    Read more ...
  • 2 comments  /  posted by  Emil Stoychev  on  Jul 15, 2008 (more than a year ago)
    Tags: LINQ , Pivot Table , RadTreeView , Data Proccessing , XML , Grouping , Telerik , Emil Stoychev

    What is a Pivot table/grid? According to Wikipedia it is a data summarization tool found in spreadsheet applications. Still when I was a child I learned that people understand the best when they see an example.

    Consider you have a table that contains the nutrition of given food, say a pizza:

    Group Name Quantity
    Carbohydrates Total carbohydrates 27.3
    Carbohydrates Total disaccharides 5.7
    Carbohydrates Total polysaccharides 21.6
    Minerals Calcium 147
    Minerals Phosphorus 150
    Minerals Potassium 201
    Minerals Copper 0.13
    Minerals Magnesium 19
    Minerals Sodium 582
    Minerals Selenium 4
    Minerals Total iron 0.7
    Minerals Zinc 1.07
    Vitamins Beta-carotene 173.8
    Vitamins Nicotinic 1.5
    Vitamins Total vitamin B6 0.127
    Vitamins Total vitamin D 0.3
    Vitamins Total vitamin E 2.1
    Vitamins Vitamin B1 0.1
    Vitamins Vitamin B12 0.59
    Vitamins Vitamin B2 0.16
    Vitamins Vitamin C 10

    In the data above you see that every nutrition is contained in a specific Group - 3 groups and 21 nutrition in total.

  • 4 comments  /  posted by  Emil Stoychev  on  Jun 29, 2008 (more than a year ago)

    A common scenario in data binding is to format the data displayed in the UI. Almost every time you show a date or a price you need to format it. Silverlight and WPF are using the so called converters to apply custom logic to a binding.

    Using Converters

    Let's make a small example that illustrates the problem. Consider a ListBox filled with client details - name and birthdate.

    Client Details

    Here the ListBox is bound to a custom business object with a field Birthdate of type DateTime - pretty common situation.

  • Silverlight X-Domain Scenario

    0 comments  /  posted by  Emil Stoychev  on  Jun 26, 2008 (more than a year ago)
    Tags: Deployment , CrossDomainAccess , HTML Bridge , Security , Emil Stoychev

    Yesterday we've published Silvester - Silverlight Twitter widget and the idea was to let people put it on their blogs. To use the widget you need only an HTML snippet placed somewhere on your blog/profile page. The snippet contains an <object> tag that refers the widget's XAP file from our domain. So what you actually do is refer a resource from other domain, a.k.a x-domain scenario or cross-domain scenario.

    Silverlight is a client technology and as such it sets a lot security requirements to keep the applications secure by default.

    Read more ...
  • 36 comments  /  posted by  Emil Stoychev  on  Jun 25, 2008 (more than a year ago)

    Are you a fan of Twitter? Personally I'm, but I'm also a fan of Silverlight. Twitter has a couple of Flash and HTML badges (a.k.a widgets) you can get and put on your blog to let your visitors know what you are up to in the moment. However, Twitter does not have a Silverlight widget. What negligence! :) If you are like me and want not a Flash, but a Silverlight widget on your blog go ahead and read on how you can build one by yourself or just copy the text below to use it.

  • 5 comments  /  posted by  Emil Stoychev  on  Jun 24, 2008 (more than a year ago)

    I've been playing with some timers and Web Services and I got stuck in a case where the background thread was trying to update the UI. Well, that's never going to happen. To update the UI you should use the UI thread. Let's see how we can call the UI thread from the background thread.

    Consider this situation:

    You have data that needs to be updated every minute. The data is loaded by calling a web service.

    For the update you can use the Timer class. Both the timer and the web service calls are executed asynchronously.

  • 1
  • 2
Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)