I need to write a web application that allows the client to download a file from the server, so far so good, but the file must be kind of encoded, so i need to decode it on the client and write it on a file on the client's PC.
Can i do this using Silverlight? and how?
If it is not possible, there is another way to do it?. Any suggestio...
I have this ComboBox in my Silverlight UserControl:
<ComboBox
AutomationProperties.AutomationId="cmbProjects"
Grid.Row="0"
Grid.Column="2"
ItemsSource="{Binding Projects}"
SelectedItem="{Binding SelectedProject, Mode=TwoWay}"
Style="{StaticResource Defau...
List item
I have defined a style in app.xaml. This style contains several text TextBlocks which I would like to controle as I apply the style to an object, in this case a UserPin.
How can I access these TextBlocks runtime?
I get the style by:
Style = Application.Current.Resources["UserPin"] as Style;
The style looks like this:
<Sty...
Hello,
I am trying to add Silverlight support to my favorite programming langauge Nemerle.
Nemerle , on compilation procedure, loads all types via reflection mainly in 2 steps
1-) Uses Assembly.LoadFrom to load assembly
2-) Usese Assembly.GetTypes() to get the types
Then at the end of compilation it emits the resolved types with Re...
Haven't started this one yet but I know I will have to tackle it in the next couple weeks..
I am creating a simple single-line toolbar (a horizontal StackPanel w/buttons) in Silverlight 2 and need to detect when the width of the browser starts colliding with the buttons.
Upon collision I will display an "overflow" indicator which is at...
My Silverlight app successfully plays a repeating alert sound every ten seconds on a number of my own computers. One of my clients hears no sounds. I was just on the phone with him and verified that he could hear basic Windows sounds, sounds from another application, and sounds from another web page (not Silverlight, however) within IE. ...
We are starting a big LOB application using Silverlight.
I was wondering if you have any experience with Testing Silverlight apps, what are the best solutions you found and if you encountered any pitfalls.
...
I know how to create a list of Controls and add new instances of them to it:
private List<FirstCircleControl> Circles = new List<FirstCircleControl>();
FirstCircleControl mc = new FirstCircleControl();
Circles.Add(mc);
I want to add a whole bunch of "FirstCircleControls". How would I add 10 controls to my list? I want to be able to ...
I need to create a web application with silverlight controls how to create this in ASP.net 2.0 with VS 2005.
Help me out
...
This code:
private void Submit_Click(object sender, RoutedEventArgs e)
{
user temp = new user();
temp.Username = UserName.Text;
temp.Password = Password.Text;
dataBase.AddTouser(temp);
IAsyncResult result = dataBase.BeginSaveChanges(new AsyncCallback (OnSaveChangesCompleted), temp);
}
void OnSaveChangesCompleted(IAsyncResult res...
Hello,
I am trying to find the right way to get the data from a ChildWindow/popup using a MVVM pattern in Silverlight (3). For example: I have a main page with a data entry form and I want to open a popup with a list of customers. When user selects a customer I want to transfer selected customer into the main page. This is what the (exam...
I have a Silverlight application and I need a way to find out the physical path for a selected file.
Note: I know about security restrictions that obtaining the path is prohibited in client.
I have in mind a solution but I am not sure it works: silverlight app is running in a page together with an ActiveX component that is allowed to d...
I am writing an application in Silverlight that is supposed to retrieve weather data from Google and then display it. I was working on the layout in XAML and was going to see how it looked in the designer, but when I switched to the designer pane, a small notice said that an assembly had been updated, so I clicked it, and the user contro...
The preview for a silverlight usercontrol in vs2008 is mostly useless to me and it takes forever to load. I spend a lot of time switching to XAML only and minimizing the preview for every Silverlight UserControl that I open. Is there a setting whereby I can tell VS2008 to by default open these in XAML-only mode?
...
I have been writing unit tests using NUnit and Moq with my Silverlight code for some time now. One problem I keep running into has to do with DependencyObjects.
If anything is derived from DependencyObject, then I can't instantiate it in my test. For instance, MouseEventArgs derives from DependencyObject. If I have code that takes th...
So I have a WCF Service that gets a result set from a database (not SQL) - I can get this data as a DataTable, string[][], etc.
I can't use LINQ or ADO.NET Entity Framework very easily as it's not coming from an SQL DB.
So my question is:
-What's the best way to package this data for transmission across the wire? I can use any data...
I have a binding in Silverlight that is causing my application to exit. An unhandled exception is not throw; I just get a white screen.
I am not seeing anything from the binding engine in the output window.
Does anyone have any ideas for debugging this issue?
...
Please help me understand the issue behind this and it's fix, I'm having agood deal of trouble getting the behaviour I want with text display.
With certain lengths of strings the TextBlock wraps around, but does not update the control to show the second line, in effect making part of the text dissappear.
This works fine in XamlPad, but...
In App.xaml I have code:
<Application
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="FJW.App">
<Application.Resources>
<!-- Resources scoped at the Application level should be defined here. -->
<ResourceDictionary>
<Resourc...
I am having only Visual Studio 2005. Is it possible to create asp.net website with silverlight controls in Visual Studio 2005.
If yes what are the things I need to install and provide the samples.
...