[ScriptableMember()]
public void HighlightEditsForCode(object xml)
{
//Do Stuff
}
I have a scriptable member function. I throw an exception from within this function.
It doesn't trigger the application.UnhandledException event...
something must be handling this event... how can I prevent this and have the unhandledexception event ...
I am having a very tough time with this one. I have a Navigation property called Attachment that is part of an entity called ContentChannel. ContentChannel is a many to one relationship with KioskType.
In my domain service extension class, I have the following query:
public IQueryable<ContentChannel> GetContentChannelFromKioskType( l...
I've been struggling with this for a few days, and I hope someone can suggest some solutions.
I have a self-hosted WCF service, the main interface to this service will be a Silverlight application that is hosted in a non-IIS, potentially shared, environment.
I'm aware of the TransportWithMessageCredential and a custom authentication va...
I have a silverlight application and I want to capture the close event of the browser. So what I did, in my .aspx page i have this code
function closeIt() {
return "Any string value here forces a dialog box to \n" +
"appear before closing the window.";
}
window.onbeforeunload = closeIt;
If this functions trigger...
Greetings, everyone.
I'm trying to learn some Silverlight basics, and have decided to write a simple Mandelbrot-set drawing application for that reason. In Silverlight, of course. ;)
The application is mostly done. I'm using a WriteableBitmap to work on the pixels, and a simple Image placed on an empty form to display this bitmap (usin...
My task is simple, send an e-mail from a Silverlight app, but it has to work in most webservers so, Linux, Apache. Cannot use Windows Servers.
Is my best bet to create a simple PHP script to do the heavy lifting and make request to that using SL?
...
Hi,
i am adding html to silverlight's web browser control .what i want is ,
web browser control always navigated to the bottom and
web browser control to show horizontal and vertical bar.
thanks
jamal.
...
Hi
I need to get element from canvas by given point.
For example I have Rectangle on Canvas, which CanvasLeft and CanvasTop values are setted to some values.
I whant get element from canvas which CanvasLeft and CanvasTop vaules are for example 10 and 40.
Is it possible?
Thanks.
...
I want to let the user customize the background of of my application and select either a color or an image WITH an opacity binding. I want to do this in XAML if possible.
I seem to be very close - the code below works great with either the color OR the image brush (if I comment out the other), but I cannot figure out a way on how to ret...
I have visual state = loading. And i need in this visual state show loading circle with always repeated animation. But it repeats only once! How can i set repeat behavior to forever??
<VisualState x:Name="LoadingChildNodes">
<Storyboard RepeatBehavior="Forever" AutoReverse="False">
...
Hello,
Does anybody knows if it's possible to record a voice and transcribe it to text in real time?
I want to do that with silverlight or if it's not possible with the standard .Net framework
thanks for help
...
I have an ASMX service. I want to receive a response from it. My code is below:
public class UserService : System.Web.Services.WebService
{
[WebMethod]
public string GetPassword()
{
return "123";
}
}
...
First of all, I am new to the Silverlight + MVVM world. So I will try my best to explain the scenario to you guys.
I have the following AutoCompleteBox in my Silverlight 4 application which works perfect.
<myControls:AutoCompleteBox Name="acbVendorID" MinimumPrefixLength="2"
ItemsSource="{Binding VendorCodes, Mode=TwoWay}"
...
After all what I've read on this topic, I know that there is no way to do automated file upload from browser without some kind of "elevated permissions".
But, elevated permissions is something what I have, bacause the application runs on intranet and user currently enables access to ActiveX control that makes it possible to do some docu...
say your silverlight area on a webpage is 200px by 200px.
you open a child window, is there a way to make it moveable outside the 200x200 silverlight area?
or say you drop down a combo box, let the drop down go out side of the 200x200 aea?
Thank you
...
I have a class that has purely static Methods and properties. I am calling an async method on the class "Load" that asks a web service for a chunk of data, which then fires an event that executes the return method, "LoadCompleted". I have no idea how long the call is going to take (the difference between calling the "Load" method, then ...
I am attempting to create a Syles.xaml file for my test Silverlight app. Here is what I have in the App.xaml file:
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:navigation="clr-namespace:System.Windows.Controls;assem...
With Silverlight 4, I can select one or more cells (or rows and columns) in a DataGrid, hit Control+C and the contents are copied to the clipboard. Which is really cool. Upon Control+V, it can be pasted into Excel or some other editor.
However, the if one of the columns is a DataGridTemplateColumn it's values are blank when pasted. Whi...
Why do I have to rebuild my project everytime to see the new silverlight xap file created in my browser
a little more background info:
this is the structure of my setup
solution
|-project1(asp.net website)
|- Client Bin
|- xap file
|- Xml file
|-project2(silverlight project)
|- Shortcut to Xml file (added as ...
I have a C# application which renders 2D graphics into bitmaps using System.Drawing.Graphics.
I now want to port this application to work on normal .net on windows, mono on linux and in Silverlight/Moonlight.
But at least Silverlight is lacking System.Drawing. Since I don't want to maintain several copies of my rendering code I need one...