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

Silverlight5 

16 Dec 2019 by #realJSOP
You can bind the SelectedItem property in the combo box to a public property in your form. That means your form has to inherit/implement INotifyPropertyChanged. Another way is to handle the SelectionChanged event for the combo box, and set a method variable like so: MyType selected =...
16 Dec 2019 by GREG_DORIANcod
Hi, i need to set the value of a list of strings and get it from a selecteitem, this is my XAML
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...
30 Aug 2018 by Mehdi Gholam
ASP.net runs on the server so users can't use client side devices with it. To use client side smart card readers you need to have the code run on the client browser via javascript which highly doubtful that it can be done.
30 Aug 2018 by Jitendra Tripathi12
i have already a windows based Application for Read and Write on Smart Card By Using the Smart Card Reader by Using the C# Application, Now We Want the Same Functionality on Web Application. But i am not able to Access by Smart Card Reader on Web Application. please help me provide the sample...
23 Aug 2018 by Christian Amado
A brief introduction to Metro Style App Development
30 Apr 2017 by carlos_lv8
Hi: how are you? I am recently using silverlight and I wanna know how can I connect with DB. I got understad that only you can connect with WCF services but I dont know what kind of data return so if you can help I'll appreciate you. Pleasee Regards What I have tried: I've tried using...
30 Apr 2017 by carlos_lv8
Which plataform do you use to develop in web enviroment? I want something easy to design de front end.
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.
2 Aug 2016 by Gokul GRS
Project structure:-Two applications 1. To host silverlight (https://aa.com) 2. To host WCF services (application namely services under main web application)(https://aa.com/services)I hosted WCF services over HTTPS. while i am accessing these services using silverlight web...
2 Aug 2016 by Gokul GRS
Quote:Problem is fixed. purely Certificate is the culprit. Due to expiration of certificate, the problem is occurs.
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 Mar 2016 by Sumit Samediya
In this article we will learn how to use existing sqlite database in WP 8.1 apps.
2 Mar 2016 by Savalia Manoj M
Hello all,I have also try different solution for this issue. //Set this after busy indicator = false System.Windows.Browser.HtmlPage.Plugin.Focus(); txtName.UpdateLayout(); txtName.Focus(); Another is this // Set this in Loaded event of...
10 Dec 2015 by Luis Manuel Prospero Mano Batista
XAML Gauge Control for Universal Applications, Windows 8.1 (Desktop/Windows Phone), WPF, Silverlight
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...
21 Oct 2015 by MichaelQw
Stuck in the fact that the following code does not return any values, yet if I pause the program I can see data in the immediate window OK, can someone point out what I have done wrong?.(Total experience with Silverlight
23 Sep 2015 by Member huanyu
I have a TreeView controll with it's ItemsSource bound to an ObservableCollection of my ViewModel. I have the TreeView wrapped by a TreeViewDragDropTarget, so that users can move nodes of the tree around, ala Windows Explorer.I have the TreeViewDragDropTarget AllowedSourceEffects set to...
19 Jul 2015 by hadi eb
HiI'm beginner in silver light.when i drag some controls (like button,textbox) on a grid,silver light doesn't show iti tried on Firefox,chrome and IE result is same this is my xaml code
18 Jan 2015 by sandip_mali
how to find system connected moniters in silverlight 5?I have dual screen environment.I want to achieve following scenario. On click of button, window should be open in another monitor(Screen).Please help me on that. Thanks in Advance:)
24 Dec 2014 by Mohammed Hameed
At times, Application crashes due to some Runtime exceptions and in some cases it may crash again if we navigate to the same page again.Sometimes it starts working fine once we clear the Silverlight cache (Path:- C:\Users\myusername\AppData\LocalLow\Microsoft\Silverlight) if it is related to...
24 Dec 2014 by Afzaal Ahmad Zeeshan
No, cache has nothing to do with the application crashes. This problem is because some of the data that you're storing inside the cache, is either null of is invalid for your application, as soon as you clear the data the application starts to run again. End user, as you've said, will have to...
7 Oct 2014 by CPallini
See, for instance this Code Project article: "Working with Excel Using C#"[^]. As already proposed by Maciej, you could alternatively use ADO.NET for the same purpose (see, for instance this page "Reading Excel From C#"[^]).
7 Oct 2014 by Vinodh.B
Hi I had added a openfile dialog for Importing Excel Files. I need to validate the input file like whether it has specified columns and atleast one row of data. Is it possible to validate before saving the file to server ? How to read the contents of excel file and export to datatable...
24 Jul 2014 by Maciej Los
Have a look here: Can silverlight detect or communicate across browser instances?[^]. It might help you to solve the problem.It might be interesting too:Out-of-Browser Support[^]
24 Jul 2014 by PallaviKonduri
I have a silver-light(5) application which has tabs internal to the application and not tabs in the browser. Consider that application is already open in a browser with 2 tabs inside it. When the user tries to open application in new window/tab it should be shown in the previously opened browser...
13 Mar 2014 by Christian Amado
Hi Mehul, may be this link[^] helps you.Regards.
12 Mar 2014 by Mehul Thummar
in windows phone check user is log in facebook or not?
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,...
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
7 Feb 2014 by sunilgurav241
Hello, I am doing one project in silverlight. In this project, i am created one resources file and that resource add into another project so how to add please suggest..Thanks
3 Feb 2014 by Charlesirwin1810
i am new to silverlight and wcf services, My issue is i have a silverlight application that connects to wcf service in a IIS server. on the first run i am able to get the data just like that, on subsequent calls to the same method in WCF service the response from sever is getting...
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.
19 Jan 2014 by Bharat Leel
I have implemented drag and drop functionality using ListBoxDragDropTarget control of SilverlightToolkit in Silverlight 5.Drag and drop functionality is working fine but some time when I clicked any item from ListBox, the item is sticks with mouse and after selecting I moving mouse around...
19 Jan 2014 by Bharat Leel
I am using ListBoxDragDropTarget for drag and drop custom user controls in Silverlight 5Drag and drop functionality is working fine, but I have arranged control over each other with some margin so I can see bit part of each control.The issue is while dragging one element to another...
12 Jan 2014 by gobind_786
Hi All, I am trying to create a Repeater Template User Control i.e. a rectangular border contains a row of UIElements Like TextBox, ComboBox etc and then I'm automatically adding a + button at the end of the Row. On + button Click I want to add the Same duplicate row below it.This is the...
5 Jan 2014 by Mehdi Gholam
There was a project called Moonlight which is dead now : http://mono-project.com/Moonlight[^]but it seems to be on github : https://github.com/mono/moon[^]
5 Jan 2014 by Angela 10293848
Hiis there a way for run a silverlight application on android os or on linux os?thanks
3 Jan 2014 by Naz_Firdouse
check these linksbinding-to-silverlight-combobox-and-using-selectedvalue-selectedvaluepath-and-displaymemberpath/[^]binding-to-a-combobox-to-a-dictionary-in-silverlight-using-mvvm/[^]Combobox binding [^]
3 Jan 2014 by Arundhati Mohanty
how to get values from database table to combo box in Silverlight , c# mvvm model, please give some example.
18 Dec 2013 by Savalia Manoj M
The default behavior of the RadTabControl is to keep only the content of its SelectedTab in the VisualTree. However if you want to keep the content of the RadTabItem which you have already selected you can set the IsContentPreserved = true property of the RadTabControl.
13 Dec 2013 by Savalia Manoj M
Hello all,I have one Tab Control in silverlight. In my tab there are 2 tab item. In tab-1 and tab-2, i am adding run time control into Canvas. And i have one Save button out side of tab. My Xaml page like,
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...
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...
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...
3 Dec 2013 by Member 3394959
Sugu,To work in IE, Just change ElevatedPermissions="Required" in InBrowserSettings.xmlcode This is...
27 Nov 2013 by Member 10046301
I have a DataGrid in my silverlight project,when i copy the contents of that grid by pressing ctrl+c, i get a clipboard dialog box. I want to disable this clipboard dialog box programmatic ally.
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...
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...
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:...
10 Nov 2013 by Abhinav S
Client Library for .Net[^] provides downloads through which you can get started with API.
10 Nov 2013 by brodcasting
how to add service refrence of google translate api in silverlight application
31 Oct 2013 by gobind_786
I want to create a UserControl template by deriving from TabControl and I'm binding my collection of TabItems with the ItemsSource of tabControl. but it doesn't switching the content of the tab items when tab item selection changes, all the tabs are sharing same content (default-content of very...
13 Oct 2013 by Charlesirwin1810
I am new to silverlight and databinding in silverlight, kindly help how to approach it,my requirement is, i have a collection of 10 fields, i have to get the distinct of onefield and bind it to a radcombobox with checkbox with multiselect, similarly i have to do for all other fields, once the...
10 Oct 2013 by spydeehunk
I want to create stacked bar/column chart using MVVM pattern.can anyone suggest me how to do. even providing links would be very helpful to me.thanks
8 Oct 2013 by OmniSource
Hi,I am working on a Silverlight 5 business application, which will be running OOB occasionally. it has hardware interaction and thus at times a device externally can trigger a sound in application. well that's what is intended anyway.for sound playback, I am using AUDIO namespace from...
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
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...
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...
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...
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 =...
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/[^]
31 Aug 2013 by Christian Amado
Hi Aravindba, may be this answered thread[^] helps to you.Regards.
31 Aug 2013 by Christian Amado
Hi Savalia Manoj, Hope this link[^] helps you.Regards.
25 Aug 2013 by Savalia Manoj M
Hello,I am working On Silverlight Application.In My aplication i used telerik control's Busy Indicator in RadWindow's Content.In my Parent Page contain Action Button. Once Any button press that time open one Window with any Silverlight page. It's working fine but once any popup open then...
10 Aug 2013 by Aravindba
hai How to get value of silver light text box to aspx page text-box ? Currently i can get value for silverlight through button click in silverlight application itslef,i mean i have button in silverlight application and in that button click event only i can get value form aspx page to...
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...
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...
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[^]
6 Aug 2013 by Member 10046301
I need a complete code on how to implement Stacked Bar in Silverlight 5
4 Aug 2013 by Kieran Partridge
If it can, how can I do it?Thanks
3 Aug 2013 by Kieran Partridge
Does anyone know the best way I can access PhpMyAdmin; I've tried using PHP to access PhpMyAdmin through Silverlight but had no success.Just looking for the best/efficient way to access PhpMyAdmin which supports Silverlight 5.Thanks for any help
28 Jul 2013 by Neelesh Vishwakarma
I am having a field in the database "IsActive" which is "Null" by default. Now I want to update the field once and set it to true. Now once the field is set to true I need to restrict further modifications to it. Any help please!
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...
22 Jul 2013 by Sardar Asim Maqbool
I'm working an application that is based on Silverlight 5. It's framework 4.5 is MVVM architecture and implemented by Prism. I'm using silverlight 5 toolkit too.
13 Jul 2013 by amin uddin cs
I have solved this problem. If I show any child window in my page then such child window disable the backend window control. If there is any control in my parent window has enable property (IsEnable="{Binding Path=Object.IsEnbled, Mode=TwoWay}") then when child window disable the parent controls...
4 Jul 2013 by Christian Amado
Hi Madhukumar, there are some ways to print in Silverlight:1. Printing[^].2. Silverlight 4: Printing Functionality (helpful)[^]3. Print to PDF[^].So, searching on Google or Bing you can find a lot of implementations.Best regards.
2 Jul 2013 by Madhukumar N
Hi Dear Codeproject Members,Silverlight 5: In Silverlight 5 I need to print the current page in run time.i.e, I am having the one button as print. When I am clicking on the print button it needs toprint the current page information like in pdf format.
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 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[^] ;)
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 Ariana Bond
Hi,The web service i am using returned web exception. Service is called from silverlight app. Basically i am trying to convert .Eps file into .png , On localhost everything is working well but when i deployed on web server i am getting this error. Error is at...
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
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...
26 Jun 2013 by GrizzlyJames
Well I did not manage to solve this issue directly. However, there was another bug that I ran into which involved the java swing library not working on the production machine. The solution was to add the following tag as the first element of head:This forces IE to use IE8 instead of IE9....
3 Jun 2013 by gaurav786mishra
Hi,Actually i have a finger print device of lumidigm which i need to integrate in a web application . i.e. i need to create a web application which can talk with my hardware device .should i create it in WPF browser application or in silverlight.?As i will require full trusted environment to...
3 Jun 2013 by PrissySC
Actually, you should consult the SDK for the device first. I am working on biometrics as well. I have choosen WPF as it is a desktop application.
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...
6 May 2013 by GrizzlyJames
I am developing a web application using Dojo v1.8 and my target machine runs IE9 and Silverlight 5.1.20125. In this web app, the user can select a tool from a toolbar at the top of the page that will open up in a content pane (or an IFrame if it is an external tool) below the toolbar (only one...
5 May 2013 by Sugu.s
I have used vs2010 and silverlight5. I can able to access scanner through WIA Object on windows 7(32 and 64bit) machine. But WIA object returns nothing on windows XP(32 and 64bit) machine.When i going to create object like AutomationFactory.CreateObject("WIA.CommonDialog")), i got error as "No...
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...
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
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(); ...
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.
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...
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[^]
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...