I have a checkbox which i need to bind to a bool in the source and also disable or enable a container.
My source is as follows for the binding but it does not work:
private bool isMapEditOn = false;
OnLoadFunction()
{
//Bindings
Binding mapEditBind = new Binding("IsChecked") { Source = isMapEditOn, Mode = BindingMode.TwoWay };...
Realized that VS2010 Beta2 has separate WCF RIA installation package which only works with .NET framework 4.0. Searching the google did not give me any pointer as of now. Is there anyway to get WCF RIA in VS2010 working with .NET 3.5 as the targeted framework? I am even fine with VS2010 not able to work with .NET 4.0 on that machine if r...
When you are using out of browser in silverlight are you trapped into a single window or can you open a second window?
...
I have a ListBox with SelectionMode set to Multiple. I'd like to add special data validation to the control so that if you select all of the items, the ListBox gets the red border and has a "You cannot select all of the items" error message.
I was able to get it to work--but it's a hack. I'm hoping there's a cleaner way to do this. Here...
Hi to all,
I'm just beginning with Silverlight. I have a DataGrid whose ItemsSource is linked to an ObservableCollection. Each row of the DataGrid (AutoGenerateColumns= "False") has some values from an object and a button. How can I associate a "command argument" to the button so that I know what button of what row is being clicked?
Th...
I'd like to remove the datapoint markers from a LineSeries in my Silverlight chart. The only way i found on the web is to set the VisibilityProperty to Collapse.
//not working in the current SL toolkit release
var collapseDataPointSetter = new Setter(Control.VisibilityProperty, Visibility.Collapsed);
But this isn't working for the cur...
Imagine a UserControl containing some sort of ItemsControl. The UserControl as a whole has a DataContext, but you also need to expose the ItemsSource of the ItemsControl.
I have tried all manner of arrangements, and eventually passed a DomainDataSource as a UserControl dependency property named DDS, and bound the ItemsControl like this:...
Hi,
Can webservices be accessed by Silverlight 3? On VisualStudio, a Silverlight project doesn't allow me to add a "web reference" but only a "web service reference" that is for WCF and not "normal" webservices.
Any help?
Thanks
...
I was putting finishing touches on a new WPF/Silverlight custom control and decided that this time I would go with .NET 3.5 SP1 requirement (for WPF version). So, I decided to go with recommended new way of setting toolbox icon/image with ThumbnailAttribute. After spending some time on it I couldn't make it work and turned for help to Go...
Hello,
Is it possible to call matlab functions from Silverlight / C# ?
Thanks in advance!
...
Can I databind the state of the visual statemanager to my viewmodel?
...
If I wanted to create some Silverlight widgets and host them within WPF is this possible?
I've searched for examples & found a few concepts online but no approaches that actually panned out / work / and a bunch of dead links.
Has anyone successfully done this or any ideas for how to do this? Any help is appreciated.
...
We have developed a Silverlight Control which performs some biometric's to establish someone's identity and will be using it to authenicate a user in our MVC app.
However we want to provide for someone which does not have Silverlight installed and therefore return a view which provides a normal login/password type stuff.
My question i...
I want to automate the application develoepd in silverlight. Can you let me know whether there are any open source tools are available which can be used for automating SilverLight app. Thanks.
...
Wrt WCF RIA services. Where & How can we configure WCF parameters like message size, response timeout, transport protocol etc?
I am trying to WCF RIA services(PDC09 build) with Silverlight 3.0. I have tried searching but that didnt help much.
Any pointers will be greatly helpful.
...
Hi All,
I have been learning Prism and Silverlight and am now trying to create a simple application but have run into a snag...
What I have is a Shell with 2 ContentControls, "MenuRegion" and "ContentRegion". The way I want it to work is that a user will click on an item in the "MenuRegion" and then the approriate view will be displa...
I'm using Silverlight 3 with RIA services. I've got a simple RIA DomainDataSource named "source" with a couple of ListBoxes bound to it. The method that the source queries returns a simple graph of objects: a collection of Parents, where each parent has a collection of Children.
My UI has two listboxes. ParentListBox binds ItemsSource ...
Ill explain a little bit of my project here. I'm trying to make a website in silverlight, my goal is to store all the content in external files, and load them after my silverlight app has loaded. for instance, load the home page, then, while the user is browsing the home page, load the other pages in the backround, and then when a link i...
I am creating a new Silverlight project in Visual Studio 2008 Sp1. Further creating a new "My test tab" in the Toolbox and try to add some controls using "Choose toolbox items". After clicking the OK button of the "Choose toolbox items" dialog, no controls are added to the newly created tab.
When the tab loose focus, the tab get hidden...
I need to support UI language change through the application menu. Localized strings store in resource files. I use this approach. It works fine, but I one problem.
How I can change UI language on-the-fly, without reloading application?
I try to google this problem - many advises to implement INotifyPropertyChanged interface.
But, I st...