Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

Supreet Tare posted a thread on MSDN Forum to help him binding a 2nd Level Collection in Silverlight DataGrid control. As he didn't find any good solution there, he asked me on Twitter to give a solution to him for the same. I did a small investigation and came up with a solution for him.

 

In this post, I am going to describe the problem, as well as solution to this. Hope this solution will be helpful to you too and hence sharing in my blog. Read more to find out the solution.

Published by on under Silverlight | XAML

Last couple of days we discussed about Page State and Application State of Windows Phone 7 (Mango). We learnt various ways of saving state of the page or application. After reading those chapters, you might have question in your mind that how to save the state of the application before closing the application and once you comeback again, you should get them back.

 

If you are familiar in Silverlight, you should have answer to this. Yes, we can use Isolated Storage to save the state of the app and read values whenever require in future.

 

In this tutorial, we will discuss about this with a simple demo code. If you are new to Isolated Storage, you will be able to learn how to use it directly in Windows Phone. Read to know more.

Published by on under Mango | Silverlight

On last Saturday we learnt about basics of Application State in Windows Phone 7 Application. We discussed about the steps to pass value from one page to another using the Application State. In this chapter, we will learn more on the same with a small and simple demo.

 

So, read to know about it and learn the way of sharing data between pages using state. At the end, please provide your feedback. Don't forget to share it to the community.

Published by on under Mango | Silverlight

Here comes this week's News Digest of Silverlight-Zone.com. This time we have total 74 news items on various articles based on Silverlight, Windows Phone 7, LightSwitch etc. Also contains some tips and other posts on MVVM, XAML and Blend.

 

Most popular posts were "Silverlight Elevator Pitch", "War between Silverlight, HTML & Windows 8", "Bing Map Control for Windows Phone 7", "Is Silverlight Dead? No, it's not. It's the heart of WP7, Windows 8, XNA" and "All about WP7 Emulator".

 

Read more to find those interesting posts. Also, find the daily news digest links for the last week here, in case you missed the posts.

Published by on under Silverlight | SilverlightZone

Last two days, we discussed about Windows Phone 7 Page State. We learnt about saving and retrieving state of a page whenever require. Page State defines the current visual state of application page. Page state is accessible within that page. But think about a condition where you want to save values to the state and want to access them across the application. Then what to do? You have the option to use the Application State in that case.

 

Application State stores data values which can be accessible by multiple pages. In this tutorial chapter, we will learn about Application State and in the next chapter, we will see an actual implementation of the same with a small demo. Read to know more about Application State.

Published by on under Mango | Silverlight

Yesterday we discussed the basic theory on Windows Phone 7 Page State. We came to know what is this and when to use this. We also came to know the way to implement the state management. In this chapter of the tutorial series, we will learn more about Page State Management in Windows Phone 7.1 with a small application.

 

After reading this tutorial chapter, you will be able to store page state, retrieve and clear them on your need. Read to know more about this topic, share the link to others and ask any queries if you have at the end of the post.

Published by on under Mango | Silverlight

Sometime you may want to save the values present in your page while switching from one page to another page, sometime you may want to store the values while switching application between foreground and background.

 

When you are switching from one application to the other, the first app enters into the deactivated mode. At that time you can store the current state of the page and display them back again by retrieving those values from page state once you return to the first app.

 

In this chapter we will discuss about the page state. This will help you to know the basics about it, very good for a beginner to jump start with it.

Published by on under Mango | Silverlight

The Windows Phone 7.1 application lifecycle has been designed in a way that it can run multiple applications in the background. Today we will discuss about the Lifecycle of Windows Phone 7 (Mango) apps.

 

Here we will learn about various states of Windows Phone 7 application life cycle. This is an important chapter of the tutorial series to learn about the execution model before developing any application product. Read to know more about this topic and at the end don't hesitate to leave your feedback or queries if any.

Published by on under Mango | Silverlight

Do you know that, you can now access local files and folders in Silverlight 5? Yes, you heard right. Earlier to Silverlight 5 it was only limited to trusted location like My Documents folder, means it was only possible to read/write in My Documents. Now using Silverlight 5 you can do such operation in any files or folders.

 

Let's discuss more on this topic. After reading this post, you will be able to read/write to/from any file in local file system. Also you will be able to get information about System Resources. Read to know more.

Published by on under CodeProject | Silverlight

Today in this Windows Phone 7 Tutorial, we will discuss on Navigation Service and Navigation Context. We will create a small demo application to showcase the functionality of those class. We will navigate from one page to another and then again use the history to return back to the previous page.

 

In this chapter, we will use a case study of showing customer details in multiple page and using that demo we will learn about Navigation in Windows Phone 7 series. Read to learn more on it. Source code is available at the end of the post.

Published by on under Mango | Silverlight

Yesterday I attended the PUG Event and delivered 1 hour session on Silverlight 5 Beta features. I demonstrated some important features too. Here in this blog post, I am going to share the "What's New in Silverlight 5?" slides. You can view it online and if you want, you can download to view it offline.

 

Also, I am sharing the demo projects that I used during the session. You can freely download them from the attached links. Earlier I published some articles on these features, sharing their links too so that, you can read them and understand in depth.

Published by on under CodeProject | Events

In the last chapter of the series, we learnt about Application bar and the uses of it using a small demo application. We described about Icon buttons and Menu items too.

 

You can add an application bar to your page both from XAML and code behind. There are some design guidelines for Application bar and a developer must know about these before designing and developing their Windows Phone application. In this chapter, we will discuss about them. Read to know more and don't forget to share them to your colleagues and followers.

Published by on under Mango | Silverlight

