silverlight

php to silverlight base64 encode/decode

My question is quite similar with this one. But it is php to silverlight. my php code (server encode): $str = 'This is the string'; $encoded = base64_encode($str); How could I achieved the decoded string in Silverlight 2? ...

Is there any concurrent HTTP requests limitation for Silverlight?

I know that RFC requires UserAgent to have a limit of max 2 http connection to single server. In fact, most browsers have the limit larger than 2. The question is whether Silverlight have such limitation. Does it follow limit of hosting web browser? or does it has its own max connection limit? ...

How to animate a polygon? (Read: Animate the contour to change shape)

Greetings! I am currently working on a Silverlight project and I would like to animate a simple polygon shape (a trapezoid actually). Specifically, I woudld like to move two of the four points dynamically after some event happened. I need / want to resize and move one of the parallel sides to another position. I admit I am rather new...

Is there a way to close a PopUpWindow in Silverlight

Hi, I am creating a popupwindow for login like the following pageHandle = HtmlPage.PopupWindow(new Uri("http://localhost/somepage.aspx") Now I need to close that window aftter login in completed. How to do it? ...

Silverlight TabControl bound to ObservableCollection<string> not updating when collection changed

Silverlight 3 app with a TabControl bound to an ObservableCollection using an IValueConverter. Initial the binding works (converter called) on app startup. Changes, Clear() or Add(), to the bound collection are not reflected in the TabControl... converter not called. note: the bound ListBox reflects the changes to the bound collection ...

.Net RIA Services: DomainService Needs a Parameterless Constructor?

I'm using the July CTP of .Net RIA Services in an ASP.Net application with some Silverlight components. I'm calling the RIA Services from Silverlight. My problem arose when I tried to use Unity and constructor dependency injection in my Domain Service (a LinqToEntitiesDomainService object). The Silverlight application now complains ab...

Getting the infamous "The remote server returned an error: NotFound" error.

Hi, guys. I'm pretty new to both Silverlight and WCF. What I'm trying to do is provide a database connection to my Silverlight object. The problem I'm having, though, is that my web service, while it compiles fine, doesn't seem to be returning anything at all. I've used Fiddler, and tried a custom request, but the service itself isn'...

Storyboard duration cutting off animation

I'm running into a really weird issue with Silverlight 3. I've defined an extension method to create a storyboard around a given DoubleAnimation and play that animation. I know the default duration for storyboards in Silverlight is 1s, but I would like to change that for my animations. However, when I set a different duration, instead of...

What is the best way to learn Silverlight?

I‘m planning on learn more about Silverlight by attending one of the following places. And from then (which I called/hope to be the foundation) I’ll have good solid background and information (I hope) about Silverlight. The question is, which one is good enough for me as new developer to Silverlight in terms of content and value. The fi...

Picking up Silverlight

I absolutely have no idea about Silverlight except that it is a Microsoft technology. Having nearly completed a Computer Science degree, having programmed in C# for a few years in a work environment - have a good knowledge of Java and OO techniques - how hard is the road of average Silverlight programming? I've been offered some work DAM...

How do you specify a different base class in .xaml files (Silverlight)?

How can you specify a common base class in .xaml files for seperate Silverlight Page classes? I have a few common properties that I would like to share across pages, but I don't know how to do this without manually changing the base class in the .g.cs files each time they are generated. Is this possible? I assume it is possible, since t...

Licence for DeepZoom and SeaDragaon AJAX??

Hi, wats the licence for microsoft silverlight DeepZoom and SeaDragaon AJAX.. can i use the libraries in commercial applications.. or do i need to purchase any commercial licnence... Cheers Rames Vel ...

Silverlight 2 Webservices

Hi, I'm developing a silverlight application that consumes a webservice. Calls to this webservice are made Asynchronously. But when an exception occurs during a procedure of the async call, I get an error on the completed event but i lost my original exceptions information. Independent of what the original exception was, I always get "...

Adding a UIElementCollection DependencyProperty in Silverlight

I want to add a dependency property to a UserControl that can contain a collection of UIElement objects. You might suggest that I should derive my control from Panel and use the Children property for that, but it is not a suitable solution in my case. I have modified my UserControl like this: public partial class SilverlightControl1 : ...

Reusing a customized style in Silverlight

By modifying the RowStyle of a DataGrid I have created a customized grid that will display some buttons at the end of the row when the mouse hovers above the row: I created a new style for DataGridRow based on the default style. I then modified the XAML to add my buttons inside a StackPanel (details omitted): <UserControl.Resources> ...

Silverlight Validation - Optional Fields

Has any one used data validation on fields that are optional (nullable types)? I.e. the field can be empty, but if data is entered, it must be valid? Thanks, Mark ...

What issues can a client have running Silverlight?

Hey, My company recently deployed our first Silverlight app, and, as expected, we've had a couple of small issues with getting it to run on some clients' machines. Mostly it was javascript that was disabled or using a non-supported browser, but I was wondering if there was a resource that lists the common issues that users run up again...

Silverlight testing: Watin vs Selenium comparison

I was wondering how well these web test frameworks (Watin and Selenium) work for silverlight UI testing. Have anyone tried it on a project?, are Watin or Selenium well suited for silverlight?. Thanks, ...

Silverlight OLAP Data Grid?

Hi there, Is there any control around where I can have something like Flex OLAP Data Grid for Silverlight? I tried to create one on my own, but hitting the wall all the time, if there aren't something like this in the market, can we brainstorm a bit on how to approach creating a control like this? Thanks ...

To Host Silverlight Application on a Classic ASP page

Hi there, Is it possible to host a silverlight application on a classic asp page? I see examples where the silverlight application is hosted on a html page, and I do understand that Silverlight is a client side language, but since I need to pass data from the page to the silverlight application, I am not too sure what to do. PS: the si...