Click here to Skip to main content
15,890,438 members
Everything / Silverlight / Silverlight4

Silverlight4

Silverlight4

Great Reads

by Kunal Chowdhury «IN»
Customized Scrolling in Silverlight using Expression Blend
by İlkay İlknur
Silverlight Focusing Issue
by Kunal Chowdhury «IN»
How to implement template binding in Silverlight custom control
by Abhijit Jana
A demo of how to integrate a Silverlight Application with SharePoint 2010

Latest Articles

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 Wayne Ye
Elevated trust in Silverlight 4
by Eugene Sadovoi
Implements delayed or disabled INotifyCollectionChanged.

All Articles

Sort by Title

Silverlight4 

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
25 Feb 2011 by Sunasara Imdadhusen
Hello,i have created one application (project type is Silverlight Application) and which contain two pages Step1.xaml and Step2.xaml. page 1 contain Button called Nextpage 2 contain Button called PreviousNow my requirement is when i click on Next it should load Step2.xaml and click...
25 Feb 2011 by Sunasara Imdadhusen
Finally i got solution from following link:Beginning Silverlight 3[^]Thanks,Imdadhusen
19 Apr 2011 by RDBurmon
I have install VS2010 set up.I am searching for silverlight template (Login - registration form template)But i found not there is vs2010 set up. Please give me that template.Besides this i am more than interested it any one give me source code of template simmilar as...
30 Dec 2010 by #realJSOP
If you're running VS2010 Express, maybe that template isn't included in the Express version. I have the full retail version installed at home, but I'm at work, so I can't check right now.
19 Apr 2011 by Abhinav S
You need the RIA services installed. See the prerequisite section in this article[^].
23 Mar 2011 by #realJSOP
[SOLUTION] See my Answer to this question.I have two problems with child windows in my Silverlight 4 app. I created a pair of ChildWindows in my Silverlight app. The first child window has a button which causes the 2nd child window to be displayed.Problem #1When I run the app, make...
23 Mar 2011 by #realJSOP
The problem was happening because of this code:Private Sub Button1_Click(ByVal sender As System.Object , ByVal e As System.Windows.RoutedEventArgs) Dim window As ChildWindow1 = New ChildWindow1() AddHandler window.Closed, AddressOf window1_Closed '
23 Mar 2011 by #realJSOP
Another problem I was having was that my app was becoming completely disabled (couldn't navigate or click on anything) when I exited the first child window more than once in a session. The fix was to add this code to my window_Closing event...
28 Mar 2012 by Christopher Camacho
A user control for entering numeric values
22 Feb 2011 by İlkay İlknur
Silverlight Focusing Issue
11 Jan 2011 by Kunal Chowdhury «IN»
A Quick Guide to Silverlight Ribbon Controls (Part - 1)
6 Feb 2013 by recoverinfotech
if we user ubuntu as an client system
6 Feb 2013 by Dave Kreskowiak
They would have to install a Silverlight plugin, on Linux systems it's called MoonLight, in order for it to work.Read here[^] and follow the links for downloads and install instructions.Keep in mind that Moonlight is NOT an official Microsoft release, so functionality cannot be...
1 Mar 2011 by Piyush Nandanwar
Hi,I have a string with HTML Tags as String Data = "Here is text";I want to display the above string in a textblock control using Silverlight. The step Textblock.text = Data, should give me a result as here is text in BOLD not with tags.Instant reply would be...
1 Mar 2011 by Abhinav S
Have a look at this discussion thread[^]. There are some links in this discussion that might be useful to you.
16 Mar 2011 by anshu kumar sharma
Hi I am developing a voice\video chat application. in which i successfully developed the video chat but i have some problem in voice. so please some one guide me how to send and receive video\voice stream both simultaneously. can any one give me an example or an approach. Thanks.
16 Mar 2011 by Sandeep Mewara
Have a look at this article: Your First Step to the Silverlight Voice/Video Chatting Client/Server[^]
22 Feb 2011 by bm_umran
I dont select any rows on datagrid and I want to access rows datas which are on datagrid.Normally,at datagridview, datagridview.Rows[].Cells[] I can access data with this way and I want to learn that this process is how do at datagrid in silverlight?Thanks everyone.
22 Feb 2011 by Abhinav S
The datagrid has a selecteditems property - see here[^].
28 Dec 2011 by nbeiruty
Code :Page1.XmalPage1.Xaml.csdg.ItemsSource = e.Result;"Via Wcf Service (linq to sql)"How can I remove a column...
29 Dec 2011 by Piyush Dixit
Hope this help :
29 Dec 2011 by NandaKumer
check these blogshttp://www.kunal-chowdhury.com/2011/06/solution-for-binding-silverlight.html[^]http://forums.silverlight.net/t/16733.aspx[^]--NDK
9 Aug 2011 by Piyush Nandanwar
HiI have created a domain service class (WCF RIA Services) for the current architecture of database using entity framework model.I have added a method in domain service class which is used to get a record from two tables.But the changes are not reflecting in silverlight...
12 Oct 2011 by I.explore.code
Try clearing the browser cache and then reload the page. The XAP file has to be updated, also check for any script errors on the page. I know your question is old and you probably may have figured out the solution in which case I would request you to close this question.Cheers
28 Nov 2012 by Savalia Manoj M
Add checkbox inside combobox in Silverlight.
13 Oct 2010 by Sarah Lan
How do I add Buttons to grid by code, using some type of a loop?
13 Oct 2010 by Sandeep Mewara
Have a look at this:Similar Discussion: Adding button control to grid column at run-time.[^]
28 Feb 2011 by Abhinav S
Add a new item to your datasource collection i.e. list.If you have done your binding correctly, a row will get added automatically to the datagrid.
28 Feb 2011 by Amd_eagle
I have a Datagrid which show data from a database.each time i load the data from my data vase the old data is earsed and the is replaced with the new data.What i want is for the pervious row to remain and the new data to be appened to the end of the datagrid.my code is as shown below...
28 Feb 2011 by Dave Kreskowiak
Keep your data in a DataTable object, then bind the grid to it. When you get a new record, add it to the DataTable and refresh the binding.
24 Oct 2012 by ashokm01
Create an global declarationObservableCollection myObs = new ObservableCollection();Add New FunctionPrivate void AddRows(){myObs.Add(new Person() {});datagrid1.itemsource=myObs;}Call the above function in a button click to add new rows dynamically.
8 Aug 2014 by Pushkar The Heaven
DataClass obj=new DataClass(); // this is the class used in databindingobservablecollectionobj[0] = obj ; // if want to insert at any position, you have mention the index no.
4 Apr 2011 by #realJSOP
What to do when the "you're a moron" epiphany smacks you in the head just after you've convinced yourself you're pretty clever.
18 Jul 2012 by Pranay Rana
Align Text in Autogenerated Column of Rad Silverlight Girdview and Silverlight Gridview
8 May 2012 by Dhanamanikandan
Refer this article..http://www.goldcoastwebdesigns.com/change-hyperlink-color.shtml[^]
1 Mar 2011 by Amd_eagle
i have an 2D array which i am trying to write into a List so i can bind it with a datagrid.below is my code. string[,] array = new string[8,4]; array[counting2, 0] = txtSend.Text; array[counting2, 1] = One; array[counting2, 2] = Two; ...
1 Mar 2011 by Sean A. Hanley
Yes, you're just adding the same object reference three times. ;P The last run on the for loop sets the values to what you'll see for all rows, since all rows point to the same instance of Testing.You were really close. Instead, do this:for (int i = 0; i
21 Feb 2011 by anitha6160
using Silverlightmy question is i have one loginpage one mainpage in mainpage i have 2 text boxes i.e., Name,Address and one button one DataGrid the and DataBase is CustomerDataBase when user login to the mainpage based on that loginid the CustomerName and Address will be displayed in that...
20 Feb 2011 by Venkatesh Mookkan
You could use Web Services. But if it is too much for your application, you can write Handlers on the server-side and use it in your Silverlight Applications.Silverlight 3: Displaying SQL Server Data[^]My First Data Application in Silverlight 2[^]Basic Database Operations in...
4 Sep 2010 by Kunal Chowdhury «IN»
Here, I am consolidating all the Silverlight Articles that I posted in my Blog and CodeProject for your further reference. It includes articles of last six months.
27 May 2011 by buzzluck68
I have built an ASP.NET web application (that houses a Silverlight 4 app) and it utilizes a couple of COM dlls. The dlls are registered (verified by finding the CLSIDs in the registry, and seeing the classes within the CLSIDs), and they are located in a directory that has full control for all...
27 May 2011 by Ankur\m/
This discussion talks about a possible work around for the error: http://forums.asp.net/t/1119052.aspx[^]BTW there are many other discussions here[^] :thumbsup:
27 May 2011 by #realJSOP
I found this on the first page of over 2.1 million results with a google search for "asp.net class not registered":http://forums.asp.net/p/1046003/1467497.aspx[^]
27 May 2011 by buzzluck68
The solution was a stupid oversight on my part. Since I am still learing IIS, i set the application pool to have the correct settings, but I forgot to set the site to use the application pool.The application pool had to be set to allow 32-bit applications, which it was, but was not being...
8 Sep 2015 by abdulwahid
My problem and the solutionI have a 32 bit third party dll which i have installed in 2008 R2 machine which is 64 bit.I have a wcf service created in .net 4.5 framework which calls the 32 bit third party dll for process. Now i have build property set to target 'any' cpu and deployed it to...
15 Jan 2011 by anilmaddala
Hi, I am new to Silverlight and am working on Carousel effect shown in this page:http://www.shinedraw.com/animation-effect/flash-vs-silverlight-image-carousel/Is it possible to include an ASPX page instead of image, and reproduce similar effect? How to do it?Thanks,Anil
16 Jan 2011 by Espen Harlinn
Telerik has one controlRadHtmlPlaceHolder[^]That's one way to solve your problem. It's probably implemented in a manner similar to this: A simple Silverlight Web browser using iframe[^]Another is to use, as John advices, the System.Windows.Controls.WebBrowser[^] control, but you need...
16 Jan 2011 by #realJSOP
Silverlight4 has a WebBrowser control. Just google "Silverlight4 WebBrowser control":http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-html-hosting-in-the-webbrowser-control.aspx[^]
12 Oct 2011 by Blagovest R.
Hi guys, If I set CustomValidator for some class (the class is defined in DomainService.metadata) then validation is not async. Otherwise, if I set CustomValidator for some properties then validation is async. How can I make async validation with CustomValidator for my class?First...
27 Jul 2011 by Parth Gandhi
Hello, When I click on a button at UI side, One method is called at serviceside(named Service1). From service1, an asynchronous call given to another service(named Service2). At same time, callback is returned to UI from Service1. But I want to wait till Service2 return data to...
5 Mar 2011 by NewtoSharepoint
Hi, I am new to Silverlight want to do Authentication and Authorization using asp.net Webservice . i am not able to understand how to customize the inbuilt security in silverlight. Here i have separate Login and Registration screens for the application and having tables (userlogin and...
1 Sep 2010 by cnjadhav
Hey guys,I have a Xaml Page which has a Save Button on it.In the code behind I have the Click event for the Save Button.After the click logic is completed I want the page to be refreshed automatically.How do I achieve that?Thank you for all your help.Chetan.
1 Sep 2010 by AspDotNetDev
What do you mean you want to refresh the page? Silverlight is not like HTML... there is no page refresh. If you have your data bound correctly, shouldn't the page instantly reflect the new data?
1 Sep 2010 by Dalek Dave
You could use a DispatcherTimer event.see here[^]
1 Sep 2010 by Abhinav S
You need to call your web service everytime you need to do a refresh.If you have implemented INotifyPropertyChanged correctly, you should be able to see data refreshed on the page everytime the service call returns to the client application (and your data has changed).
4 Jul 2012 by Member 8708565
HtmlPage.Window.Navigate(HtmlPage.Document.DocumentUri);
29 Jul 2010 by Kunal Chowdhury «IN»
In this post, I will demonstrate how to animate the items in a specific direction in your PathListBox control. This will not only guide you for animation in PathListBox but also will help you understanding the StoryBoard creation (if you are very new to Silverlight).
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
9 Dec 2010 by Basnta Padhi
Hi All, I got a Project to do on Silverlight so I want to know the best books for getting knowledge in Silverlight Technology of Microsoft very quickly.Any help will be Appreciated.Thanks in Advance,
9 Dec 2010 by TweakBird
Hi,Have a look on Kunal [^]ArticlesFirst Guide to MEF and Silverlight (Part–I)[^]First Guide to MEF and Silverlight (Part II)[^]First Guide to MEF and Silverlight (Part III)[^]
11 Dec 2010 by Abhinav S
You might want to start with some quickstarts[^].
15 Dec 2010 by Pete O'Hanlon
If you are looking for a book on SL4, then I can heartily recommend Silverlight 4 Unleashed[^] by Silverlight Ubermeister Laurent Bugnion. It's effectively two books in one, Silverlight 2 Unleashed to get you to grips with basic features and the second book goes into detail about what's new in...
16 Jan 2011 by Shekhar7
Hi,I want to develop BIG (almost 250 screens) application in Silver light 4/SL4, but cannot found any proper information/guidelines on the web : Is it possible to use SL4 and WCF Services for the same?Please provide helpful informationMany Thanks,Shekhar
16 Jan 2011 by Abhinav S
It is quite possible to use WCF and Silverlight together.This[^] will help you start up.You can look at Prism [^]if you want to develop your applications using a modular approach.
6 Oct 2010 by Pawel idzikowski
How to serialize binary data to IsolatedStorage in a Silverlight client when there is no BinaryFormatter in Silverlight? Why not with sharpSerializer? - An open source XML and binary serializer for .NET and Silverlight
17 Jul 2011 by Piyush Nandanwar
Hi allMy class structure is like:public class ClassName{ public string ColumnName{get;set;} public List ColumnValues{get;set;} }list lstClass=new List();// Iterating for values into lstClass// Now i have values into lstClassI want to bind a datagrid so that the...
17 Jul 2011 by Ashika s
Haiiiigr...
17 Jul 2011 by Abhinav S
You can make the Itemspaneltemplate of the ItemsControl you bind to horizontal.This should give the desired effect you require.Something like
17 Jul 2011 by Venkatesh Mookkan
You cannot achieve this directly. Binding a collection normally act as rows and not as columns. You should maintain the columns in a separate collection bind to the Columns property of the DataGrid.Mark it as answer if it is helpful.
13 Feb 2011 by k.swapna
Hi, I have 2 tables customer and user in customer cust_no is unique for that Customer i can add any number of users for that particular Customer No So, Now i have to show this in a TreeView like Customer No should be the Parent Node and the User No should be the Child Node (Like if we...
13 Feb 2011 by Nish Nishant
Have you read this article?How to: Use a TreeView to Display Hierarchical Data[^]
13 Feb 2011 by Abhinav S
You need to use binding as demonstrated below.Also, see here[^].
28 Feb 2012 by Sunasara Imdadhusen
Hi All,I have created Custom User Control which contain TextBox and PasswordBox. it is binding completely work but when i changed any value inside TextBox or PasswordBox of user control then my source property does not getting refreshed.Following are the code for my Custom User...
28 Feb 2012 by Sunasara Imdadhusen
Finally i got solutionI am missing Mode=TwoWay in LoginView.xaml:Thanks,Imdadhusen
19 Jul 2010 by Abhijit Jana
A demo of how to integrate a Silverlight Application with SharePoint 2010
28 Nov 2010 by rajesh1231103
a:Deserializat...
29 Nov 2010 by PumbaPumba
Increase the maxItemsInObjectGraph quota.
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 Sep 2016 by k.swapna
Hi,My project requires me to develop a calendar event in Silverlight 4.0 and I am new to Silverlight. How do I develop calendar events in Silverlight 4.0?I am sending you the link in which there are calendar events and trying to do the same. Can you go through the link and click on...
20 Jan 2011 by Nish Nishant
Here's a free library from Codeplex:http://slcalendarcontrol.codeplex.com/[^]Here's another one :http://www.maurepas-handball.org/public/calendrier/calendrierSL.aspx[^]The page's not in English so I can't figure out which is the download link (for the source code). Maybe someone...
18 Jan 2011 by k.swapna
Hi, I am new to Silverlight and how to use calendar events.Thanks,swapna.
18 Jan 2011 by Abhinav S
Well - msdn could be your best bet - see here[^].
5 Aug 2010 by yuripon
Hi, how to load 5 property in c#.? I mean, in this case I have 5 property, food1, food2, food3, food4, food5. I want to make a list for them, and call them into mainpage.cs and random it.
9 Aug 2010 by BalaG Ganesan
Use "Indexed Properties" to do that.RegardsBalaji Ganesan
17 Feb 2011 by technette
Can I export datagrid in the same order it was rearranged?Using com automation?Using and export utility that exports to csv using streamwriter?I have both versions of the code and am able to export only according to the XAML format for the csv export. Using the COM automation, I can...
25 Sep 2010 by 1Numpty
MAN OH MAN I CAN'T GET THIS RIGHT. I'm a bit new to this and really need some guidance. I have Silverlight 4.0 and vs 2010 and I want to program in Visual Basic because I HATE C#, so, I make a new Silverlight project under the VB settings template and create a service reference and call it...
16 Dec 2011 by Lousy Programmer
Hi, I am trying to access data from crm in siverlight through Odata Service. I want to retrive account info on the basis of contact name. for the same purpose I used join in my query. While executing at "_account.LoadAsync(qery2);" I get error that Join is not supported.My...
4 Apr 2012 by tidkerohit
Hi,I am not a very experienced CRM developer but I think the problem is CRM 2011 converts this to an Odata expression which could implement joins using expands but I don't know how but I think even though it does it is quite weak at doing so. I prefer to write to seperate queries and join...
14 Mar 2012 by mla154
Hello,The CaptureMouse() call doesn't appear to be working for the MouseRightButtonDown event in my Silverlight 4 application. The code below shows the following:(1) When holding down the left mouse button inside the IE web browser window, and keeping the button down until the mouse is...
14 Mar 2012 by mla154
This book from Google books (http://books.google.com/books?id=PJmgeIdZT3YC&pg=PA117&lpg=PA117&dq=silverlight+mouse+%22capture%22+right+button&source=bl&ots=VtN1mnkpsa&sig=yHvxHw03Wbg7XDpjusGclYDKgJw&hl=en&sa=X&ei=z_FgT7rPKcO2gwf5guiWCA&ved=0CFsQ6AEwCQ#v=onepage&q=capture&f=false[^]), page 127,...
4 Jun 2012 by Mayank Garg
Hi,While saving the large images in Sql Server-2008 R2 database from Silverlight 4.0 desktop application I am gettimg the below error.The HTTP request to 'http://' has exceeded the allotted timeout. The time allotted to this operation may have been a portion of a longer...
15 Jun 2012 by bluesathish
Hi Mayank,I think you need to manually set the timeout values in binding settings of your web.config file. By default it'll be a 1 minute, you should have to increase it.For (ex), bindings> There are several timeouts like closeTimeout,openTimeout etc. you can set...
8 Jun 2012 by Sudhir Kumar Srivastava lko
Hi to All,In My Silverlight application i want to display a combobox with some value but it should look like a textbox when i hover the mouse on the textbox it will show all the value present in the combobox.How to achieve this?It is very urgent please give the valuable suggestion as...
15 Jun 2012 by Farhan Ghumra
If you want to highly customize your combobox then you have to develop it. You can use Microsoft Expression Blend® 4 [^] or check out Microsoft Expression Community Gallery[^]