Hello,
I am playing around with Silverlight. Currently, as a test to see if I like the technology, I'm building a utility. This utility simply checks to see if my web sites are up and running.
With Silverlight, C#, how do I ping a website (like www.google.com) to see if it is available?
Thank you
...
Hello!
Could anyone offer me some advice on how I might go about implementing a control in Silverlight that displays image thumbnails that when hovered over, enlarge to a bigger size!?
Help greatly appreciated.
...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0. I host a WCF service in IIS 7.0. My question is, besides using https + basicHttpBinding, are there any other security solutions? I want to find a security solution which does not need certificate on server side. I am not sure whether message security works without c...
Hello,
How do I check to see if a website exists at a URL in Silverilght? I basically want to ping a web page. However, the WebClient does not seem to work for me. Is there a way to check HTTP response codes in Silverlight? What does the code look like to ping a web site?
Thank you
...
I have a template called template1.xaml and when I call this in Page.xaml and bind a string to the custom control property called "Title" it works. for example:
<Local:template1 Title="My Title" />
works in Page.xaml, but if I want to use Resx binding like this:
<Local:template1 Title="{Binding Strings.Hello, Source={StaticResource S...
I have a Silverlight 3 app that allows the user to upload images, and then is supposed to display them. The image gets uploaded fine (I can view it in the browser), but I get the following error from Silverlight:
Message: Sys.InvalidOperationException: ImageError error #4001 in control 'Xaml1': AG_E_NETWORK_ERROR
Line: 453
Char: 17
Co...
Let's assume that In the App.cs - I'd add a field to the class representing the application.
Can I access that field from the app's pages? If so, how can I do that? Am I correct to assume that once initialized this member field would be "alive" for the duration of the application's runtime ?
...
I am working on a Silverlight application that uses WCF. I need to have my WCF project separate from the ASP.Net application that will host my Silverlight project. I am looking for some guidance on how I should organize my solution and list gotchas other people have experienced during debugging and deployment.
Specifically my questions ...
I want to set the style of some controls on my UserControl, but can't seem to find the right syntax:
<UserControl x:Class="HiideSRM.WIDSModule.BiometricStatusIndicator"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
Is it possible to allow a datagrid column to be dragged vertically and dropped into an area above the datagrid which triggers it to group by that column?
If so, how would i best implement this into a silverlight 3 application?
Heres an example of what it could look like:
http://www.syncfusion.com/content/en-US/products/feature/windows-f...
Hi,
We're developing a Silverlight Client onto a server-based API exposed via WCF.
I'm trying to move my WCF client code (which works fine) from a configuration-based model to a programmatic model. This will enable me to have a single "root" URL which I can apply at start-up and not require installations to have to maintain humongous c...
I have a control template with a toggle button. This ToggleButton has it's IsChecked property one way bound to a dependancy property. If i set the dependancy property explicitly the binding works.
The problem is that after I interact with the toggle button in the UI, the bindings don't update the IsChecked property if I set the depend...
Quite often when coming back to Visual Studio from Expression Blend 3, I see that Blend has helpfully added a "d:LayoutOverrides" property to my XAML. Growing up with ASP.NET designers, I naturally distrust anything I wouldn't type myself, so remove them as soon as I see them.
I know that "d:" properties are designer-only and don't imp...
I'm still trying to wrap my head around MVVM. Let's say I have a Model that looks something like this:
public class Company
{
public IList<Division> Divisions { get;set;}
}
public class Division
{
public string Name { get;set;}
public IList<Department> Departments { get;set}
}
public class Department
{
pub...
I am using a Silverlight 3.0 Image control, setting it's Stretch property="Uniform". Unless I am mistaken, the expected behavior for Stretch="Uniform" is that it should scale the image, maintaining aspect ratio, letterboxing as needed. This works fine for images with landscape orientations, in that they scale up to fill the space, mai...
I have 3 projects in my solution: 1) A silverlight Application Project 2) ASP.Net Web Application Project 3) A WCF Service Application. Projects 1&2 have a service reference to project 3. The binding type is basicHTTPbinding.
If I set project 2 as the start-up project, I am break points set in both project 1 & 2 are hit, but not break ...
We know that Silverlight currently in 3.0.x version - very fast transition from Silverlight 2.0.x. For those using Windows and Mac, it will not be an issue since the runtime supports those platform. The problem is with Linux users. I know that Mono guys (through Moonlight project) are doing their best to keep it up to date with Silverlig...
Hi, when hovering my mouse over a wrapped textbox, I want to get the word or text position immediately under the mouse.
I've seen some samples for a single textbox, like this one, but I have a wrapped textbox.
I think I might be able to do this if I had a MeasureString function but I don't have that either in Silverlight (would be usefu...
Hello everybody,
I have a custom panel that has a public dependency property MaxItemsCount(defines the maximum number of elements in the panel), and I am giving this panel as an ItemsPanel to my custom control.
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<myPrimitives:MyPanel MaxItemsCount="5"/>
...
How can use "Viewbox" in Silverlight?
...