Hi, I am making a collapsible ContentControl.
Everything works fine until I try to embed a collapsible ContentControl as content inside the ContentPresenter of the same type collapsible control. The collapsing and expanding is done using animations. But when the content of the collapsible control changes in size it will not update its pa...
A short while ago I tried to install LightSwitch Beta, but after some sizeable and lengthy downloads, the installation aborts after trying to install Silverlight 4. It simply says that Silverlight 4 could not be installed. The log is not much help either, as the most informative entries are:
ISetupComponent::Pre/Post/Install() failed ...
I am trying to call a service from a silverlight application, but I am getting the following error.
Uncaught Error: Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
This works fine locally. I don't know if it make any sens...
I have a silverlight app (non asp) and wcf service.
When i read large data from the wcf service 60k+ then the silverlight app successfully retrieves the information from the wcf service.
However....
When i try to send (silverlight client to wcf service) large data 30k+ I get the XmlDictionaryReaderQuotas error but when I send 2k informa...
hello,
Can someone provide a very simple example of how to load a datagrid with data from SQL Server, in a Silverlight application?
TY
...
I'm trying to fill a DataGrid with an anonymous type generated by a LINQ query. When I put the query results in a list box, it appears fine. However, when I put the query results in a data grid, the correct number of rows are generated, but the cells are empty.
(The data grid is on the left, with the list box on the right.)
Assigning...
Are there any existing solutions to create documents in Silverlight? Looking to create purchase orders, contracts, etc.
Printing is a desired feature.
...
I have a class, ExpenseInfo that includes an ICollection<String> property:
public ICollection<String> WhoOwes { get; private set; }
I have a WCF service that returns objects of type ExpenseInfo. I added a reference to the service in a Silverlight project within the same solution. This generated a bunch of code, including an ExpenseInf...
Hello, I have a webservice that calls a method and returns a generic list. The webservice completed method looks like this (note: names and e.Result are both of the same type of List):
void SetNames()
{
ServiceReference1.ServiceClient webservice = new ServiceReference1.ServiceClient();
webservice.GetNameCompl...
I'm having issues with cross domain access from a Silverlight project to a WCF service in ASP.
This tutorial recommends making crossdomain.xml or clientaccesspolicy.xml files and putting them in the web root of the service.
I have made these files, and put them in the top level of the project in Visual Studio. I'm still having the prob...
I have a DataGrid that is displaying some data at multiple points in my SL 4 app. I would like reduce redundancy. Is the correct way to do this by extracting it into a UserControl?
I did this. However, instead of setting dataGrid.ItemsSource in the code behind, I'm setting myDataGridControl.ItemsSource. However, MyDataGridControl doesn'...
I have a Silverlight 4 app that is hosted in an ASP Azure web role. The web role exposes a WCF service. (All this is in the same Visual Studio solution.)
I successfully added a reference to the service, and generated client code. However, it causes an error:
ExpenseServiceClient service = new ExpenseServiceClient();
service.GetExpenses...
I have a listbox with several items in it. I would like to programmatically insert a separator bar into the list box. Is this possible?
MSDN speaks of a Separator control, but Visual Studio doesn't recognize it when I try to instantiate one.
I'm using Silverlight 4.
...
In Expression Blend 4 (Silverlight project) I have a UserControl to which I have added a CLR property. This property is an enum type, which is defined within the UC. I have attached a ChangePropertyAction behaviour to an instance of the UC. However, the XAML parser gives the following error (among others):
'+' is not valid in a name
...
I'm a .NET silverlight developer. After last project i want to have a rest from this tech and want to learn something new. My next project will be an app for managing workflow of a company.This app will need printing support, export to office formats, document management, maybe authorization\authentication.
Can you suggest what technolog...
How would i go about delaying the total load of a SilverLight Page? I take a parameter out of the querystring on the page load of a Silverlight web page, and then send it to a web service boolean function to process. The result of the return value is used to determine whether to fully load and display the page, or direct to another page....
I'm looking to use the HTML Bridge to send data currently in an ObservableCollection to some JavaScript. I'm assuming that this data would need to be in an array, rather than in an ObservableCollection, for it to be usable in JavaScript. Note: This assumption may be incorrect.
Silverlight doesn't seem to have the ToArray() function o...
I have a Silverlight app hosted in an Azure web role ASP project. The ASP project exposes a WCF service.
I would like to have one set of class definitions for the data types. Someone recommended making a third project (class library) and adding a reference to it from the SL and ASP. I started doing this, but the Silverlight project comp...
I’m starting with SL 4. I made a form with the progress download, and is working great. My xaml looks like the following:
<Grid x:Name="LayoutRoot" Background="White">
<smf:SMFPlayer>
<smf:SMFPlayer.Playlist>
<media:PlaylistItem DeliveryMethod="ProgressiveDownload" MediaSource="MYURL"/>
...
SL4 now contains a Microsoft implementation of a RichTextBox. This is awesome but doesn't support bullets, numbering, super script or subscript.
There are also a bunch of other RichTextBox implementations out there from the control providers.
When is the best time to use the Microsoft one and when should I go to the market? What is t...