Showing posts with label SilverLight. Show all posts
Showing posts with label SilverLight. Show all posts

Thursday, May 15, 2014

How to display more than one property in editable Telerik ComboBox for WPF/Silverlight


As a RadComboBox user you probably are already aware of the fact that it provides two edit modes out of the box – along with the default non-editable mode there is an editable one. The editable mode allows the user to get the desired item by typing, however it also ignores the SelectionBoxTemplate which gives you the ability to display the selected item differently. In many scenarios you might need to use both - the editable functionality and the possibility to modify the appearance of the selected item in order to visualize two or more properties of the selected custom object. This article will demonstrate how this scenario can be easily achieved by modifying the EditableTemplate of RadComboBox.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,WPF,Silverlight

Tuesday, February 4, 2014

How to Add User Customized Properties to Your Silverlight Control


Have you ever needed, somehow, to have some information passed in to a UserControl (or even a native control) and found yourself messing around with a CSV string on the Tag property of that control? I have and, after all, it's so easy to create additional properties to any control. For demonstration purposes, I'll use a Button but you can use this method on any control you like. Let's see how. I'll be using Silverlight 4, VS 2010 and Blend 4.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,Silverlight

Tuesday, December 10, 2013

Building IDE with RadDocking for WPF/Silverlight


One of the key concepts when building an application stays the layout – what should it be? How should it be defined? It's a tough question with lots of different answers. Of course, Telerik always tries to make the development easier and here is our answer as simple as possible – the combination of RadMenu and RadDocking controls. Let's assume we want to build an IDE or any other multi document application. The RadDocking control is the perfect control for covering this scenario. It has built-in support for tabbed Documents, hiding Panes, floating Windows, drag and drop, activation, save/load functionality, docking compasses etc. How can we combine all these amazing features in one working application? The next screenshot shows the final result of a possible IDE implementation:


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,RadDocking ,Silverlight,WPF

Wednesday, October 23, 2013

Silverlight ViewModel Unit Testing (RIA Services)


Unit Testing of Silverlight ViewModels with the RIA Services back-end has been a real problem since the asynchronous DomainContext which is used in the ViewModels to access service methods can't be mocked with usual methods. In this article the approach is described which doesn't require any additional libraries and dependences and makes it possible to create understandable unit tests. This approach is based on Brian Noyes article, and in fact just extends it to make things more effective:


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,Silverlight,RIA Service,Unit Testing

Sunday, October 20, 2013

5 Things I bet you didn’t know about RadControls for WPF and Silverlight


Telerik's RadControls for WPF and Silverlight has over 60 fully-featured controls, it's only natural that some gems are undiscovered. In this blog post, we will take a look at five things I bet you didn't know about RadControls for WPF or Silverlight application. 1. You can use Implicit Styles if you want to modify our XAML to provide custom themes. With Implicit styling you create a target type but not a key for your style and the style is implicitly applied to any object of that type that does not otherwise have an explicit style. Figure 1 and 2 shows an example of what the project configuration wizard looks like.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls, WPF, Silverlight

Thursday, October 10, 2013

Creating a discrete value slider in Silverlight


Having spent some time with WPF, I thought of giving Silverlight a try. It is often best to start with simple little fun-stuff, right? So I created a couple of small puzzle applications (a Jigsaw Puzzle and a Sliding Tiles Puzzle). Both the puzzles went online a couple of days ago and are working great. Now is the time for me to share some of the experiences I got (I intend to write more articles, as I learned great new things during the past few days).


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight

Monday, September 23, 2013

Resizing the RadImageButton


Telerik have a great range of controls that allow you to build some really cool looking interfaces for Windows Phone. One of those controls is the RadImageButton, which lets you set an image and it creates an appbar style button for you. However, I wanted the button to be a different size to the default one, how to go about doing that?


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,Silverlight,RadImageButton

Friday, September 6, 2013

No Excel? No Problem with RadSpreadsheet for WPF and Silverlight


