Tag Archive: silverlight 3.0


In my last blog on Telerik’s Gridview Control, I just discussed couple of issues, I was encountered while using Telerik’s GridView.

Telerik’s Grid View control usually comes without any hierarchy by default like in the following image……..

Click the image for full view……

In my this blog post I will explain that how we can extend Telerik’s Grid View control for multiple hierarchy.

It’s required when you need to achive multiple hierarchy in Grid View like following image……..

Click the image for full view……

So first of all I will show that how can this Grid View control can be extende using simle XAML code and then I will move to c# code for Grid View extention.

XAML code to extend GridView control for multiple hierarchy using GridView Table Definition : (It creates another grid view inside one grid view)

This simple XAML code creates the one Grid View inside the another just shown as in image above……
But what if My need is to create say 10 hierarchycal Grid Views… And here the code behind comes to make the solution easy.

C# code for extending GridView control for multiple hierarchy: (with this code you can create 10 grid views – one inside another but off course you can create like infinite grid views by increasing the value from 10)

This code can create the Grid View as shown in the figure below……..

Click the image for full view……

So you have seen that it’s just so easy to extend Telerik’s GridView control for multiple hierarchy.

In my next blog on Telerik’s Grid View, I will show you that how we can dynamically add the design elements(Controls) in the ‘RowDetailsTemplate’ of Telerik’s Grid View Control and make it more useful.

For more information on Telerik’s Silverlight RadGridView control please browse to, http://www.telerik.com/products/silverlight/gridview.aspx

Currently I am working with Telerik’s Silverlight GridView control and while working, I just stuck to some issues which I would like to describe here. I will keep on adding parts in this blog series as I will explore Telerik’s GridView more and more.

Issue 1. How to access standard silverlight controls lying inside Telerik’s RadGridView (infact inside the RowDetailsTemplate of RadGridView) to generate dynamic RowDetailsTemplate for RadGridView
Solution : To access the StackPanel(Standard Silverlight Control) inside the RowDetailsTemplate of the Telerik’s RadGridView we can use “LoadingRowDetails” event of the RadGridView and then we can get the StackPanel using ‘GridViewRowDetailsEventArgs e’ and following c# code…….

StackPanel sp = e.DetailsElement.FindName(“x:NameOfTheStackPanel”);

Issue 2. How to access GridViewColumn of RadgridView programmatically with c# code
Solution :
To access the GridViewColumn of RadGridView we can use the following c# code…….

GridViewColumn gvc = RadGridViewName.Columns[“UniqueNameOfGridViewColumn”];

Telerik’s RadControls for Silverlight are really working great so I suggest,

In part two of this blog series I will discuss how to make telerik’s GridView hirarchical using simle c# code.

Hi guys, if you are a Flash lover then it’s time to breakup now… because when you know the Silverlight 4.0 features in detail you will be definitely fall in love with Silverlight 4.0.

Silverlight 4.0

 Whether you are a flashy designer or developer who likes to design highly interactive games or websites or you are a high level Business Application Developer who needs great hold over the data, Silverlight 4.0 has the treat for both……

  • If you are a flashy website designer then you should get started exploring following new features in Silverlight 4.0 ……….

1.> Right Mouse Click Support

2.> Mouse Wheel Support

3.> Accessing Web Camera and Microphone

4.> Silverlight Controls as Drop Targets – Drag and Drop Support

5.> Hosting HTML Content – Now you can render HTML in Silverlight

6.> Local File Access – File from Local System can be accessed

7.> “RichtextArea” and “ViewBox” Controls

8.> Right to Left Language Support – For Languages like Hebrew and Urdu and lot more…

9.> Programmatically access to Global Clipboard

  • If you are a multitier Business Application Developer with complex architecture, you can start understanding Silverlight 4.0 with following new features……….

1. RIA Services support in Silverlight 4.0 with Visual Studio 2010

2. MEF for Application Extensibility – It’s Managed Extensibility Framework (MEF)

3. Network Authentication and Trusted Network Access

4. COM Object Access in Trusted Applications – Now you can access applications in Local System

5. Asynchronous Data Validations

6. DataGrid Enhancements in Silverlight 4.0

7. Printing APIs

8. Notification API

  • Some of these features are working with “Out Of Browser Applications” developed in Silverlight 4.0.
  • Currently only Silverlight 4.0 Developer Runtime is available.

I have already explored all these features and believe me, Silverlight 4.0 is simply rocking!!!

For more details on Silverlight 4.0 click any of the following links,

http://silverlight.net/getstarted/silverlight-4-beta/                   —  Official Microsoft Silverlight website

http://timheuer.com/blog/          —  Tim Heuer Blog – Silverlight Program Manager

http://blogs.silverlight.net/blogs/jesseliberty/       — Jesse Liberty Blog – Silverlight Program Manager

http://johnpapa.net/              —  John Papa website

http://adamkinney.wordpress.com/          — Adam Kinney Blog — For Silverlight graphics, interface and Expression Blend