from title it appears a stupid question :) i know but i have a silverlight application that needs to send datetime to a 3rdparty web method and based on datetime populate some client side controls... now i know how to get datetime from client but problem is that client time could be wrong........
one method is to use a webservice to get ...
Hello!
I want to retrieve an image from SQL Server to show it in an ASP.NET app. I think that I can write down the image retrieved from SQL Server to a server's folder and show it throw its path. Is there any other better way?
I have the same problem with audio and video files (can I use silverlight to play these audio and video files?...
I have an existing working WPF Application in which I have implemented my own custom authentication to a backend WCF service. When I access this service from WPF, setup the ServiceProxy as follows:
proxy.ClientCredentials.UserName.UserName = "test";
proxy.ClientCredentials.UserName.Password = "pass";
and because I'm using HTTPS the ui...
Is there a way to monitor the CPU and memory usage of Silverlight 2.0 Applications? Are there any tools available for doing this?
...
I'm sure I'm missing something very simple but I can't seem to discover what it is.
I have a Silverlight 2.0 project and associated web site where I have added an ADO.NET Entity Data model and ADO.NET Data Service. The model contains three tables, one of which is called Volunteer. I use ctx.BeginExecute to get the data from this table t...
It seems like a common question on Google, but I couldn't find a satisfactory answer (unless the answer is 'no')
I would like to add menu items or show a custom menu when a user right-clicks on my Silverlight app.
The closest thing that I found catches the context menu in IE, but not in Firefox, and Chrome shows the context menu and t...
I am trying to host an ASP.NET application that is running the Silverlight Video Player. I have recently deployed this application to a fresh Windows Server 2008 Virtual PC. I have installed the Silverlight plug-in as well as the Silverlight 2 SDK on the server (and the .NET Framework 3.5 SP1).
When I try to browse to this site, the V...
Hello
I have created a Silverlight 2 appliction, that uses a WCF service.
The service is located in a local folder (not IIS) and works fine with a Winforms test.
when I try to call the service, it returns with an error: " no pocily for cross domain".
I've tryed to add clientaccesspolicy.xml and crossdomain.xml to:
the wcf project fol...
I'm attempting to use a large number of short sound samples in a game I'm creating in Silverlight 2. The samples are less than 2 seconds long.
I would prefer to load all the audio samples onto the canvas during the initualization. I have been adding the media element to the canvas and a generic list to manage it. So far, it appears to...
Hi,
I want to access the display properties of the client desktop in silverlight application and modify the application layout according 2 the ones set on client machine. When we right click on desktop and choose properties we get display properties dialog. i want to access appearance and theme properties from this. i hv to retrieve th...
Hello!
I'm using the lastest version of Silverlight 2.0 within Visual Studio 2008. I have a simple Silverlight UserControl with the following code:
public partial class SilverlightControl1 : UserControl
{
public SilverlightControl1()
{
InitializeComponent();
this.Loaded += new RoutedEventHandler(SilverlightContr...
Here's my situation - I am starting my first SL application coming from a Windows background where I have the MVC pattern in place. I am thinking I can take advantage of tha pattern, so I jump right in to creating a SL application (solution) with 3 projects --> 1 holding my Model (business objects from before), SL app (automatically gen...
What's the best Data Access Layer strategy for Silverlight 2 and 3 apps?
...
"This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library."
Is there a way to access this information? (The original location of the Silverlight assembly).
...
I need to do some post-processing on a silverlight datagrid once all the rows are. I don't see any events that fire once that's done; what am I missing?
Code samples or links are greatly appreciated.
...
Lets say I have some XAML like this:
<StackPanel>
<TextBlock Text="Blah Blah Blah" />
</StackPanel>
In this case, the Width is NaN, as I expect, because it grows with the size of the StackPanel and is not explicitly set.
Unfortunately, ActualWidth does not give me the results I expect. ActualWidth is not bound by the size of the...
What could be the best uniformed way to expose service client in silverlight 2? Each method on the service client has different arguments, so I had develop an abstraction between my controls and the service client which could deliver the return values in a generic way. I have implemented generic callback methods for each service call but...
I am using ASP.NET's "handler" to show images in an application. I need to play files of audio and video like I do with the image: I recover it from database and show it on an aspx page. Can I create a "handler" for the video and the audio? I don't want that a dialog box is opened asking to the user if he wants to play or save the video ...
I have two Silverlight apps with the following line of code:
HtmlPage.PopupWindow(new Uri("http://www.microsoft.com"), "test", null);
The first app (a simple test app) ALWAYS pops up a new browser window correctly.
The second app (my actual, more complex app) pops up a browser window correctly the FIRST time I launch the app after a ...
Hi there,
To make sure all our customers receive the latest Silverlight App, we are placing the new revision number on the url for XAP file as follows:
<param name="source" value="/ClientBin/ShoeboxViewer.xap?v=5" />
Problem is when we do this, all HyperLink controls (in the Silverlight App) that use relative URLs, throw an internal ...