Click here to Skip to main content
15,902,445 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 =...
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.
21 Feb 2013 by _Amy
Prijesh Wrote:Which platform to select?If you ask the answer of this question from me, in simple words I'll say, "The programming language which I understand easily and implement my own ideas(algorithm), that is the best programming platform for me". Although, nothing is so easy, there is...
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[^]
10 Nov 2013 by Abhinav S
Client Library for .Net[^] provides downloads through which you can get started with API.
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...
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...
1 Dec 2012 by Akash Detroja
Please try below code and Set your file's property (Right click on that file) 1) Build Action : Content 2) Copy to Output directory: Copy if newer ResourceDictionary rd = new ResourceDictionary(); rd.Source = new Uri("/Theme/Red.xaml",...
23 Sep 2012 by Ambesha
you wanna code in server side or client side ?
27 Sep 2012 by Ambesha
Friend, try the code below:
16 Dec 2012 by amin uddin cs
Hi,There is no problem when update data in data context. But if I show any message box/dialouge then the problem occur when I use static resource in my control. i.e If I want to update master detail data then I first get such data in my edit page.Here master has three detail items. Now I...
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...
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.
16 May 2012 by Amit Kalbande
Hi , I Need a help for building A Static website for the real Estate organization , I need Graphic 3d Effect in it . What i have to Do For providing such effect in the Website . Please Help me.
7 Dec 2012 by Amit120kk
Hi,can anybody help me regarding a replaceing a Null date to proper string.
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...
5 Jan 2014 by Angela 10293848
Hiis there a way for run a silverlight application on android os or on linux os?thanks
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
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
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
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...
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...
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(); ...
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.
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...
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.
8 Jan 2013 by Bernhard Hiller
" System.MissingMethodException: Method not found: 'Void 854179471.2058010023(516896233, Mono.Debugging.Client.StackFrame)'."That looks more like a bug in Mono. Why do you use Mono? Does the problem occur in Visual Studio too?
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...
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...
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]
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)) ...
10 Nov 2013 by brodcasting
how to add service refrence of google translate api in silverlight application
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:...
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.
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...
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...
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...
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 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.
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...
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.
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 =...
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
29 Jul 2012 by Christian Amado
This brief tutorial pretends to demonstrate how to add custom properties inside DomainService's metadata class
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",...
31 Jul 2012 by Christian Amado
A very brief article about the implementation of encryption and decryption of a string in Silverlight Business Application
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...
23 Aug 2018 by Christian Amado
A brief introduction to Metro Style App Development
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...
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.
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 :)
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()){ ...
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.
31 Aug 2013 by Christian Amado
Hi Savalia Manoj, Hope this link[^] helps you.Regards.
31 Aug 2013 by Christian Amado
Hi Aravindba, may be this answered thread[^] helps to you.Regards.
13 Mar 2014 by Christian Amado
Hi Mehul, may be this link[^] helps you.Regards.
6 Aug 2012 by Christian Graus
There is a forum for article requests. This will be lost in hours.
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#"[^]).
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...
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.
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...
20 Dec 2011 by dinesh gd
How to use the Picker Box in Windows mobile 7 application instead of a combo box. ...
19 Mar 2013 by E-ChaitanyaMalli
Please provide the apt description about the issues
18 Apr 2013 by E.F. Nijboer
Maybe the examples here can help you out:http://blog.yezhucn.com/wiaaut/showacquireimage.htm[^]Good luck!
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
19 Mar 2013 by eswarmca65@gmail.com
WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/18103959 Exception: System.ServiceModel.ServiceActivationException: The service '/Services/LIS-Web-LISDomainService.svc' cannot be activated due to an exception during...
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.
20 Nov 2012 by farshad saeidi
1.send excel file to server2.use oledb(jet) to connect the excel file as DB3. read date and response to client
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...
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...
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...
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...
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}" > ...
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
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...
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...
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 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...
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...
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...
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...
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...
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
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.
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...
3 Dec 2012 by gopal_nivas84
Hi,I configured my Silverlight site into https.Now I just passing mp4 URL into my video player as a source.(URL is in http) but it shows the media player but nothing is happened(for example my sample mp4 URL is look like http://www.example.com/1.mp4)but it is not playing.note:...
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 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
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...
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....
7 Dec 2012 by Gyandeep neema
Hi All, I have a challenge, I have to convert an html page, which is hosted on the server to png. I have gone through many websites. They all are providing solution for windows based application. Any help will be appreciated.Thanks
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
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,...
8 Jan 2013 by Idle_Force
I am getting a strange error in two of my projects. I have not altered them for some time - so I am very confused by the error. I unchecked the Generate Silverlight Manifest File and now the error is: The "XapPackager" task failed unexpectedly. I have tried to clean the solutions and rebuild,...
9 Jan 2013 by Idle_Force
Close and re-open Solution cured this one. Strangeness!