Silverlight

Showing posts with label Silverlight. Show all posts

Starting Google Chrome version 42, Google has blocked NPAPI plugins in their browser and as a result, you will not be able to run Silverlight applications in your Chrome browser. So, what to do? There is a quick but temporary solution by which you will be able to re-enable the plugin.

 

In this blog post today, we are going to detail the process. Do remember that, it’s a temporary solution and won’t work in future release of Google Chrome.

Published by on under Chrome | Silverlight

Is your Internet Explorer crashing when you are trying to debug your Silverlight application from Visual Studio but runs perfectly when running without debug option set? This might be due to an update that Microsoft pushed recently via Windows Update service.

 

If you faced the same, this post will guide you to resolve it at the earliest. Continue reading to learn about the trick to resolve this. Share it with your friends. This might help them too.

Published by on under InternetExplorer | Silverlight

Few months ago, I wrote a small helper class for all my Windows Phone Silverlight applications, which helped me a lot to store and retrieve data to and from IsolatedStorageSettings. Thus I thought to share the same with you, in case you find it useful.

 

Read more to  find out the code, which you can use freely. Here the only catch is: it works only with the Silverlight type applications.

Published by on under Silverlight | Silverlight5

Sometime we need to export data as Excel report. This can be a plain Console application or a high end desktop and/or web application. You can of course do this using plugins/add-ons but what if you don’t have permission to use any 3rd party assemblies in your application?

 

Okay, in this post we are going to discuss this with help of a simple Silverlight & C# application but logic will be same in other platforms/technologies too. Keep reading.

Published by on under .Net | CodeProject

Style inheritance in XAML? Sounds funny? No. If we have inheritance in classes, CSS styles; then why not in XAML styles? There are many such occasions when we need to copy the same style in multiple templates/styles of a control.

 

In this post, we will learn how to use a single piece of style and use it in other place to inherit the common styling. If you are using XAMLs excessively, this might be a very good topic for you.

Published by on under Silverlight | Win8Dev

Sometime we need to provide an encryption mechanism to protect user data in phone and/or sharing the data over internet to a database. Data security should be always maintain by a developer to protect the content of the application that the user enters.

 

If you are building an app and looking for some way to implement the mechanism, here is a wrapper class for you to do encryption and decryption of a string literal easily.

Published by on under Security | Silverlight

If you are working on Silverlight and/or WPF project and using Telerik RadControls library, you might be aware of RadDiagram and RadDiagramToolbox. When you add gallery items in RadDiagramToolbox, by default it comes in three columns.

 

In some business scenario, you might want to increase or decrease the no. of columns in the RadDiagramToolbox. This small blog post will help you in this.

Published by on under Silverlight | SilverlightTips

XAML Spy is the visual runtime inspector for Silverlight, WPF, Windows Phone and Windows 8 Store applications which provides direct access to UI visual tree, runtime UI modifications to check/set different properties temporarily, monitor events, extract package contents and much more.

 

With the release of XAML Spy version 2, the company introduced a light weight Free version for the XAML designers/developers to play with their XAML files. Read more to grab your copy.

Published by on under News | Silverlight

While working on an application last weekend, I was in need to pass an object as query string parameter to the other page of my Windows Phone application. NavigationService does not allow you to pass any complex object.

 

Then I found a cool idea by which you will be able to send the whole object to the other page. In this blog post, I am going to share you the trick.

Published by on under Silverlight | WP7DEV

If you are a Silverlight application developer and using Telerik RadDiagram control, you might have seen that you can zoom and pan the diagram control and move it to any boundary. In some scenarios, we need to restrict it to a positive quadrant.

 

In such case, based on your business logic, you have to restrict the diagram to some quadrant value. In this small post, we will learn how to set it’s viewport to a specific bounds.

Published by on under Silverlight | Telerik

Ambiguity is the ability to express more than one interpretation in normal way. This can happen in any manner; in our code too. If you are working on WCF RIA Services in Silverlight, you might encounter this issue too with class references.

 

Today in this blog post, I will share you a small trick by which you will be able to fix this error in your Silverlight project. Continue reading to further discussion.

Published by on under RIA Service | Silverlight

logo1

If you are working in Visual Studio to design XAML pages for your Silverlight, WPF, Windows Phone or Windows 8 Store application, you might have noticed that, sometime the Visual Studio IDE freezes for a long time and sometime it crashes.

 

I faced this issue many time and later found some way to recover from that freeze to continue working. In this post, going to share you the trick. I hope this will help you.

Published by on under Silverlight | Tips

Recently I got a chance to write a guest blog post on Telerik’s official site and the topic was “How to Export content from RadRichTextBox to a variety of formats in WPF or Silverlight”. Thanks to the Telerik XAML Team who gave me this opportunity.

 

The article covers the simple steps to export the rich text content of the Telerik RadRichTextBox control. This could be an additional benefit to the end users who are using Silverlight or WPF app.

Published by on under Silverlight | Silverlight5

Most of you have already used BusyIndicator control in your Silverlight or WPF application while communicating with server or processing a huge data. Sometime developers want to focus to a particular control like TextBox once the busyIndicator stops.

 

I noticed in various forums that developers really suffer a lot focusing to a TextBox at the end of the processing and when the busy indication stops. Let’s read the trick to resolve this.

Published by on under Silverlight | Telerik

If you are a Silverlight application developer and working with Telerik’s RadRichTextBox control, you might have already used the InsertSymbolDialog that comes in-built with the control. This dialog provides you a direct API to insert symbols in your rich text box.

 

By default the said dialog opens in non-modal dialog and there are no easy way to make it modal. In this blog post, we will learn how to customize it to make a modal window for that.

Published by on under RadRichTextBox | Silverlight

Recently after upgrading to latest Telerik binaries in my Silverlight RIA Service application, I noticed a different behavior in the auto generated code. After searching a lot on the issue, came to know that the RoundtripOriginalAttribute was missing in the entity set.

 

As we can not add the attribute explicitly in a auto generated file, I had a tough time to find out the solution of this issue. Lately, got the solution which I am going to document it here for you.

Published by on under RIA Service | Silverlight

The big boss again hit you “Hey buddy, I don’t want to see those movement layers in the inserted table those you are using in the Silverlight application”. Now as a developer what to do? You are using the Telerik RadRichTextBox in the application that you are building. Does it provide the functionality?

 

Today’s blog post is on that topic and here we will discuss, how to hide the movement layer from the table and then show it back again on need basis.

Published by on under RadRichTextBox | Silverlight

If you are a Silverlight developer and working with Telerik’s Rad control library, you might have seen that the RadNumericUpDown control always displays the value with a comma separator as per your system’s locale settings.

 

But have you ever came to a situation where your client wants to remove the comma separator from the control? You will not find any properties in-built in it. Let’s start today’s discussion with it.

Published by on under Silverlight | Telerik

Developers always try to provide the user a easiest way to represent the data irrespective of the technology that has been used. Hence, for a huge collection of data, generally we provide “AutoComplete TextBox” to the user instead of ComboBox or ListBox.

 

The reason behind this is to provide searchable and filterable UI to the user for easy access. Today in this post, we will learn how to use the Telerik’s RadAutoCompleteBox in both Silverlight and Windows Phone.

Published by on under Silverlight | Telerik

Let’s suppose you built an application which loads records in a Grid in a paginated manner. But when you loaded thousands of records, you noticed that, it is taking more time to load than the expected time and your boss was not happy with that.

 

So, what to do? Are there any kind of proper solutions or workarounds to reduce this load time? If so, what are those? Let’s began with our post with a problem statement.

Published by on under .Net | Silverlight