Most businesses require Excel in order to operate. They use excel for a variety of reasons, but the most common is organizing and manipulating data. Most businesses are also faced with increased license cost or the inability to install Excel on a machine. RadSpreadsheet handles all of these issues as it is a control that allows editing tabular data utilizing a variety of cell formatting options, styles and themes. In today's post, we will explore RadSpreadsheet from scratch and walk you through step-by-step how to use it in your next line-of-business application.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,Silverlight,WPF,RadSpreadsheet

Wednesday, August 21, 2013

How to Export content from RadRichTextBox to a variety of formats in WPF or Silverlight


Telerik's RadRichTextBox control allows you to display rich text content in your Silverlight application. It can hold formatted text, images, tables, hyperlinks etc. to provide a visual look like Microsoft Word document. To use a simple RadRichTextBox control, you will need reference to the following Telerik assemblies: Telerik.Windows.Controls, Telerik.Windows.Data and Telerik.Windows.Documents in your WPF/Silverlight project. The control library not only allows you to display rich text content, but also helps you to export the same to different file formats so that you can save it to file or database. I was working on an application which has the Microsoft Word kind functionality and recently the client asked to add functionality to export the content to HTML, PDF, DOCX format in addition to save it in the database as an image. Telerik library helped me a lot to implement the same in that application with just a few lines of code. The library already exposed different APIs to handle different file formats in order to export the content. In this article I will cover how the Telerik's RadRichTextBox helped me exporting the rich text content added by user to a file of various formats like HTML, PDF, RTF, DOCX, XAML and TXT.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,RadRichTextBox,Silverlight,WPF

Wednesday, June 26, 2013

How to work with Telerik RadAutoCompleteBox (Silverlight & WP)


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. More or less we all know about AutoCompleteBox and how it works. But in this post, we will see the Telerik's RadControls library to use the AutoCompleteBox and the difference between Silverlight and Windows Phone APIs. Telerik's RadAutoCompleteBox is present in the "Telerik.Windows.Controls.Input.dll" under the "Telerik.Windows.Controls" namespace and provides the user easy way to access the data in a searchable and filterable mode. If you are willing to use the control, you must have the required...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,RadAutoCompleteBox,WPF,Silverlight,XAML

Wednesday, June 5, 2013

Silverlight OrgChart web part


The goal of the project was to create Silverlight control, presenting company employees in organization chart. Control is dedicated to any kind of company - small and midle-size. Due to the fact that chart control is "settle" on SharePoint server , the chart control has been wrapped into parameterizable ASP.NET web part. This article describes another approach for drawing organization structure. There are many sharewares or freewares drawing organization structure, but they usually use Canvas as the main control . For ASP.NET applications this is the only way to successfully draw the structure. My approach is easier and totally independent from any third party drawing libraries. First of all , chart control is created with StackPanel control without Canvas. Unlike Canvas control , StackPanel automatically aligns child items horizontally or vertically. Secondly auto scaling process is resolved with Silverlight native control ViewBox.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,Silverlight Web Parts

Wednesday, May 29, 2013

FREE Metro Light and Dark Themes for WPF and Silverlight Microsoft Controls


The quest for a good application theme never ends. You spend hours scouring the realms of Google and Bing looking for a clean, modern, and touch friendly theme to use in your application. That is, until now! If you have been looking for a free Metro theme for WPF and Silverlight, then look no further.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,WPF,Metro Light and Dark Themes

Monday, May 27, 2013

Solution to TFS Build Error - The Silverlight 4 SDK is not installed


Today while creating my first CI Build definition in the Visual Studio Team Foundation Server, I noticed that, though the Silverlight 5 SDK is installed in the server, I was unable to run the build. It was throwing an error message that says "The Silverlight 4 SDK is not installed". The issue was not actually with the Silverlight SDK and I found the solution after lots of analysis. In this post, I am going to share it so that, if you come across the same issue, it will be helpful. Build Issue I was actually trying to create a build definition to do automated build on each code check-in named as CI build (Continuous Integration) for one of my Silverlight project. When I triggered the build for the first time, I noticed that the build failed as it was unable to detect Silverlight 4 SDK in the server. The Team Foundation Server (TFS) was recently upgraded to TFS 2012 from the TFS 2010 version and the Silverlight 5 SDK was installed earlier prior to TFS...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,TFS

