Finding the HTML element that a Silverlight control is hosted in
Is there a way to find the HTML element on the page that a Silverlight control is hosted in from within Silverlight? ...
Is there a way to find the HTML element on the page that a Silverlight control is hosted in from within Silverlight? ...
To summarize, as we all know, a) Silverlight is expected to be hosted by a browser, and runs in an isolated sandbox so that there won’t be any security issues Silverlight don’t have direct access to the file system, other than the isolated storage area There is no direct way to open common dialog boxes like File Save in Silve...
Is it possible to avoid the automatic collapse of a Silverlight ComboBox after LostFocus? ...
Is it possible to set the DataContext property of a usercontrol after the user control has been loaded, and force the usercontrol to rebind? ...
Let's pretend I have the following xaml... <UserControl.Resources> <local:ViewModel x:Name="viewModel" /> <local:LoadChildrenValueConverter x:Name="valueConverter" /> </UserControl.Resources> <UserControl.DataContext> <Binding Source="{StaticResource viewModel}" /> </UserControl.DataContext> <Grid x:Name="LayoutRoot" Bac...
Are there any pre-written component-like Silverlight web widgets like there are for Flash? Flash examples: XSPF Web Music Player WordPress Audio Player FLAMPlayer Aflax Clarification: I don't mean controls to use in your IDE to write something custom. See ALTNET Podcast I think they use the WordPress Audio Player. ...
Is it possible to build a good medium to full sized application using just silverlight as a host? A few things that would be needed: - dynamic pages (one silverlight "screen" can switch between screens, like a normal app. - similar to a java applet which launches from the browser I see that Telerik sells RadControls for WPF...but this ...
Let me set the stage here. I'm a very junior developer who's recently made the transition from Network Admin who does some WinForms for his employer to a full-time development position working on an ASP.NET product that will be transitioning to Silverlight. I have precious little web development experiences. Some basic understanding of ...
I have a silverlight control which has a reference to a silverlight enabled wcf service. When I add a reference to the service in my silverlight control, it adds the following to my clientconfig file: <configuration> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBind...
I've seen examples in silverlight where the achieve a effect using 1 of 2 ways: Two image objects, both displaying the same image, but the bottom one rotating it 180 degrees and applying a gradient image opacity A MediaElement object and a VideoBrush element. I have a series of path objects, rectanges, etc which I would like to apply...
I am creating a basic image browsing application using Silverlight. Depending on the user's connection speed, some images may take time to appear once they click on the thumb nail. I would like to show a progress bar while it is being downloaded. I have this part done. However, if the image is already in the cache (viewing a previous...
I am using a ScrollViewer as part of my Silverlight application. It has a horizontal orientation, and I would like it to appear such that only the scroll buttons appear, but not the scroll bar itself. Something like this crude ASCII rendering: ------------------------------------------------------ | | ...
One challenge with Silverlight controls is that when properties are bound to code, they're no longer really editable in Blend. For example, if you've got a ListView that's populated from a data feed, there are no elements visible when you edit the control in Blend. I've heard that the MVVM pattern, originated by the WPF development comm...
I have an aspx page with 1 table containing 2 rows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> html, body { height: 100%; } </style> ...
Is it possible to create a small library (similar to a Flash or Flex SWC component) that can be used in Silverlight apps? Since I'm a Flash and Flex developer, I'll relate it. In Flex, if I have a SWC I can add it to my build path and then immediately use its included classes and functions in my project. Similarly, in Flash if I add a S...
Few months ago, I have came across a Silverlight tutorial of Eric Cartman (South Park). Which used the vector image from http://en.wikipedia.org/wiki/File:Eric.svg to animate him. However, I cannot seem to find that tutorial any longer. Can someone point me in the right direction, please? ...
I have some data. I want to go through that data and change cells (for example - Background color), if that data meets a certain condition. Somehow, I've not been able to figure it out how to do this seemingly easy thing in Silverlight. ...
I decided to try making a circular button, so using expression blend, I dropped a button control on my xaml. I then created a template from it by choosing "Edit Control Parts (Template)" -> "Edit a Copy". I am trying to design it so that the left and right sides of the button were always perfect semi circles, so that no matter how tal...
I'm trying to create a perfectly circular button, So I created a template from a standard button control using Expression Blend. A normal button has the BorderThickness property of the Background object (Border Type) bound to the template using template binding. If I wanted the border of my button to be customizable at design time, how...
Hi Area : Textbox in Silverlight Question: I need to know what "line number" that is currently edited. I've tried: As a workaround I've tried splitting with textBox.Split("\r") and counting matches on Regex with similar performance. Performance during the first 2000 lines are acceptable but then it gets to slow. Why: I have a Textbox...