Click here to Skip to main content
15,889,200 members
Everything / Silverlight / Silverlight5

Silverlight5

Silverlight5

Great Reads

by Kunal Chowdhury «IN»
Learn about Multi Column Text support in Silverlight 5 with a simple example
by Kunal Chowdhury «IN»
Binding on Style setter in Silverlight 5
by Kunal Chowdhury «IN»
Features I'd like to see in future releases of Silverlight 5
by Christian Amado
A very brief article about the implementation of encryption and decryption of a string in Silverlight Business Application

Latest Articles

by Christian Amado
A brief introduction to Metro Style App Development
by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
by Sumit Samediya
In this article we will learn how to use existing sqlite database in WP 8.1 apps.
by Luis Manuel Prospero Mano Batista
XAML Gauge Control for Universal Applications, Windows 8.1 (Desktop/Windows Phone), WPF, Silverlight

All Articles

Sort by Score

Silverlight5 

17 May 2011 by Kunal Chowdhury «IN»
Learn about Multi Column Text support in Silverlight 5 with a simple example
19 May 2011 by Kunal Chowdhury «IN»
Binding on Style setter in Silverlight 5
25 May 2011 by Kunal Chowdhury «IN»
Features I'd like to see in future releases of Silverlight 5
31 Jul 2012 by Christian Amado
A very brief article about the implementation of encryption and decryption of a string in Silverlight Business Application
24 May 2011 by Kunal Chowdhury «IN»
Silverlight 5 multiple window support
19 Jul 2012 by Sandeep Mewara
For examples:CodeProject Silverlight articles[^]Pick any and get started!Have a look at these too:MSDN: Silverlight[^]Learn: Silverlight[^]Silverlight get started[^]Try!
21 Aug 2012 by Christian Amado
In this simple tutorial, I want to show how to hide the default Context Menu presents on every Silverlight application created via Visual Studio.
23 Aug 2012 by Savalia Manoj M
Work with Cascading Drop-down Lists in the Telerik Gridview Control
24 Aug 2012 by Savalia Manoj M
How to create custom Datapager Usercontrol in Silverlight?
26 Mar 2016 by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
20 Apr 2011 by Manas_Patnaik
Implicit DataTemplates in Silverlight5, with practical case study
29 Jul 2012 by Christian Amado
This brief tutorial pretends to demonstrate how to add custom properties inside DomainService's metadata class
10 Sep 2012 by Sergey Alexandrovich Kryukov
Please see my comment to the question: of course this is possible and easy, but you need to clarify what is your image.If this is a bitmap, you usually use the class:...
26 Mar 2013 by Dee_Bee
Hi all,How to call stored procedure in Silverlight Web Application.I'm working on Silverlight apllication and using WCF services for database connections.I'm writing queries to retrieve data from database. But I need to retrieve data using stored procedures. How to achieve...
27 Mar 2013 by Member 8196277
//Well, assuming you use ADO.Net in the service side to access the SQL Server://Remember, that SQL Service calls sits in the .Net service application - which is using //clean .Net (2.0 -> 4.5) and that, has ADO.Net access. You cannot access ADO.Net //directly from the Silverlight...
20 Mar 2016 by Sumit Samediya
In this article we will learn how to use existing sqlite database in WP 8.1 apps.
8 Jun 2011 by Kunal Chowdhury «IN»
Sharing the "What's New in Silverlight 5?" slides and demos
29 Jun 2011 by zinov
I am trying to display the name of a Photo object in a Label, but I am displaying this Photo in specific control System.Windows.Image, this control has a binding to the CurrentItem of a collection of Photos, so if I have a button to display the next Photo, I want to show in my Label the Name of...
29 Jun 2011 by Mark Salsbery
Instead of setting the Window DataContext to the entire collection, what about setting it to the currently selected item? Then the image Source property can be binded to ImageFrame (like you have already redundantly done - you do it in code too) and the TextBlock Text property can be binded to...
15 Jun 2012 by Sandeep Mewara
Your issue is not common. It would be difficult to say whats going wrong. You need to troubleshoot and see if something helps.Since it is looking for dll of version 4.0, some file is missing and needs installation. Try iInstalling: Microsoft Silverlight 4 Tools for Visual Studio...
19 Jul 2012 by Santhosh Kumar Jayaraman
For learning Silverlight, You must learn about MVVM pattern first. Please check the below article to know how to create simple basic silverlight application using MVVM and WCF.Silverlight Application with MVVM WCF and EF[^]
24 Jul 2012 by woutercx
Maybe this helps?http://stackoverflow.com/questions/1449124/silverlight-ria-services-how-to-do-windows-authentication[^]
25 Jul 2012 by Christian Amado
Is recomendable that you create one service for all tables. But this is not a limitation.Have you got Navigation property on your Entity Framework Model?Must have a relation in the model and Database of course.Hope it helps.
7 Aug 2012 by lewax00
You should probably use the built in paging features of the GridView class (see this example[^])That's a lot of data for a web page, think about it:Let's assume you only have one column, each entry empty, and the encoding is UTF-8The GridView will generate a table, each row needs ""...
28 Nov 2012 by Savalia Manoj M
Add checkbox inside combobox in Silverlight.
11 Sep 2012 by Sergey Alexandrovich Kryukov
[An answer to the follow-up question about relative and absolute path names for image files:]Please see my comments to your comment to my Solution 1.By the reasons I explained there, first of all, there are no cases when a hard-coded path can be used in a fully functional application, no...
12 Sep 2012 by Sergey Alexandrovich Kryukov
[An answer to the follow-up question about relative and absolute path names for image files:]If the files are read-only, you can instead use resources embedded in an executable module of some of your assemblies.Don't add an image to your directory. Create a .resx resource. Edit it by...
16 Sep 2012 by suganyass
Hiselect D.CommonName,D.CoursesFK,D.DepartmentDetailsFK,D.ID,D.LegalName,C.LegalName as Courses,DD.CourseYear as DepartmentID from Departments D join Courses C on C.ID=D.CoursesFK left outer join DepartmentDetails DD on DD.ID=D.DepartmentDetailsFK;How to convert this MsSQL query...
16 Sep 2012 by Prasad_Kulkarni
Try something like this:from dept in DepartmentsJOIN course in courses ON dept.CoursesFK equals course.IDJOIN deptDetail in DepartmentDetails ON dept.DepartmentDetailsFK equals deptDetail.IDselect NEW{ dept.CommonName, dept.CoursesFK, dept.DepartmentDetailsFK, ...
9 Jan 2013 by Idle_Force
Close and re-open Solution cured this one. Strangeness!
23 Apr 2013 by Sandeep Mewara
I have found that specific questions related to 3rd party is answered more quickly and accurately at respective forums.Posting such issues about a 3rd party control (Infragistics here) Forum would be more useful, here: Infragistic Forums[^]
26 Jul 2013 by prasannabelsare
Hi,I have created Silverlight5 Pivot viewer. It is using WCF Data Service to fetch data. I tried to host this WCF Application on IIS.Application is running successfully on IIS only when I host the WCF application with the same port as in the web section of project property. Application...
7 Aug 2013 by adriancs
I have face the exact problem like you.Using PHP script to connect SilverLight to MySQL is my first approach.But later, I had discovered a more convenient/easier way, by using C# Web Services.I have written an article explaining the steps in details with illustrations.>> Connecting...
31 Aug 2013 by Christian Amado
Hi Savalia Manoj, Hope this link[^] helps you.Regards.
13 Mar 2014 by Christian Amado
Hi Mehul, may be this link[^] helps you.Regards.
27 Apr 2017 by Dave Kreskowiak
Stop. Silverlight is a dead platform. It has been for years now and has less than 4 years of support life left in it.
19 May 2011 by Tomer Shamam
Implicit DataTemplate in Silverlight 4 Composite UI – Get ready for Silverlight 5–Part I
16 Jun 2011 by RitaSelvaraj
Hi, I am trying to develop a silverlight application that opens up multiple TCP sockets and transfers JPEG images from Camera to some other silverlight client. The issue is that the receiving silverlight application receives junk data from the TCP sockets. I will appreciate if you let me know...
2 Oct 2011 by Julien Villers
After installing the RC of Silverlight 5, you can't play DRM protected videos, here's a fix.
14 Dec 2011 by JoeManJoe
Hello,I was wandering how you'd release a shared Viewmodel using the MVVM plugin. I have a tabcontrol with several tabs sharing the same viewmodel. So, I have:[PartCreationPolicy(CreationPolicy.Shared)]When I move across tabs, I don't release the shared Viewmodel but when I close the...
20 Dec 2011 by dinesh gd
How to use the Picker Box in Windows mobile 7 application instead of a combo box. ...
7 Feb 2012 by tieudoan208
I want to merge those columns header gridview as meger columns in excel, it is better if you have exampleThank you so murch.
18 Feb 2012 by Lee Reid
I have a Silverlight application which seems to be executing the measure method of a custom panel prematurely.My understanding of the cycle in silverlight was this:Wait for user actionUser clicks button etc--->Event --> Your codeMeasure of any controls which were...
13 Mar 2012 by fdasfsafasf
Hi to allI have done one webcam project which will supports view live webcam images.I am using "ENTER USB 2.0" locally its working fine..when i upload it to the webserver and test with client browser..Its not working..its getting errors as "No devices Found"..is there any server settings to...
13 Mar 2012 by Sudip Saha
capture image from the aspx page using jquery[^]
17 Mar 2012 by Anil_S.Kamble
Hi,I am worked on silverlight 4, Now I shifted to silverlight 5. Can anybody guide me how to enable keyboard in full screen mode with some example or steps.Thanks & RegardsAnil
25 Apr 2012 by BO@007
hi every body iam the started of silverlight this is my codestring path = @"F:\MyTest.txt"; if (!File.Exists(path)) { // Create a file to write to. using (StreamWriter sw = File.CreateText(path)) ...
25 Apr 2012 by Andy411
Well, I never programmed a Silverlight app before, but in my understanding, a Silverlight app shuold not be allowed to access the filesystem on client side because of security reasons.Do you want to start programming in Silverlight or do you want to start writing apps in C# or both at the...
7 May 2012 by Yoisel Melis Santana
PDF forms or AcroForms allow users to interactively edit specific portions of a PDF document. A PDF form is composed by AcroForm fields that provide a name-value association. This paper will focus on how to provide client and server AcroForm editing capabilities to your Silverlight application.
29 Apr 2012 by varaprasadreddy
Hello friendsif i want to host a Silverlight 5 application on a domain server like godaddy, amazon.... do they need to install Silverlight 5 sdk?please help me. i am going to purchase a server for deploying Silverlight 5 application.
29 Apr 2012 by Espen Harlinn
No, they don't need to host the SDK.Silverlight applications are packaged as xap files.Have a look at ASP.NET - Silverlight XAP FAQ[^]It's a bit old, but covers what you need to know.Best regardsEspen Harlinn
1 May 2012 by mohammadghaderian.bp
HiI have one problem in using Entity Framework.My application base on silverlight and I have 2 window in it.1 - ChooseEmployeeWindow.cs2 - ChangeEmployeeWindow.csall of my windows have a instance of entityModelClass My users in first window choose one employee and send selected...
1 May 2012 by mohammadghaderian.bp
HiI have silverlight 5 application that it must use WCF service.when a call one of methods of service I got this errorAn error occurred while trying to make a request to URI 'http://localhost:1574/Service1.svc'. This could be due to attempting to access a service in a cross-domain...
11 May 2012 by Geobc28
Just enable in-browser trusted applications, it will work.how to: enable trusted application
11 May 2012 by Geobc28
Before telerik implemented this in their datagrid, I use a style to do this: BasedOn="{StaticResource DataGridBaseHeaderStyle}" > ...
16 May 2012 by Sandeep Mewara
See if the following results help you: Google result for "Graphic 3d Effect + silverlight javascript"[^]Top 3 links:Video: 3D effects in Silverlight 3[^]Kit3D - a 3D C# graphics engine for Microsoft Silverlight[^]Silverlight 3 3D Effect[^]
16 May 2012 by SASS_Shooter
If you took even 5 minutes to try using Google you would find the answer to your problem!!! All I did was google: cross domain deployment in wcfWhy must you people be so damn lazy?here[^]is the article that will provide you the answer.
18 May 2012 by Amit Kalbande
Hello ! I am creating webpage using Silverlight in Which i want different images to be rotate in one panel or Flash in some interval of second . What component or tag i should use.
28 May 2012 by Savalia Manoj M
We are in the middle of the development cycle of our new product. When we designed it about a year ago, we chose WCF Services->Silverlight combination.I have been reading about RIA Services lately. My questions are1.What are the advantages that we get using WCF RIA Services over plain...
4 Jun 2012 by kolisa
Hi Everyone.I am working on a silverlight radganttview application. I want to make my gantt chart add a new parent task at run time just below the select task item when I press button 'Add Task'. So can someone help me solve this problem. A quick response would be very much...
15 Jun 2012 by R. Ganesh Kumar IT
When I tried creating a new silverlight project, I got an error message. It is "Could not load file or assembly 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest."Kindly...
21 Jun 2012 by kolisa
Hi there.I am trying to get the selected data from the database through a webservice to a silverlight gantt control. Data items show on the grid but the data is not visible in those items. I don't know what the problem is. Here is a sample:* Select Statement: [OperationContract] ...
19 Jun 2012 by Lousy Programmer
Hi all,I am struck in a Silverlight application.I have a data grid.On Event "RowEditEnded" I call up a validation and followed by Update in database.private void OrderProductGrid_RowEditEnded(object sender, DataGridRowEditEndedEventArgs e) { if...
10 Jul 2012 by ReneDLM89
How I can draw a 3D object represented by his points in a DrawingSurface? The object represent an irregular hole.
12 Jul 2012 by sant.rajas
Hello, What I am trying to achieve is making two user control communicate with each other so that they can pass the values of controls like textboxes, comboboxes etc placed on them.Brief on my design: I have a UserControl say Panel, I placed it on MainPage.Xaml, I haVe another UserControl...
13 Jul 2012 by skumarn
Currently i have developed one silverlight5 app which will capture image from webcam and store that image in IsolatedStorage. For this i have checked the Require Elevated trust when running in-browser checkbox and also i done siging up XAP by creating a test certificatea and i have...
19 Jul 2012 by Mac12334
Hi allI am new to Silver Light and want to learn Silver Light.I don't know anything about silver light and don't know where to start.Please guide me and suggest some good website and material to start Silver lightThanks in advance.
22 Jul 2012 by varaprasad2020
How to Use RichtextBox With Images in Silverlight to save xml file please ,help me..
23 Jul 2012 by Christian Amado
What about this on your xaml file: I want to show an image here! Save the...
24 Jul 2012 by Christian Amado
I have a Silverlight Business Application, three project on it: 1. SLApp (Silverlight Application). 2. SLDataServices (ADO.NET Entity Framework, Domain Service, Metadata, Extensions for metadata). 3. SLWeb (ASp.NET WebSite with ASP.NET Membership enabled and working).When I...
25 Jul 2012 by meetprabhum
I have a datagrid , inside datagrid I have to bind some listbox (es) based on ID of the particular record.For eg.TextColumn TextColumn TextColumn TemplateColumn ID NAME CLASS SUBJECT1 XXX A JAVA ...
25 Jul 2012 by renabee
Hi,When creating the domain ria services, we should make one service for each table or one service for all tables??I'm asking this cause i created one service for each table, and worked fine with simple tables. But now i'm having problems with Parent/child tables... private...
25 Jul 2012 by Christian Amado
You can use the sender object:private void OrderProductGrid_RowEditEnded(object sender, DataGridRowEditEndedEventArgs e) { Button wichButton = sender as Button; //Identify what button has been clicked if (wichButton != null) { //Do...
25 Jul 2012 by shijuse
Hi Please try this,may be helpful for youhttp://stackoverflow.com/questions/7030353/silverlight-datagrid-inside-listbox-binding-on-datagrid-column-to-a-parent-lis[^]http://forums.silverlight.net/t/121753.aspx/1[^]Thanks Shiju
27 Jul 2012 by Christian Amado
You can learn about Read and Write in XML files here Processing XML Data with XmlReader and XmlWriter (Silverlight). So, I assume that you want to save the content of richtextbox on XML File, right? Code behind, something like this:this.rtb.SelectAll();var contentRich =...
31 Jul 2012 by suganyass
How to close current Navigation frame in a silverlight application?
1 Aug 2012 by Christian Amado
The Navigation Frame is a "Master Page" for Silverlight Applications.You can do 3 basic things on your button click event:1. Go back to the previous page:this.navigationframe.GoBack();2. Go to specific page:this.ContentFrame.Navigate(new System.Uri("yourpage.xaml",...
1 Aug 2012 by Christian Amado
Well, you need to fill the Listbox inside DataGridTemplateColumn. In the itemsource of your Listbox you can add something like this:Itemsource={Binding {StaticSource domainservice}, Path=Data}Now, in your DataGridTemplateColumn you can find a DataBinding property (I just cannot remember...
5 Aug 2012 by Philip Stuyck
Take a look at this :http://forums.silverlight.net/t/250258.aspx/1[^]so you will have to make use of a toolkit.
7 Aug 2012 by Kenneth Haugland
There is code for this in WPF, you should however be able to translated it to Silverlight without big issues:http://bea.stollnitz.com/blog/?p=344[^]
15 Aug 2012 by Leo Rajendra Dhakal
the best option is paging which loads minimum pages records only as a result pages load fast, it ignore large numbers of data.
22 Aug 2012 by suganyass
I need to load a view into content control and change their properties by clicking button. Please give some example.....
27 Aug 2012 by NikulDarji
i have grid with datapager when i refresh the page, i want to remain it on same page index of grid. presently it goes to first page index of grid.
29 Aug 2012 by Christian Amado
These links may helps youExport Silverlight DataGrid to Excel XML/CSV[^]http://www.telerik.com/help/silverlight/gridview-export.html[^]For import, you can read...
29 Aug 2012 by ICube 2
In Silverlight I've created a panel that derives from standard Panel class and have overridden the InvalidateMeasure() and InvalidateArrange() methods. The Panel uses an own Attached Property "Position" of type Point to specify the position of objects. Whenever the attached property is changed,...
2 Sep 2012 by Roliking
Hi, I have a custom DTO say 'CustomMain' which has two list columns with association to two other custom DTOs say 'ListDTO1' and 'ListDTO2'. When i fill up the CustomMain DTO manually on the client side with the same key mapped to the associated List DTOs and pass it to the service method...
6 Sep 2012 by Member 9410258
I want to access Apointment created by Outlook Express 2010 in my silverlight application please help me .
6 Sep 2012 by Christian Amado
You can't access to outlook directly from a Silverlight Application. You must do it on a Web service or WCF. Then, you can consume those services and reflect the changes or requirements in your Silverlight.Hope you find this some helpful.
10 Sep 2012 by _Amy
Try this:var query = from t1 in db.Table1join t2 in db.Table2 on t1.ID equals t2.ID select new { t1.ID, t1.LegalName, t2.TypeName}Refer this[^] for more information.--Amit.
10 Sep 2012 by Karthik Harve
Hi,check these links.http://stackoverflow.com/questions/2379747/create-combined-datatable-from-two-datatables-joined-with-linq-c-sharp[^]LINQ - join 2 datatables [^]How to use LINQ to join multiple DataTables[^]hope it helps.
13 Sep 2012 by govindaAlwani
Please can anyone help me for this question ........i want to make paint software in silverlight i have done drag and drop of all shapes in canvas but now i want to make then re-sizable.........
16 Sep 2012 by Sangramsingh Pawar
go through below site and download Linquer. It converts SQL query to Linqhttp://www.sqltolinq.com/[^]
16 Sep 2012 by prashant patil 4987
try this:From D In Departments Join C in Courses ON C.ID equals D.CoursesFK Group Join DD in DepartmentDetails on DD.ID equals D.DepartmentDetailsFKselect NEW { D.CommonName, D.CoursesFK, D.DepartmentDetailsFK, D.ID, D.LegalName, C.LegalName as Courses, DD.Courseyear...
20 Sep 2012 by PEIYANGXINQU
When my mouse move to the chart area,I can get the real xvalue,yvalue immediately,How can I show then betwenn the mouse(just like a float window)?I set the tooltip,but when I drag one point and move,the tooltip can not work!So the other way may be float window,but how the make the float window...
20 Sep 2012 by gopal_nivas84
hi..i need to disable the print screen and ctrl keys in my silverlight web application.if the user press the print screen or ctrl keys i need to pass a message "the keys are disabled".how to do this..need ur suggestions..regardsgopal.s
20 Sep 2012 by gopal_nivas84
hi..i have datagrid control and inside the grid i have added a stack panel control and i added label and image controls.now i clicked the image inside datagrid and now i need to get the image values and label values inside the stack panel of the particular row.how to handle...
23 Sep 2012 by AssemblySoft
Hi govindaAlwani,I am guessing a bit here because your question is a little short in backgound information but, ensure you are setting your widths and heights as * and also that you are not setting widths and heights anywhere.For examlple, if it were a Grid it would look something like...
23 Sep 2012 by Kenneth Haugland
You should take a look at this article here:WPF Diagram Designer: Part 1[^]Its in WPF, but you should be able to use them in Silverlight also.
23 Sep 2012 by Ambesha
you wanna code in server side or client side ?
25 Sep 2012 by Christian Amado
May be these articles helps you:MultiBinding in Silverlight 5[^]http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/[^]Hope you can find this useful :)