Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers

In my earlier post “How to Reposition a Silverlight Child Window?”, I demonstrated you how to reposition a Silverlight Child Window into the screen. I tried the same with the WPF Modal Window too. But was not able to make it.


Later Thomas Claudiush gave me a cool sample where he did it very easily. In this post, I am going to share that code for you so that, if in near future you need the same behavior, you don’t have to research for it again.

Published by on under Tips |


Today I delivered the 1 hour session on “Building Visual Studio LightSwitch Application” in Microsoft Virtual Techdays from 1:45PM – 2:45PM (Indian Standard Time). It was my first public session and due to this, I was little nervous when I started my presentation. But when I jumped into the demo, I got some confidence on that.


Here, I am going to share the whole presentation for those who wasn’t able to join. Thanks to all my attendees for joining the session.


Don’t forget to give your feedback (online/offline) about the session. It will give me more confidence on my next session and from your feedback I will be able to improve my presentation skill.

Published by on under .Net |

Sometime we need to reset the position of the Silverlight Child Window at the center of the screen. This generally require when you have a static instance of the ChildWindow and you want to use the same instance to show various messages in the screen. When you loads the ChildWindow for the first time, by default it loads at the screen center. But think when your user reposition that ChildWindow to a different location in the screen, closes and reopens it, what will happen?


What will you see is, the ChildWindow opens at the same location where the user closes it last time. So, how can we reset it to the center of the screen? This small tip will help you to achieve the functionality. Read it to know more details. Code is available for use.

Published by on under CodeProject |

Microsoft Virtual Techdays is again back. It’s a three days event, starting from 22nd November to 24th November 2010. This time I am going to speak in this Virtual Techdays on 23rd November. Join me at 1:45 PM (IST) to learn about “Building Visual Studio LightSwitch Application”.




Read the complete post to know more about this event and registration process.

Published by on under .Net |

One of my reader “Girish” recently contacted me with a problem statement. His problem is, he wants to show a TextBox on selection of “Others” from a ComboBox and I informed him to use a ValueConverter and also told him, I will do a blog post on it, so that he can understand each step from that.


This post I am dedicating to him. May be, some other people who are new to Silverlight can get benefit from it. Read the full post to learn the process to do it.

Published by on under MVVM |

In some case, we need to customize the Scrolling functionality in Silverlight depending upon the requirement. The default look of ScrollViewer doesn’t give proper UI effect. In such case, you need to create the whole scroll behavior by modifying XAML and writing a bunch of C# code.


In this article, I will demonstrate you how to create the above scrolling functionality simply without writing any lines of C# code. You have to use only Expression Blend to create the richness of the Scrolling. Read more to learn about it.

Published by on under CodeProject |
Last time I did a Giveaway of Telerik JustCode Developer license of $299 and this time as a Silverlight Geek, I thought to giveaway a developer license of Telerik RadControls for Silverlight which costs around $799 to one of my readers & followers.


Gift with a bow    If you want to Win it, read the complete post for details. Share this information to all your friends by tweet, mail or blog. Hope to see one of you as the Winner. All the best… Thumbs up

Published by on under ExpressionBlend |


Visual Studio LightSwitch is a new tool for building data-driven Silverlight Application using Visual Studio IDE. It automatically generates the User Interface for a DataSource without writing any code. You can write a small amount of code also to meet your requirement.


In my previous chapter “Beginners Guide to Visual Studio LightSwitch (Part – 2)”, I described you how to create a search record window & export the records to Excel Sheet using Visual Studio LightSwitch for Silverlight. I also demonstrated about sorting and navigating records without writing a single line of code.


In this chapter, I will guide you step-by-step to create a DataGrid of records. Here you will know, how to insert/modify/delete records. These all steps are without writing any code. We will use just the tool to improve our existing application. Read more to Learn about it.

Published by on under LightSwitch |


I have seen people writing Code Behind a lot while they are working in the MVVM framework. A huge lines of code in their xaml.cs file actually creates problem to the designers to change anything present in the XAML. Why is this so? Because, lots of people don’t know how to use Triggers to call the MVVM methods to complete their business need.


Michael Washington has a nice article on DataTrigger to reduce the Code behind file. It definitely reduces the problem of MVVM that world faces generally. Also, we need to do some additional things to reduce the code behind.


In this article, I will show you how to fire Triggers to call some methods present in your ViewModel, instead of writing in the code behind file. Read more to learn about it.

Published by on under MVVM |

After the recent PDC 2010 event, we saw lots of tweets on Twitter about the same question “Is Silverlight Dead? Is HTML5 is going to take over the Silverlight? Is Microsoft changing their vision?” etc. etc. The answer is “No”. No need to worry about it. Silverlight is still there and will be there for Rich application development & smooth media streaming for long.


Read the whole post to know more about it.

Published by on under News |

imageAt Microsoft PDC 2010, the first day event was started by Steve Ballmer with a Keynote. His keynote was started with IE9, HTML5, Windows Phone 7 and Azure.


In this post, I will highlights some of them for you.

Published by on under .Net |
© 2008-2018 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top