Application Bar is a tiny toolbar for your page to do some specific operation. Using this, you can easily add a toolbar for your application pages. It is a combination of 1-4 icon buttons and/or a collection of menu items.

 

In my previous post, we already discussed about the class. Today we will discuss more on this topic. We will also create a small demo application to showcase the use of ApplicationBar. Read to know more and don't forget to share your feedback.

Published by on under Mango | Silverlight

Yesterday, 1st June 2011 Microsoft demonstrated their next generation Windows Operating System at the D9 conference which internally called as “Windows 8”. It supports touch screen and can operate with/without a Mouse or Keyboard using the touch APIs and onscreen keyboard.

 

The video demonstrates the power of flexibility and dynamic user experience. To know more about it and watch the video demonstration of the first preview, read the complete post.

Published by on under News | Windows

In our last post of the series, we learned about the base class "Page" and Here in this post we will learn about "PhoneApplicationPage" which is root of any Windows Phone 7 page. Before jumping to the core in depth, a beginner must know all these things. As I am also exploring these for the first time, sharing the same knowledge with you.

 

I hope that, these series of posts will be helpful to a beginner. If you want to know more about PhoneApplicationPage class, read this post to learn about it.

Published by on under Mango | Silverlight

Silverlight-Zone.com completed it's 5 months with more than 1,700 news items. Thank you everyone for supporting us all the time. In May, we aggregated 308 posts in Silverlight-Zone and shared all these links over Twitter and Facebook page to reach out to maximum people.

 

In this post I am going to share you the best picks of the month. Top rated posts were on Windows Phone 7 by Doug Holland, Naveed Tejani, Paul, Amit Chatterjee and Abhishek Sur. Read to find out the top links.

Published by on under Silverlight | SilverlightZone

In my previous post, we discussed on how to create a Windows Phone 7 application and what are the different parts of the MainPage.xaml. We also created a small and simple HelloWorld application as the quick start. I guess, now we are comfortable to create a basic application with a good UI (if you already know how to design a XAML page).

 

It's time to explore more in depth about the page. In this post, we will discuss about the base class called "Page". Read to know more about it.

Published by on under Mango | Silverlight

Recently thought to take some break from core Silverlight programming and start learning something new. As I will be working on Silverlight in office, hence decided to start exploring Windows Phone 7 in my off time. Though, it is also in Silverlight, but there we can learn something new apart from the actual Silverlight development. Now onwards, I will write about Windows Phone 7 programming and whatever I will explore, will post here in my blog.

 

Jump started with my first exploration to create a "Hello World" application in Windows Phone 7.1 (Mango) public Beta. This is the first post of the series. As a beginner I will be contributing to the series and if something that I can improve in any of the posts/demos, please let me know by providing your inputs using the Comment box. Hope this series will help the beginners to learn about it.

Published by on under Mango | Silverlight

Here comes this week's News Digest of Silverlight-Zone.com which contains approximately 76 new News items on various topics like Silverlight, Windows Phone 7, LightSwitch, XNA etc. It also contains lots of posts including MVVM, XAML, Blend etc.

 

This week most popular posts are on "Powerful 3D WP7 Application" by Paul, "Google Maps for WP7" by Naveed Tejani , "Mango Training Course" by Abhishek Baxi, "XAML Tips" by Michael Crump and "Basics of MVVM" by Paul Sheriff.

 

So, read out those posts and get knowledge on them. Also find links for Daily News Headlines of this week.

Published by on under Silverlight | SilverlightZone

Microsoft released the public beta version of Mango (Windows Phone 7.1) Developer Tools on 24th may 2011. In this post, I am going to share some of the new features that has been released with the Windows Phone 7.1 (Mango) Public Beta. You might already know about those from various resources but wanted to share some of them in my blog.

 

If you not yet downloaded the developer tools, Download Windows Phone Developer Tools 7.1 Beta. Read the complete post to know more about the new features.

Published by on under CodeProject | Mango

Silverlight 5 has another new feature called Ancestor Relative source binding. It was already available in WPF and has been newly introduced in Silverlight 5 beta. Using this, you can now bind to the relative ancestor elements very easily.

 

Let's discuss it with a small example where we will create a Control Template for a Button and bind it's Tag property to the actual element to display text, instead of setting the Content property. Read to know more.

Published by on under CodeProject | Silverlight

Windows Phone 7.1 Developer Tools (code named "Mango") Beta has been released on 24th May 2011. It contains a no. of new features (more than 500) including Internet Explorer 9 and Skype inbuilt in the OS. Find more about the features here. You can use this new Beta Tools to develop applications targeted to both 7.0 and 7.1 OS version. Remember that, it is still in Beta stage (i.e. development stage) and hence you can't use it for production.

 

In this post, find the links from where you can download (both Web & Standalone/Offline installer) and install the Developer Tools 7.1 Beta release.

Published by on under Mango | News

In my previous post that I did yesterday, I discussed about the Multiple Windows Support in Silverlight 5 Beta and there I mentioned that though it is a wonderful feature but there are some things that I didn't like. Though it is still in beta, so it is currently in development stage and may be the team is working on it.

 

Let's read the post to know the points those I didn't like or want in the future versions. Those are my personal opinions only and looking forward to see them implemented in future releases of Silverlight 5.

Published by on under CodeProject | Silverlight

Multiple Window support is one of the important feature in Silverlight 5. Using this you can have additional top level Window on top of your trusted Silverlight Out-of-Browser application. Yes, you read correct. It only works in Out-of-Browser Silverlight application and hence you cannot open it inside a browser.

 

So, what is this new Window and how to use it in our application? Let's have some discussion on it. After it you will be able to know about it more.

Published by on under CodeProject | Silverlight