silverlight-4.0

Create a hyperlink of a slanting image in expression Blend

I am developing a navigation menu in silverlight that has 6 images. As you mouseover each image grows and clicking on an image will take you to a page on the website. The customer I am doing this for decided that straight rectangular images were boring and I showed him a design where I have slanted each image so each one is now a rhomboi...

Execute Silverlight 4 Command on Load

How do you implement a Silverlight 4 command to execute when the user control loads instead of being mapped to an explicit button click? ...

Flowlayout control in Silverlight 4

In silverlight 4 Beta there used to be a contol called flowlayout control. Now i am not able to see that in the silverlight 4 rc. please let me know if anything needs to be installed to get that control. ...

Silverlight 4.0 and WCF RIA Services Security

Hi guys. I'm recently want to develop an application for my company. I've checked the Silverlight 4.0 and WCF RIA Services. Its really amazing and I got tempted to use these services for our application. But I have a couple of questions: Is there any ways to prevent unauthorized users not to be able to connect to the service and enumer...

Can I use Silverlight 3 third party controls with Silverlight 4

Recently I installed Silverlight 4 plugin and noticed that windowless mode now works correctly with FireFox. I quickly read SL4 release notes but cannot find answer. Can I use SL3 controls (we are using a LOT of DevExpress and Infragistics controls) in SL4. ...

Silverlight ScriptableMember in Firefox 'Content is undefined' error.

Recently I'm learned how to call SIlverlight methods from JavaScript. All works fine (even in Chrome !). But in FireFox 3 (3.6.4) registered Page object is undefined. My Code is very simple silverlight [ScriptableMember] public bool HasFilter() { return true; } And in MainPage constructor public MainPage() { InitializeComponen...

Styles Don't Update

I am trying to use theming within my application, but I am having a problem with my styling not being applied correctly. I run the following lines of code: App.Current.Resources.MergedDictionaries.Clear(); ResourceDictionary rd = new ResourceDictionary(); rd.Source = new Uri( "/Style2.xaml...

Binding to dynamic objects in Silverlight 4

I've noticed that in .Net 4, WPF FrameworkElements are able to bind to IDynamicMetaObjectProvider binding sources. Will this also be the case for Silverlight 4? ...

how to know local font names in silverlight

Hi, in silverlight 4 I need to know all the font names in my machines. Using.... ... var typefaces = System.Windows.Media.Fonts.SystemTypefaces; foreach (System.Windows.Media.Typeface face in typefaces) { System.Windows.Media.GlyphTypeface a; face.TryGetGlyphTypeface(out a); FontSo...

how to set the rounded inside corners of a grid in Silverlight 4

I need to set the rounded corners inside the grid control using silverlight 4. wehn i tried to do something like this <Border BorderThickness="2" BorderBrush="#FF3EA9F5" Grid.Row="1" CornerRadius="5,5,0,0" Height="10" VerticalAlignment="Bottom"> <Grid x:Name="Phani1" Width="auto"> </Grid> </Border> i am a...

How can i navigate one xaml page to another?

i have 2 page i need to navigate mainpage.xaml to login.page xaml but it throws me Object reference not set to an instance of an object. in Root.Children.Clear();.... i added this codes in App.xaml: private void Application_Startup(object sender, StartupEventArgs e) { Grid myGrid = new Grid(); myGri...

Getting Started: Silverlight 4 Business Application

With the arrival of VS 2010 and Silverlight 4, I decided it's time to look into Silverlight and understand how to build a 3-Tier business application. After several hours of searching for and reading documentation and tutorials, I'm thoroughly confused (and that doesn't happen easily). Here are some specific points I don't understand. ...

visual studio 2010: The Breakpoint will not currently be hit: No symbols have been loaded for this document

I am using VS2010, and Silverlight 4. When I run my code the debugging does not work (I get the above error on my breakpoints. When I clean my solution a warning comes up saying that the system cannot find the file specified (a project dll). It is looking in the right path (..\debug), but there is no dll present. I started a new Silv...

Can I have use silverlight 4.0 with the visual studio 2008 ?

Can I have use silverlight 4.0 with the visual studio 2008 ? ...

Using initParams in Silverlight 4 project

I'm trying to upgrade a project that uses Silverlight 2 to use Silverlight 4 but I have problem with initparam to set domain. The old Silverlight 2 project: <form id="form1" runat="server" style="height:100%;"> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <div style="height:100%;"> ...

Are there any tools to handle spell check in the Silverlight RichTextBox?

I am looking for any tool or good solution for handling spell check in the RichTextBox for Silverlight 4. Does anyone know of an existing solution or a good way to implement spell checking support for this control? ...

Are there applications for RIA Services that go beyond simple CRUD editors

It seems that the large majority of tutorials, samples and in fact out of the box templates guide devlopers new to RIA Services towards building a simple CRUD / table editor app. I realize that CRUD is simple to communicate and gets a big round of applause but I can't believe that real line of business applications are all that simple. ...

UserControl VisualStates do not appear in Blend

The States pane in Blend 4 does not appear to show the VisualStates declared on a UserControl using the TemplateVisualState attribute. Is this to be expected and if so why? Creating the States manually in Blend seems to work correctly. ...

where can I find the silverlight 4.0 for the production server ?

where can I find the silverlight 4.0 for the production server ? For this need to install vs 2010 ? or only need to install 4.0 from where can I find the 4.0 for the production server ? is there any license for the same or its free ? ...

Encoding audio in cd quality in Silverlight 4 using com automation

I want to encode an audio file (e.g. pcm wav) in music quality (wma, mp3, ogg, but not speex) using any in windows (xp, vista, windows 7) availble objects. Is any com objects (like windows media) available without an additional installation? Is there any examples how to use them to encode an audio? ...