I have a web application that is secured and stores user detail information in a session object. I am building a Silverlight control to view images that are stored in the database and access to those images needs to be secured. I am not trying to prevent copying or anything like that but I need to make sure that the user accessing the ...
Hello everyone,
I am new and learning Deep Zoom. I am learning from here and have two basic deep zoom concept issues dealing with viewport width and viewport origin.
http://blogs.msdn.com/silverlight_sdk/archive/2008/11/18/using-viewportorigin-and-viewportwidth-in-deep-zoom.aspx
My two quesitons are,
When viewport width of an image ...
Hello everyone,
I am confused about the ViewportOrigin property of MultiScaleImage. I think the property should be used only for MultiScaleSubImage to assign the relative location of a sub image to the whole deep zoom region, why we need to set the ViewportOrigin property of MultiScaleImage (i.e. the whole deep zoom region)? The whole d...
In Silverlight 3, I am tring to produce a basic, populated datagrid, but the datagrid is displaying 4 empty rows.
The code snippets for the page.xaml and page.xaml.cs are below.
I think the data is correctly contained in e.Results, because when I step through the codebehind, the Web service is returning the List correctly populated, e...
I have a Silverlight application deployed on both our staging and production servers. This application caches information using isolated storage settings. If I browser to
http://stagingserver/pagewithsilverlight.aspx
everything works fine, data is stored to isolated storage on my machine just fine. However if I browse to
http://pro...
In Silverlight 3, I am trying to create a pop up menu for navigation. I am using a HyperlinkButton as a trigger, which when moused over displays a Popup containing more HyperlinkButtons. The root node is right aligned and I want the sub-menu to appear to the left. My problem is that I am trying to position the popup using its ActualWi...
For example, I have a dependency property that changes the ScaleTransform of a Canvas, but if it ever goes below zero it throws an error. Sure, I could just force it to zero in the code if that ever happens, but I'd rather use a better method like using a udouble (unsigned double), which doesn't exist in Silverlight or even setting the m...
There's a wide variety of colors available when setting colors in XAML in Silverlight, but the options seem limited when dealing with setting colors programmatically.
For example, in Silverlight XAML I can set a Background to "Alice Blue", "Antique White", etc.
But if I try to set that same background in the code-behind, I'm limited to...
For brevity purposes, this post relates to ambiguous references in a Silverlight Page.XAML.CS file, whose project contains a service reference to a WCF service and a MyClass.cs file added as a 'link'. The Solution contains the Silverlight Project and a Web Project that contains a WCF service and a MyClass.cs file (along with the aspx fil...
I'm building a set of assemblies that need to work on both Silverlight and WPF. Up till now, I've been using log4net to handle logging. It's not compatible with Silverlight though, so now I'm facing the prospect of ripping it out, which I don't want to do.
My question is this. Assuming I recreate the assemblies as Silverlight assem...
What are my options for interacting with a COM control from silverlight?
In my particular project, I have a legacy ActiveX authentication control which I would like to leverage in my silverlight application. Without too many boring details, the control takes a couple of parameters, prompts the user for credentials or tokens, and raises ...
A common technical decision nowadays is whether to build a ClickOnce rich client application or a web application.
Here I'm focussing primarily on choosing between a WPF application or a Silverlight application.
The chief benefit of Silverlight is obvious - it can be hosted in a browser.
But, if a programmer used to WPF was to star...
Hey guys, I'm having problems with the ItemContainerGenerator in Silverlight 3.
In my derived Custom ListBox I'm adding this handler:
ItemContainerGenerator.ItemsChanged += new ItemsChangedEventHandler(ItemContainerGenerator_ItemsChanged);
Every time the Items change I'm getting a call back. Fine so far.
Now in the ItemContainerGene...
We're building an app that makes use of hotkeys, it's a web UI to an existing windows app.
Normally you can check that
Keyboard.Modifiers == ModifierKeys.Alt
However when you're using combos with Alt, the browser captures the Alt keystroke to see if it can handle it.
The only way around this I've seen so far is to manually wire up t...
Hello everyone,
I am developing some html pages which embed media player (Windows Media Player and Silverlight player, like sl12videoplayer from codeplex http://sl2videoplayer.codeplex.com/ ). I have learned how to embed players into html, by using DIV/OBJECT tags. I have proved it works technically.
My question is, I want to find and ...
In a data entry form (Silverlight 3) I have one combo box whose selection can be changed when the user changes another - imagine a State list being repopulated depending on Country selection.
I want to highlight the change in this combo box with a simple glowing halo effect - basically a border that fades in then out again. I've created...
So I was looking at the sample examples people have created for Duplex Communications namely when hosted by IIS and connected to via Silverlight. There are plenty of examples of this out there (this MSDN article is great), but all use the same paradigm:
User A connects to server A, it puts him in an in-memory list to receive future upd...
I'm trying to figure out how to change the font size of a textblock and textbox in Silverlight 2.0. in code behind. So far i've had no luck getting it done or find a referrence on how to do it.
thanks
shannon
...
Hi All
I am about to make a web application that should contain grids with huge portions of data, where speed is of the essence (filtering, sorting, editing...), and the client wants it made with Silverlight controls;
So, my question is, which path should I choose:
make it in Silverlight from scratch, or
combine ASP.NET MVC project w...
I have a Silverlight 3 app with RIA Services and I'm running into an issue where my DataPager is only loading data for the initial loadsize and then no longer reloading. It brings up two pages of data (PageSize=10, LoadSize=20.) It is correctly showing 119 pages of data but when I navigate to page 3, nothing appears in my datagrid and da...