Monday, May 20, 2013

Showing the XamDialogWindow from a ViewModel in Silverlight and WPF


If you have used the Infragistics xamDialogWindow control in your WPF or Silverlight application, I can probably guess your biggest complaint with the control. I know what mine is! Currently, the XamDialogWindow has to be part of the visual tree in order for you to use it in your View. What do I mean by that? It means that you have to predefine your XamDialogWindow above the top most element in your View, being sure to add any Grid.RowSpan and Grid.ColumnSpan properties, so that it will be properly displayed when you show the dialog to the user by using the WindowState property or calling the Show method. If that still isn't clear, let the code do the talking.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WPF, Silverlight, ViewModel

Sunday, April 28, 2013

Saving Silverlight Application's User Settings in DB


This blog post is on continuation to my yesterdays post on saving the user settings with Telerik's PersistenceManager. In last post we saw how can we save the user settings on local computer, using Isolated Storage. If you want to do just that please follow This Blog Entry If you need the user settings to be stored in DB, so the user can see them irrespective of the machines he use, this blog is for you. On a high level, following are the steps you need to take: 1. Decide a section of the XAML that you want to save for the current user 2. Create a stream for the UI element using Telerik PersistenceManager & save them in DB 3. Load the settings when the user logs in & navigates to the page for which the settings are saved. To demonstrate this, we will first create a small Database with one table


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight

Tuesday, April 23, 2013

Creating a beautiful splash screen for Silverlight Applications


There are many other great blog posts on how to create simple Silverlight Splash Screens. This blog adds on top of them & helps you design a more complex splash screen with Story Boards & Floating Text Blocks. I am not a great designer & thus I am taking a design que from Telerik's Silverlight Demos splash screen. They have some amazing designers & their splash screen is a sound proof of it. If you have not already noticed it please visit http://demos.telerik.com/silverlight/ & take a look yourself. We will try to replicate the same behavior in our splash screen.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,Splash Screen for Silverlight

How To: Quick export to Excel (XLSX) for WPF and Silverlight


Did you know that using the core of our brand new spreadsheet component you can easily export data to Excel? What you need actually is reference to: Telerik.Windows.Documents.Core.dll Telerik.Windows.Documents.Spreadsheet.dll Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll Telerik.Windows.Zip.dll and simple code for exporting (for example RadGridView)


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WPF,Silverlight,WPF Exporting,Silverlight Exporting

Wednesday, April 10, 2013

Silverlight Dynamic Themes


In this article, we'll see how to create a truly dynamic Silverlight themeable application. In order to be able to build the companion project, you'll have to meet the following requirements: Microsoft Visual Studio 2010 installed. Silverlight Toolkit from the CodePlex website. Latest Silverlight 4 themes (JetPack, Accent Color, Windows 7, and Cosmopolitan) from Microsoft Downloads. We will test dynamic themes on a page like in the screenshot below:


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,Themes,Silverlight Themes

Single Sourcing WPF and Silverlight


If you are like me, when you first heard about Silverlight, you thought this is fantastic, the WPF application you just developed can be taken, and with a few changes to support asynchronous loading, you've got an Internet accessible application! Well, think again! That's not how it works. Although it is supposed to be a subset of WPF, there is a lot of core WPF functionality that is either not there or operates fundamentally differently under Silverlight.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,WPF,Silverlight and WPF

Friday, March 29, 2013

Getting IP address of client in Silverlight


The one thing that I have been searching so far is how to get IP address of the client in my application. I want to keep track on where a particular application, that I have created is being used. Well this is important, I think there are some girls who are using my applications and this is the best way to hunt them all down. It was long search though, to find the answer, a perfect answer. But in the end I am writing it all down. Hell Yeah!!! So to begin with, we need to write some JavaScript, my love. Let us create a new application, a silverlight application to rehearse the methodology of getting IP address. Add the following script block anywhere in the aspx page of your project.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight,Client IP in Silverlight

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails