Click here to Skip to main content
15,902,893 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 Title

Silverlight5 

24 Aug 2012 by Savalia Manoj M
How to create custom Datapager Usercontrol in Silverlight?
23 Aug 2012 by Savalia Manoj M
Work with Cascading Drop-down Lists in the Telerik Gridview Control
28 Nov 2012 by Savalia Manoj M
Add checkbox inside combobox in Silverlight.
10 Nov 2013 by brodcasting
how to add service refrence of google translate api in silverlight application
10 Nov 2013 by Abhinav S
Client Library for .Net[^] provides downloads through which you can get started with API.
1 May 2012 by Pritesh Aryan
I have googled so much but couldn't find any solution so i have decided to put my question over here....so please forgive me if this is a stupid question.I have download silverlight toolkit from here http://silverlight.codeplex.com/releases/view/78435...
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...
24 Jul 2012 by woutercx
Maybe this helps?http://stackoverflow.com/questions/1449124/silverlight-ria-services-how-to-do-windows-authentication[^]
10 Jun 2012 by ManojKumar19
This article demonstrates how WF can be consumed as a business layer.
28 Apr 2012 by ManojKumar19
Server side logging for Silverlight applications using NLog 2.0
30 Oct 2012 by vishnupasuleti
Here is the code:
8 Oct 2013 by spydeehunk
Hi all,I am having problem in binding data to combobox inside datagrid in my Silverlight application. I am using MVVM pattern and I don't want to use static resource binding.can anyone help me.thanks
9 Jan 2013 by srinivas.dammalapati
i am creating one property in entity class like belowpublic class Myclass{private string _Selecteditem;public string SelectedItem{get{return _Selecteditem;}set{_Seleteditem = value;}}in xaml page i am binding Combobox like below
19 May 2011 by Kunal Chowdhury «IN»
Binding on Style setter in Silverlight 5
6 Aug 2013 by Kieran Partridge
Hello, I've got a script on my server which will return a simple string; I am trying to use Silverlight C# to return a string from my database so I can bind it into my site.I've got PHP and Silverlight working together; I just need a way so I can call a script from a website and have the...
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...
4 Aug 2013 by Kieran Partridge
If it can, how can I do it?Thanks
24 Apr 2013 by Sugu.s
I have used vs2010 and silverlight 5 to access scanner in web browser. I was created the certificate key to sigh the xap on windows 7.I was install the certificate into "tursted publishers" on windows 7 client machine, its working fine to me. At same time i was not able to get either...
24 Apr 2013 by Eugene Mayeski
Check the signing algorithm in certificate properties. If it's SHA2 (SHA256, SHA512) certificate, it won't work on XP without proper updates.
1 Dec 2012 by willrob68
Hi, I have a problem loading the saved setting of a CheckBox (Checked True or False). On calling up the saved setting it always comes back as True from IsolatedStorage weather the CheckBox has been checked or not? Please see the code attached and I would appreciate it if someone could show...
4 Dec 2012 by willrob68
This answer was kindly given to me by Karmjit Singh from the Microsoft Silverlight ForunmPrivate Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click If IsolatedStorageSettings.ApplicationSettings.Contains("MyCheckSettings") Then ...
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.....
25 Feb 2013 by sheebaStalin
how can we convert silverlight bitmapimage to byte array and byte array to bitmapimage
9 Mar 2013 by Christian Amado
Hi there,Convert BitmapImage to byte array:byte[] data;JpegBitmapEncoder encoder = new JpegBitmapEncoder(); //Replace JPeg for your BitmapEncoder (Pnh, Gif, etc.)encoder.Frames.Add(BitmapFrame.Create(bitmapImage));using(MemoryStream ms = new MemoryStream()){ ...
2 Apr 2013 by d_lucifer
hi friends, my application take snapshots using webcam and save them in a local folder. so i'm using following code to convert my Silverlight Image and send it through the Web Service. name of my web service is ImageService. ImageServiceSoapClient client = new...
4 Apr 2013 by Sergey Alexandrovich Kryukov
Please see my comment to the question.There is no such thing as ASP.NET bitmap. You can use WPF bitmaps even in ASP.NET, why not? ASP.NET is a server-side technology, so, there is no .NET UI, and therefore you can use any graphics library.[EDIT]For the conversion, see, for example,...
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...
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...
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...
11 Oct 2012 by BMori
I am trying to find the source code and download it... I can't find it... the author is chris_grant, 4 May 2012.Can you please help me?Thanks,Bruno[Edit]E-mail removed[\Edit]
11 Oct 2012 by fjdiewornncalwe
"This article has not yet been approved for publication by our membership. It should be available soon."Creating a Telemetry Application using Silverlight, Visiblox and Custom Controls[^]But using GOOGLE, I found that he has it posted in a different place as well and it took less than...
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.
29 Jul 2012 by Christian Amado
This brief tutorial pretends to demonstrate how to add custom properties inside DomainService's metadata class
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...
17 Apr 2011 by Kunal Chowdhury «IN»
Read the complete article to know more about it and gather knowledge on the debugging feature with a simple code walkthrough. At the end, don't hesitate to leave your feedback. Appreciate your Vote.
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
23 Sep 2012 by Ambesha
you wanna code in server side or client side ?
27 Sep 2012 by Ambesha
Friend, try the code below:
29 Jul 2012 by Christian Amado
This is the first part in a set of articles relative to some useful features that you may be want to include on your Silverlight Application
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
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.
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.
30 Apr 2013 by anurag.sri43
Hi AllI want to add dynamically row in Datagrid , having controls like TextBox, ComboBox etc. in silverlight,when user click on new button.Thanks and RegardsAnurag
30 Apr 2013 by Naz_Firdouse
You can have a class which holds the value of the controls whatever you want and maintain a global collection of that class...ObservableCollection obj = new ObservableCollection() where Employee is your defined class.Now on button click , you can add the new row like thisPrivate void...
6 Oct 2013 by Charlesirwin1810
I have a XMAL Page with a single chart control, i load the charts based on user selection from the list box ChartCollections,What i need is : Need to Print a PDF files with Charts based on User SelectionIssue is i have another listbox which has the same details ChartCollections, and user...
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.
27 Nov 2013 by gobind_786
I've placed some UIElements in a row of the grid at different column positions, now I have a + button if I click on that a new row containing same UIElements should be added below the first row. but it gives me error like "Element is already child of other element".How can i get rid of this...
27 Nov 2013 by Sergey Alexandrovich Kryukov
This is a typical problem of WPF/Silverlight. Nobody can give you a complete ready-to-use solution of this problem, simply because you did not provide any code sample.However, the idea of solution is pretty simple: you should understand how it works and realize that this is a feature, not a...
31 Jul 2012 by Christian Amado
A very brief article about the implementation of encryption and decryption of a string in Silverlight Business Application
9 Dec 2013 by RanjithKumarG
I recently upgraded to Silverlight 5 and was created silverlight project throughRadControls Silverlight Application template in VS2010 and I have selcete RadGanttViewcontrol from the RadCOntrols list ,and tried to compile and run.Then I started gettingCannot resolve reference...
7 Oct 2012 by neocodes
I am using a cascading comboboxes inside datagrid.i am able to get the datas based on selectionchanged but the that event is firing for every rowHere is my code ...
1 Sep 2013 by Member 10046301
I need a complete code of how Funnel charts are implemented in silverlight 5.
1 Sep 2013 by Mehdi Gholam
Try this : http://freesilverlightchart.codeplex.com/[^]
6 Aug 2013 by Member 10046301
I need a complete code on how to implement Stacked Bar in Silverlight 5
6 Aug 2013 by ridoy
See..http://www.visiblox.com/visibloxcharts/examples/chart-types/bar-and-column/stacked-bar-chart/[^]http://www.sharpcoder.co.uk/post/2009/05/03/A-Stacked-Bar-Chart-Silverlight-control.aspx[^]http://www.telerik.com/community/forums/silverlight/chart/stacked-bar-chart-in-code-behind.aspx[^]
18 Mar 2013 by bapu_reddy
Hello all,I am working with silverlight 5 and trying to running a batch file but unable to read through system.diagnostics.process.start().Please help me how can i read a batchfile.
17 May 2013 by gaurav786mishra
Hello,I have created a silverlight5 web application project and integrated sdk of finger print scanner hardware device of Lumidigm company .I have done all trusted application settings generated the certificates too by following this link...
2 Oct 2011 by Julien Villers
After installing the RC of Silverlight 5, you can't play DRM protected videos, here's a fix.
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] ...
21 Feb 2013 by sheebaStalin
I want byte array object from silverlight application to asp.net application.I have invoked java script method.How can I get byte array object from java script to asp.net application.Thanks.
21 Feb 2013 by Abhinav S
Go through multiple bridge options between SL and ASP.Net. Pick the one best suited to you -http://blogs.msdn.com/b/erikreitan/archive/2008/12/02/silverlight-html-bridge-faq.aspx[^]http://silverlightbridge.codeplex.com/[^]http://msdn.microsoft.com/en-us/library/cc838145%28v=vs.95%29.aspx[^]
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...
30 Oct 2012 by mohammadghaderian.bp
HiI am writing an application that base on silverlight 5 and MVVM framework and Prism library.I work with prism with unity container.when I test my application in vs 2010 it work correctly.but when I load it on IIS I frequency get this error message :Error Message Image => Error...
25 Sep 2013 by gobind_786
I want to create multiple groups of control(s) within a rectangular border. where each group will be containing control within it, surrounded by rectangular border and a header (optional) is to be placed over each child group's top-left above its border. So, I created a class GroupLayout, each...
26 Apr 2013 by armanr
please help me friendsi have code below:when getting to "worker = ((Service1)ar.AsyncState).EndAccept(ar);"take a error:The remote server returned an error: NotFound.or exceed...time out errorpublic MainPage() { InitializeComponent(); ...
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, ...
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...
17 Jan 2013 by krishnaprasad62
Hi I am building a Silverlight page in MVVM pattern, where I am performing validations as belowhttp://msdn.microsoft.com/en-us/library/dd901590(VS.95).aspx[^]Now I want to disable Save button when there are Validation erros on page, restricting user to click Save with wrong...
27 Jan 2014 by Vikash Kumar Raja
Hi,this is vikash kumar i ma facing problem to export voluminious data of datagrid in silverliteThanks & regard.urgent need.
27 Jun 2013 by gobind_786
i need to create UserControl as ContainterControl(Or Template) in silverlight, so that i can use in other Silverlight pages to add controls in it....Any answer would be appreciable....Thanks GK Prajapati
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.
31 Jan 2013 by mns64x
Hi All.I Want Know, How can I Check Sql Connection Status in Silverlight5Using 'DomainServiceClass' & 'ADO.NET Entity Data Model'.Thx.
3 Nov 2015 by Member 11394156
While the combobox is open, you can use arrows to change the highlighted item. The item does not atually become selected (and accessible with SelectedItem), until you click on the item or press Enter. I want to get that item without actually closing the combobox and confirming the...
3 Oct 2012 by Anubhava Dimri
Hello Everyone,I need to access the IP camera in the Web Page. How can we access ip camera in silverlight application.So Please provide me any types of help article .Thanks
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.
18 Apr 2013 by Sugu.s
I have used vs2010 and silverlight 5 to access scanner in web browser. When i host the application on iis7, i can able to access scanner in Mozilla but does not in internet explorer. why the IE browser does not support to access scanner in web browser?I made changes in,Server side •...
18 Apr 2013 by E.F. Nijboer
Maybe the examples here can help you out:http://blog.yezhucn.com/wiaaut/showacquireimage.htm[^]Good luck!
3 Dec 2013 by Member 3394959
Sugu,To work in IE, Just change ElevatedPermissions="Required" in InBrowserSettings.xmlcode This is...
11 Nov 2013 by brodcasting
i have to create silverlight application and add the servicerefrence google translate api using "http://translate.google.com/translate_t .but i am geeting error "The HTML document does not contain Web service discovery information.Metadata contains a reference that cannot be resolved:...
26 Sep 2013 by gobind_786
As subject explains...if i try to do so then it gives me error "ItemsControl.Items must not contain UIElement when ItemTemplate is set"I created a UserControl layout template which is deriving from ItemsControl and is List. How can I apply ItemTemplate on it to have each child UIElement...
14 Sep 2013 by ParameshReddy
Here is my code............Hope i can get solution from expertsi want to generate id for image and save it in c:\ folder without opening dialogue box..is is Possible? private void SaveImage_Click(object sender, RoutedEventArgs e) { //string strImageID =...
23 Apr 2013 by TokiHana
I have an xamGrid of infragastics but i have no idea binding data using linq. The project is a silverlight application. my connected to my WCF data service based on VatTu.edmx (ADO.NET Entity Data Model) In xamGrid, i create 2 columns with headertext:ID and Name In...
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 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...
5 Dec 2013 by gobind_786
Can anybody tell me how to clone UIElement in SILVERLIGHT ? I dug a lot in the google but I'm not able to find relevant solution, everywhere I'm just getting solution to clone UIElement in WPF, however same is not applicable in the Silverlight.I need to add the a UIElement in the same grid's...
5 Dec 2013 by Sergey Alexandrovich Kryukov
Please see my comment to the answer. For simple shallow cloning, you can always use System.Object.MemberwiseClone:http://msdn.microsoft.com/en-us/library/system.object.memberwiseclone%28v=vs.110%29.aspx[^].After cloning, you may need to adjust certain property, as the result of regular...
26 Jul 2011 by Kunal Chowdhury «IN»
Communicate Between Two Local Silverlight Applications
19 Sep 2018 by Jitendra Tripathi12
How to Connect my peripheral device with Silverlight Application, i want to Use my Peripheral device with Silverlight application that can be sharable with web application What I have tried: How to Connect my peripheral device with Silverlight Application, i want to Use my Peripheral device...
26 Jun 2013 by Karan Fatehgarhia
I need to create a UserControl that will layout and style a simple One-Column Template (here one column means pair of label/Widget), which can be used over any silverlight display or XAML page so that user can add as many columns(label/widget pair) as he/she wants. basically, here i need to...
9 Mar 2014 by gobind_786
I am creating my Custom hyperlink button deriving from Silverlight HyperlinkButton I want to create Right Click and Middle click event on it. Can some help me please.Thanks,Gobind
9 Mar 2014 by Maciej Los
Probably, you're an author of this post: http://stackoverflow.com/questions/22287320/how-to-create-right-click-and-middle-click-event-on-custom-hyperlink-button[^]. There you'll find 1 solution.Have a look here: HyperlinkButton Events[^]. You can try to use: MouseLeftButtonDown,...
29 Jun 2013 by gobind_786
Our organization follows same kind of display style. Hence I want to create a UserControl template, that should layout and style a simple ONE COLUMN TEMPLATE (here one column means one Label/Widget pair).When this UserControl is used in other display, we should be able to add any number of...
28 Jun 2013 by gobind_786
Our organization follows same kind of display style. Hence I want to create a UserControl template, that should layout and style a simple ONE COLUMN TEMPLATE (here one column means one Label/Widget pair).When this UserControl is used in other display, we should be able to add any number of...
28 Jun 2013 by Maciej Los
Please, follow below links:Creating a New Control by Creating a ControlTemplate[^]Choosing between user control and template control[^]How to implement Template Binding in Silverlight Custom Control?[^]I would suggest you ask a question on proper silverlight forum[^] ;)
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...