Sep 17 2009

Telerik Silverlight Contest

Category:Bil@l @ 09:19

Dear all,

I participated lately in a Silverlight compeition moderated by Telerik corporation.

Voting has started and would like you to vote for my application "VBC Shortcuts - CCC"

 http://www.telerik.com/community/silverlight-contest.aspx

Thank you for your help and support.
Regards

Tags:

Sep 10 2009

TFS Work Item Manager & TFS Project Dashboard Beta

Category: TelerikBil@l @ 16:09

Telerik release two new FREE products:

  1. TFS Work Item Manager
  2. TGS Project Dashboard

Get more details from here: TFS Work Item Manager and TFS Project Dashboard 

 

Regards

 

 

Tags:

Aug 26 2009

Anonymous Types in Silverlight 2.0

Category: silverlight 2.0Bil@l @ 17:03

If you are querying a collection in Silverlight 2.0 using LINQ and you want to extract a subset of the properties on the queries collection objects, you cannot make use of Anonymous Types in LINQ. For instance the following query won't return any value:

    public class Employee
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
    }

            List<Employee> employees = new List<Employee>();
            employees.Add(new Employee { FirstName = "Bilal", LastName = "Haidar" });
            employees.Add(new Employee { FirstName = "Bill", LastName = "Gates" });

            var results = from emp in employees
                          select new { FirstName = emp.FirstName };

results will be empty as Anonymous Types are not supported.

A solution can be done by disecting your domain objects in this case a very simple object (Employee) into smaller structs

    public struct SubEmployee
    {
        public string FirstName { get; set; }
    }

And the query could be as follows:

            IEnumerable<SubEmployee> results = from emp in employees
                          select new SubEmployee{ FirstName = emp.FirstName };

 

You can have as many structs as you want to ease your work.

Hope this tip helps!
Regards

Tags:

Aug 19 2009

The remote server returned an error: NotFound. -- Silverlight Exception

Category:Bil@l @ 16:01

While working on a Silverlight application and you face such exception: "The remote server returned an error: NotFound."

You should check this blog post:

Silverlight and WCF Essentials - Fiddler

 

Regards

 

Tags:

Aug 18 2009

Columns &amp; Rows - Silverlight Series on DataGrid - ASPNETPRO

Category:Bil@l @ 06:20

Now you can view most of the series of my articles on Silverlight DataGrid hosted by ASPNETPRO magazine:

Columns & Rows Part I: Silverlight 2.0 DataGrid Properties

Columns & Rows Part II: Silverlight 2.0 DataGrid Columns

Columns & Rows Part III: Working with DataGrid Master/Detail

Columns & Rows Part IV: Silverlight 2.0 DataGrid CRUD Operations

 

Hope you enjoy reading them.

Regards

Tags:

Aug 16 2009

RadControls Silverlight 3 Official with Q2 2009 SP1

Category: silverlight 3.0Bil@l @ 19:28

Telerik RadControls for Silverlight3 are here with the latest 2009 Q2 SP1 release!

Read more here:

RadControls Silverlight 3 Official with Q2 2009 SP1

 

Enjoy Silverlightening......

Tags:

Jun 27 2009

Think out of the box

Category: PersonalBil@l @ 11:35


I choose to help a friend ....... but for sure I was thinking inside the box!!!


You are driving down the road in your car on a wild,
stormy night, when you pass by a bus stop and you see three people
waiting for the bus:

 
1. An old lady who looks as if she is about to die.
 
2. An old friend who once saved your life.

3. The perfect partner you have been dreaming about.

 
Which one would you choose to offer a ride to, knowing that
there could only be one passenger in your car? Think before you continue reading.

 
This is a moral/ethical dilemma that was once actually used as part of a job
application. You could pick up the old lady, because she is going to die, and thus you should save her first. Or you could take the old friend because he once saved your life, and this would be the perfect chance to pay him back. However, you may never be able to find your perfect mate again.

 
YOU WON 'T
BELIEVE THIS...................

 
 
The candidate who was hired (out of 200 applicants) had no trouble coming up with his answer. He simply answered: 'I would give the car keys to my   old friend and let him take the lady to the hospital. I would stay behind and wait for the bus with the partner of my dreams.'

 
Sometimes, we gain more if we are able to give up our stubborn thought   limitations.
 
Never forget to 'Think Outside of the Box.'

Tags:

Jun 23 2009

Columns &amp; Rows: Part II Silverlight 2.0 DataGrid Columns

Category: silverlight 2.0Bil@l @ 07:21

Here is the second installment of my series Columns and Rows on the ASPNETPRO magazine.

Columns & Rows: Part II  Silverlight 2.0 DataGrid Columns

If you haven't yet read the first installment, you can read the blog post here: Columns & Rows Part I: Silverlight 2.0 DataGrid Properties.

 

Hope you enjoy it!
Regards

 

Tags:

Jun 23 2009

Part I - Silverlight 2.0 DataGrid Properties

Category: silverlight 2.0Bil@l @ 06:49
I would like to invite you to read the first installment of the Columns & Rows series on the Silverlight 2.0 DataGrid that is being published by ASPNETPRO magazine. Columns & Rows Part I: Silverlight 2.0 DataGrid Properties

Article Introduction
This article is the first in a series that will tackle most of the features of the Silverlight 2.0 DataGrid. There are several sections to discuss and explain regarding the Silverlight 2.0 DataGrid, including an overview of the DataGrid properties, auto-generating columns, defining columns in XAML, defining columns at runtime, implementing master/detail features, paging and sorting, and editing/deleting/adding rows using the DataGrid.

Through the course of this article, you’ll get an overview of the majority of the DataGrid properties that play an important role in configuring the DataGrid, like setting the column width and row color, and alternating colors, among other things.

Hope you enjoy and benefit from reading it.
Regards

Tags:

Jun 15 2009

Step-by-step Tutorial – RadControls for WinForms

Telerik provides a new step by step tutorial on Rad Controls for WinForms.

Check it out here:  Step-by-Step Tutorial - RadControls for WinForms

 

Enjoy it,
Regards

Tags: ,