After hosting Silverlight web Application with WCF servic into remote server, My aspx pages are working fine. But WCF service is not working. It showing the below error while running the page..
System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for ...
Is it possible to keep a skin on a Line in Silverlight. I have a Line shape, and an image file of a cool looking line Is it possible to keep this image on top of the Line where ever I draw?
...
I have silverlight problem I'v used two days to fight: a template with a style controls a button. In the concrete button I have a canvas with paths as content. The problem is that I want the paths fill color to bind to the Foreground from the ContentControl in the template.
However, I haven't been able to figure out how to construct th...
Could Someone help me to find out why l.X1 is set to default value(0.0) when the binded source is having a value of 156. Following image may be self explanatory.
...
I have this method fired on a button click. MyObj is an extended Control type with two properties CenterX and CenterY with backing dp CenterXProperty and CenterYProperty.
With the animation playing the CenterX and CenterY properties of MyObj are changing, but I can't see any movement of the object.
private void MoveMyObjectsWithAnimat...
Hello everyone, I have a solution with 2 projects: Windows Phone App and a Windows Phone Class Library. The class library has a control called MessageBoxExtended which inherits from ContentControl. The project also has a Themes folder with a generic.xaml file. The file has the Build Action set to Page and it looks like this:
<ResourceDi...
I have a strong impression that the Silverlight 4 client runtime will run a Silverlight 3 application perfectly well, but for the life of me I can't find a definitive statement from Microsoft to that effect.
Can anyone provide a reference?
...
I am trying to create a simple image viewer which includes a zooming slider. using Data Binding and ScaleTransform, I am trying to "zoom" the image.
Here is my xaml:
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefin...
Hi
Although new to silverlight, I have produced a clickable map. [Note: it is better than using html tags because the contours of the map match the exact contour of each area, and it is easy to produce a context menu).
I had to resize the map and now it is adding a whole new scrollbar to the browser window: I now have TWO vertical ...
Hi all,
I am trying to close all opened listeners using something like :
GP.GlobalInfo.CommWCF.serviceClient.GetFilteredMessageCompleted -= new EventHandler<GetFilteredMessageCompletedEventArgs>(serviceClient_GetFilteredMessageCompleted);
Since the form is being closed, every listener should be closed as well. (am I right?)
Since ...
Sorry I cannot post the code but here is what is happening in detail.
User opens a form
it adds an event listener like:
GP.GlobalInfo.CommWCF.serviceClient.GetFilteredMessageCompleted += new EventHandler<GetFilteredMessageCompletedEventArgs>(serviceClient_GetFilteredMessageCompleted);
and then sends a asynchronous message to the se...
What is SilverLight and can be useful in C# Application?
...
I have the following:
Color color = Colors.Red;
color.ToString();
which outputs as the hexadecimal representation. Is there any way to output "Red"?
Bonus points to whoever gives a solutions that works with different cultures (i.e. output "Rojo" for spanish).
Thanks in advanced...
...
I've got a Silverlight application that will be running out on the open internet, available to basically everyone who has ever lived.
The application makes use of RIA Services to manipulate data in a database on the server.
The application creates, reads, updates, and deletes data of different varieties, however I only want these oper...
Hi,
I am using datagrid in silverlight 3 with custom binding and In editmode I have datepicker and checkbox display in grid , when I scroll the grid the datapicker and checkbox disapear and normal database date value get display in some rows and vice versa.
Please help me out from this problem I have a release after 2 days.
till now I...
Hi,
Currently I'm dynamically adding/styling columns to a datagrid via
DataGridTemplateColumn().CellEditingTemplate
However I can't seem to find a way to point the header to a resource. All I seem to be able to do is set Header = "Text" and thats the text.
Any Ideas?
...
Hi,
<DataTemplate x:Key="StatusColumnTemplate">
<Canvas>
<Rectangle Fill="Red" Canvas.ZIndex="1" Opacity="30" Height="{Binding Value, ElementName=Stacky}" Width="{Binding Value, ElementName=Stacky}"></Rectangle>
<StackPanel x:Name="Stacky" Orientation="Horizontal">
<Image Height="16"...
I have a User control with 2 rectangles and buttons (Add, Delete, Clear). Upon clicking Add buttons I add more rectangles, Delete - I delete selected rectangles, and upon clicking Clear I want to return to the initial control with only 2 rectangles, so I just want to pretty much load my XAML code again, but I have no idea how to do it.
...
Hi
inside my gridview, I have a column AccountNumber.
In the edit mode, i use the CellEditTemplate with a TextBox to let the user type in value.
Can anyone tell me a way to retrieve the value has been typed in the cell? I need that value in order to show a popup window which will filter the corresponding available list of AccountNumb...
I am handling the current state of my WP7 app in the OnNavigatedFrom and To events so that if the app is tombstoned OR they navigate to a different page it saves the state to the inbuilt PhoneApplicationService state.
I have a simple ViewModel which I dump to the state to make life easier. When navigate to a different page within my app...