silverlight-3.0

RIA - Silverlight 3 Issue Deploying to exising website

Hello I have an issue deploying my silverlight project to an existing website (normal website with aspx pages). Everything works fine except that when silverlight tries to connect to the RIA service, it fails because the website is redirecting each time to the login page. I found this on the web.config of the site that seems to make th...

Removing Elements Programatically in Silverlight

Hi all, I am starting to learn silverlight and to practice I am doing a simple space invaders type videogame. My issue is I am creating custom controls (bullets) programatically like so: if(shooting) { if(currBulletRate == bulletRate) { Bullet aBullet = new Bullet(); ...

Display xml data in silverlight datagrid, vb.net

I want to display an xml file data in silverlight datagrid. im using the below code but it doesnt work.Please help. My vb.net code: Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Windows Imports System.Windows.Controls Imports System.Xml.Linq Namespace SilverlightApplication1 Public Par...

Is it possible to have two browsers, one with Silverlight 3, one with Silverlight 4?

For development reasons, I can't install Silverlight 4 on a particular machine. Is it possible to install the Silverlight 4 plugin on one browser, e.g. in Chrome or Opera, while Firefox and Explorer continue to use the Silverlight 3 plugin? ...

Can <Setter.Value> have multiple grids inside it

Hi, I want to define the background for my application in App.XAML. The background was previously defined in another xaml page,which have multiple Grids inside it like following: <Grid x:Key="GridGeneric" d:LayoutOverrides="Width, Height"> <Grid.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> ...

Image of size more than 3 MB not getting uploaded using webservices .asmx

Hi, I am trying to upload images using a webservice from silverlight. I am first converting the images into stram of bytes and then trying to upload them. I am able to upload image of size 2.5 MB. But not more than that.It gives me "The remote server returned an error: NotFound" error. What could be the reason. ...

silverlight security with WCF service, Forms Authentication and Custom Form Ticket

I have a silverlight application with login on the silverlight page. It uses Forms Authentication with WCF authentication service and customer Membership Provider. Something like : http://blogs.msdn.com/phaniraj/archive/2009/09/10/using-the-ado-net-data-services-silverlight-client-library-in-x-domain-and-out-of-browser-scenarios-ii-form...

How to apply styles to the whole silverlight pplication?

Hi I have created two different grid background and radio button style in my App.xaml. User can select any style to change the look of the page i.e: Changing the background and style of the radiobutton. Now When I click on the raduio button the application navigates to another page and the style disappears. Is there a way to Set t...

How to I convert a Silverlight 3.0 project to Silverlight 4.0?

I have a solution with several Silverlight Class Libraries and a Silverlight Application in it. I was originally built in VS 2008 with Silverlight 3.0. What changes do I need to make so that it builds using Silverlight 4.0? I already have VS 2010 and the Silverlight 4.0 toolkit installed. When I opened the project it seems to have up...

How to convert Image into Stream of bytes without using Openfile Dialogue in Silverlight?

How to convert Image into Stream of bytes without using Openfile Dialogue in Silverlight? ...

Silverlight + SharePoint Web Services : Avoiding Browser Login Prompt

Environment: SharePoint 2007 (Integrated Windows Authentication) Silverlight 3.0 (Communicating with SharePoint via WCF) On the SharePoint site, we have a list that contains links to other sites throughout the SharePoint web application. The silverlight app traverses this first list via Web Service call to /_vti_bin/Lists.asmx and m...

How to create databinding over two xaml files?

Hello, I am trying to come to a working understanding of how databinding works, but even after several tutorials I only have a basic understanding of how databinding works. Thus this question might seem fundamental to those more familiar with silverlight. Even if it is trivial, please point me to some tutorial that deals with this prob...

Anybody have anyluck F# Silverlight vs2010?

Has anybody had any luck with the following combination F# 2.0 Silverlight v3 .NET Framework 4.0 VS 2010 I have been trying all night and I just can't seem to adopt any of the existing smaples out there to run... My goal is to have a silverlight application 100% backed by F#; the examples that are referenced as working are mostly C...

wcf message size causing permission issue

silverlight 3.0 client wcf 3.0 VS.Net 2005 Web Site Win 2003 Server 50 column observable collection. return observable collection select top 975 * ... no problem return observable collection select * .... Issue On SL client after proxy.Get 50 col OC logon screen from win 2003 server pops up Mever makes it to the completed even...

strange sqares like hints in Silverlight application?

Good day! Strange square appears on mouse hover on text boxes, buttons, etc (something like hint) in a silverlight navigation application - how can I remove it? a scrin shot an example .xaml page: <Code:BasePage x:Class="CAP.Views.Main" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://...

mouse wheel scrolling work with f5 in app but don't work on web

Good day! I have a web application on Silverlight 3. on ManePage I have a <ScrollViewer x:Name="sV" MouseWheel="sV_MouseWheel" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"> with such code: private void sV_MouseWheel(object sender, MouseWheelEventArgs e) { var offset = sV.VerticalOffset...

Does uploading size from a silverlight module depend upon the RAM size ?

I have a Silverlight module that is uploading few images on the server. I am able to upload an image of size upto 4 Mb from a machine which is having >2GB RAM. But if the same solution is run on a 1 GB machine the image does not get uploaded. I have added the following node in the web.config <httpRuntime executionTimeout="900" maxReques...

Conducting Quiz

I want to conduct a quiz using silverlight. This quiz contains few questions and each question will have multiple choices (Radio Buttons). User should select one answer. After completing the quiz I need to display Result. Is it better to provide the questions and options in XML Document and then retrieve it into silverlight class? If y...

Enable DOM Access for Silverlight Web Part in Sharepoint 2010

I am hosting a silverlight 3.0 control on my Sharepoint 2010 page. I am using the built-in SilverlightWebPart web part, where I have provided the path for .xap file. Its displaying properly, but when I try to access the System.Windows.Browser, its throwing an error. My code is: public static string GetQueryString(string key) {...

Problem in RadDataPager Localization

I have to use localization for Telerik RadDataPager in silverlight. For this i have developed a class inheriting RadDataPager by overriding OnApplyBaseTemplate Method. but after using this custom class now error is coming for PageSize, Source, DisplayMode etc are not found in class, Please reply if someone has done localization in RadDat...