Can I use 2 App.XAML in one silverlight project?
If answer is Yes. How can I select from that use in Application use? If No. Can you please explain me the reason? Please reply ASAP. Thanks in Advances Bhushan Deshmukh ...
If answer is Yes. How can I select from that use in Application use? If No. Can you please explain me the reason? Please reply ASAP. Thanks in Advances Bhushan Deshmukh ...
Hello, Maybe this is something obvious, but here is what I have. I need to write a string in XAML. That is ok, but if the string has the dot character inside it, the XAML parser fails. I tried all kinds of escaping, but nothing helps. <datafilter:ItemPropertyDefinition Name="Players.Count" ...
I would like use data annotations to handle validation in my Silverlight app. The built-in validation attributes (primarily StringLength and Required) are great, and make life very easy. However, they seem to have one critical flaw. If my locale is set to fr-CA, for example, the validation exceptions are still in English - 'The Name fiel...
Does anyone know of a tool or a way within Visual Studio 2010 to convert a Silverlight 4 class library project to a Windows Phone 7 Class Library project? I could resort to copying and pasting class files, but if I can avoid that with a conversion tool, that would save all kinds of time. Steve ...
I have a form with some validations set in entity metadata class. and then binding entity instance to UI by VM. Something as below: Xaml like: <Grid x:Name="LayoutRoot"> <StackPanel VerticalAlignment="Top"> <input:ValidationSummary /> </StackPanel> <TextBox Text="{Binding Name, Mode=TwoW...
I have the following defined at the top of my XAML: <controls:ChildWindow x:Class="MyProject.SilverlightUI.Views.CharacterGenerator" xmlns:my="clr-namespace:MyProject.SilverlightUI.ViewModels" > <controls:ChildWindow.Resources> <my:AlignmentsViewModel x:Key="AlignmentsVM" ></my:AlignmentsViewModel> <CollectionViewSourc...
Hello, Can you please show me how to bind pushpins to a Bing Map using RIA Services. showing me MapItemControl is important also. Regards, ...
I have a very strange problem. Maybe some can give me some more ideas... I have a hosted (IIS) SL4-App. In the clientbin there is one xap-file. If I took the installation from our buildserver, all works fine, despite one (and only one) datetimepicker delivers an validaton error if I enter a valid date (string could not be determined as ...
Hello, I am not good with Silverlight animations. When i use Expression Blend it generates huge amount of code, the classes of which go way above my head. Do i need to remember all these classes or is it fine if i just use tool? I really get tensed when i see such big class names. Please guide me. How do i remember all these class names...
I've created a highlighting mechanism for a RichTextBox in Silverlight 4. It'll get character positions and draw rectangle(s) over the text. The trouble I have now is with scrolling on the RichTextBox. As I scroll all of my precious highlighting gets left behind. Is there any way I can add an event handler to a scroll event and/or a ...
I got this DomainService method I'm calling from my SL ViewModel using the Invoke attribute: [Invoke] public ServiceModel.Recipy GetRecipyById(int recipyId) { return new Recipy { RecipyId = 1, Name = "test", Description = "desc", Author =...
I'm using expression blend and can't figure out how to go about fading a color image to grayscale. Can I do it in the xaml or do I need to handle this in my C#? ...
I'm busy building an application where a user can copy and paste data to a silver light data-grid. If there are no rows the rows should be added via code and the rows should be updated with the pasted value. The datagrid is bound to a observablecollection. I'm able to access the Clipboard.GetText() method to get the database but I'm not...
Following an introductory tutorial for the new DomainService in Silverlight 4 RIA, I got an unexpected exception. When I perform an update the property EntitiesInError[index].EntityConflict.PropertyNames throws the following exception: InvalidOperationException: PropertyNames are not available for delete conflicts. Service method execu...
The storyBoard_Completed event is invoked in a delay of about half a second after the visual animation had finished. Would be glad for some more eyes to check out my Storyboard XAML: <Storyboard x:Key="blaAnimation" Completed="storyBoard_Completed"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="bla1" Storyboard.Targ...
Hi, I need to change state of a control and then do some action. To be specific, I want to run an animation before a control is hidden. I would like to do something like that: VisualStateManager.GoToState(control, "Hidden", true); // wait until the transition animation is finished ParentControl.Children.Remove(control); The problem is...
What is the best and easiest-to-use video player for popular video extension in asp.net? ...
I am using MVVM in my Silverlight app. When control visibility is need to be managed by data, I am connecting its 'Visibility' property to object's corresponding property: XAML: <TextBlock Text="Price" Visibility="{Binding PriceVisibility, Mode=OneWay}"/> <TextBox Text="{Binding TicketPrice, Mode=TwoWay}" Visibility="{Binding PriceVisi...
I'm working on a fairly large Silverlight 4 application (42 projects in 1 solution), and I'm wrestling with a really strange issue. The application works fine in a debug build, and even in release build it runs with the debugger attached (F5), but when it is run without debugging the silverlight xap loads and then shows only a blank pag...
How can i implement zoom , Pan , Magnify in silverlight. I have big image so my image is inside scroll viewer. and after zooming and panning i need to save position and zoom setting in database so when user back to screen can see same image area. ...