silverlight

Are there any limitations on what libraries can be imported in a t4 template?

We're trying to learn to use T4 Templates. I have a desire to use the System.Data.Entity.Design.PluralizationServices library in order to better pluralize some Entity Model names within my template, but I've come across some issues in the achievement of this goal. Running code to generate output text. I think this is possible, but ...

Making use of DataGrid SelectedItem property to control look of TemplateColumn

When creating a custom column design for a Silverlight DataGrid, is there any way to bind or make use of the DataGrid's SelectedItem property? I wish to display a static element, but have it only visible for the row that is selected. A simple example of what I'm after: <data:DataGrid> <data:DataGrid.Columns> ... ...

Java and Silverlight together forever

I want to display a silverlight web page inside my java desktop application. Does anyone know of a plugin or browser control that I can use to do this? ...

Is it possible to descend from Silverlight's System.Windows.Controls.Page?

I would like to create a descendant of the Silverlight Navigation Framework's Page class, so I can perform common navigation code on all of my pages, but I can't figure out how to do this. When I create a descendant class, how do I reference that from my XAML files? They currently have the "navigation:page" tag, so how do I replace that...

Navigate from datagrid to dataform in silverlight

I have a datagrid in my Silverlight-3 application. When I select a row in the datagrid, I need to able to go to a new page which contains a dataform having a detailed view of that particular row. I dont want to use "RowDetailsTemplate" property in datagrid. I want to navigate to a new page which contains my dataform. How can I achieve ...

Silverlight - how do I get the text of the selected item in a combobox

Easy one for you all... I'm new to Silverlight and really missing stuff like DataTables and things. What I'm also currently struggling with is how to get the text of my combobox's currently selected item. In winforms I would have done: ComboBox myCombo = new ComboBox....... string selected = myCombo.Text; I'm struggling how to get th...

How to bind dependency property to UI for silverlight user control?

I tried to create a user control as: public partial class MyTextBlock : UserControl { public MyTextBlock() { InitializeComponent(); } public static readonly DependencyProperty LabelProperty = DependencyProperty.RegisterAttached("Label", typeof(string), typeof(MyTextBlock), null); public string La...

Make a grid stretch to the width/height of an AccordionItem

I have a couple of Accordions in a Silverlight App I'm writing (even an Accordion inside of an Accordion!) but the layout is driving me insane. For example, suppose you have a 500x500 Accordion. If you have 3 AccordionItems, the "Content" area is whatever the height/width of the Accordion is, MINUS the width/height of each header times ...

How to create a month-view control in Silverlight

Hi! I need to create a outlook like monthview-control for showing appointments. (a grid showing all days in a month, with the weekdays aligned vertically. Day number and dayofweek should be shown for every day, and the appointments should be shown in a listview inside the correct day) And I need some input on where to start. Say the ...

WCF RIA Service deployment issue

I have a very simple sample silverlight application. I added a domain service to it with an entity model that has one entity. The client app simply loads all rows in the entity at startup. When I run this on my development box, it works as expected. However, when I move it to our test server I get an exception saying that the method I am...

Asynchronous Repository for Silverlight Application

I'm familiar with the standard repository, which has an interface resembling: public interface IRepository<T> { IEnumerable<T> All(); T GetByID(int id); //etc... } My problem involves attempting to implement this pattern within Silverlight which restricts remote data access to async calls (which ...

asp:MediaPlayer (Silverlight) Https / http issue

Hi, we have a site (https://oursite.net) in which we display a videostream hosted on http (http://someserver.com). The site needs to be hosted on https, and we don't control the video, so I'm assuming it needs to be on http. we recently added the option to play the stream through the silverlight asp:MediaElement, which works perfectly fi...

Use Vertigo Slide.Show 2 control in a Silverlight Navigation Application

In a Silverlight Navigation Application (VS2010 project) I need to have slideshow functionality. I have found Vertigo's Slide.Show 2 control (http://www.codeplex.com/SlideShow2) which is great but I can't figure out how to use it inside a canvas within my application. I am a beginner when it comes to Silverlight, so I would appreciate an...

Silverlight TreeGrid/TreeList functionality

Hi, I have a requirement for a "Tree grid" or "Tree list" control. This is something that looks like a DataGrid, but the left hand side is a tree that can be expanded and collapsed to show different rows (typically grouped, or perhaps showing data from a heirarchy). Has anyone tried to build something like this by hand? If so do you r...

Possible to programmatically add User Control to Silverlight Grid Column?

I have a User Control that I need to programmatically add to a Silverlight Grid t a specified Row and Column index. The requirements are such that I will need to insert at arbitrary indices, such that pure databinding is perhaps not ideal. I would prefer not to have to create the grid from scratch in the code behind. Can this be done? ...

How can I obtain a sketch or hand-drawn look in Silverlight for various controls?

I am looking to create a Silverlight application that employs a control style similar to what one might see when using Balsamiq Mockups or SketchFlow. I am not sure how this look is best achieved in Silverlight. My initial thought is that clever use of a pixel shader effect on the desired control might just do the trick, however, my ...

Silverlight - Client Verification

Hello, I have a Silverlight application that needs to retrieve some data from my database. This data is sensitive. Because of this, I only want my Silverlight application to be able to access the data. How do I ensure that only my applications can access the services that expose this data? Is there a way that I can validate a client att...

Binding values not showing up in ListBox (silverlight 3)

I am loading values for a listbox from an xml file. What my problem is i can't get the bindings show the property values of the class that each item is assigned. When i set the Text this way: <TextBlock Text="{Binding }" Style="{StaticResource TitleBlock}"></TextBlock> The items show the toString value of the class, but if i use: <T...

Full Screen hides HTML controls in Silverlight Application

Hello All, I tried to implement a full screen functionality in my application . Its working fine .But I added some HTML controls in my aspx file ,when i click onr fullscreen button it shows a fullscreen but not show a HTML controls( only shows a SilverlightHost UI) . So how can I resolve it. (I have set windowless property true). Tha...

How to pass dirty values only from client side data transfer object to server side domain model

Application Type: 3-Tier web application with RDBMS at backend Development Platform Client : Silverlight 3/ WPF Services: WCF web services with Basic Http binding Problem Definition: Trying to develop a application that has a client side business handling and data intensive objects being passed to client. Once the objects are viewed a...