Hi all,
I tried to create a custom tabitem on Silverlight, but when i run it, it's complaining Unable to cast CustomTab to TabItem.
I am not sure how to fix that, any idea?
Thanks alot
I do Silverlight MVC project on VWDEE2010
when I do
private void button1_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("I am a button");
}
Message shows on BlackScreen on background and only when I click OK it returnts me to my page. Why black page and what ways to avoid ?
Thank you.
How would you structure the code for calling a wcf service in silverlight application?
Using only-once instanciated wcf service-proxy (aka singleton) and using it across the whole SL app?
If so, how did you solve the unsubscribing controls from ws-call-completed event?
or
creating the wcf service-proxy for each ws-call? Where do you close the proxy then?
Silverlight's Navigation Application template seems promising, however, I can't seem to find any tutorials (particularly video tutorials). Whatever I did find was from the beta and is inconsistent with the released version.
Has anyone seen any non-beta tutorials (particularly video)?
I'm trying to access a MySQL database through Silverlight, and I know you can't do it directly, but the only way I know of is to use a WCF service. This won't run on the server I have, is there any other way to access the database (through PHP maybe)?
Simple question,
SilverLight 3 application (no toolkit).
I want to use an image and a slider.
The image is displayed fit to screen on load, and then the slider has to zoom-in and out the image when its value changes. I don't want to use anything else, like deepzoom. How can this be done?
Urgent, Thanks in advance,
Can someone direct me to an example or explanation that will help me either:
Extend the SilverLight AutoComplete Box to allow watermarks.
Extend the Watermark TextBox to allow AutoComplete functionality.
It strikes me that option 1 would be easiest, but I'm open.
Thanks in advance.
I have a list of strings displayed by a Silverlight ItemsControl. The DataTemplate is a Border control with a TextBlock as its child. How can I access the border control corresponding to an item? For example, I might want to do this to change the background color.
Guys,
I want to customize the look of a TextBlock. (I want a rounded rectangle border around it).
But I'd like to be able to set it's template via the app.xaml
But I see that TextBlock doesn't have a Template property. I'd use Label (which does have a Template property) but I guess silverlight doesn't support a Label control.
So what can I use to do this? Thanks in advance.
I'm having an issue with the treeview control from the silverlight 4 toolkit. I can't get it to view to display my data correctly, the toplevel items are shown but the childnodes are nowhere to be seen.
More info:
I have a wcf service that delivers a list of Categories with nested subcategories to my viewmodel (I made sure to explicitly include my subcategory data). My viewmodel has an observable list property (wich is named Categories) with this data from my WCF service.
My ViewModel: _http://pastebin.com/0TpMW3mR
My XAML: http://pastebin.com/QCwVeyYu
Hello,
Im currently working on Silverlight app, which resides on our ASP.NET webpage.
I want to populate listbox with names of (audio wav) files that are on remote linux machine.
I also want to be able to play those files using MediaElement.
Im wondering if it is possible to get stream of remote samba enabled linux server.
thx, for answers
For example,
I have a collection of integers 1 - 10.
I want to dynamically display 4 (can be 5, 6, 7) columns in the datagrid in silverlight.
How can I bind the collection to the datagrid to achieve the following?
C1 C2 C3 C4
R1 1 2 3 4
R2 5 6 7 8
R3 9 10
Cheers
I have searched on google about how to get started with the dependency property used in WPF/silverlight but didn't get any idea of the dependency property, can any one tell me about it , from beginner point of view, so that I get some idea about it and use it in my project
thanks in advance.
Hi All,
In my silverlight project I have a Context Menu (right click menu) that I want to close it if I click anywhere outside it. I add handler to the click event on App:
AddHandler App.Current.RootVisual.MouseLeftButtonDown, AddressOf HideMenu
But the problem that: it does not enter the Handler when I click on any other command, or click on the same control that have the context menu, it is enter only when I click on an empty area outside the menu.
Thanks.
Hey everybody, this is not really a question, I have just written an article on Code Project on how to create rich interactive backgrounds for Silverlight applications. This background reacts to a users mouse movements and causes a fluid animation of the background elements.
We have a Silverlight application that runs OOB (out of browser) so the user can install it. When it's running OOB we display a button that calls Application.Current.MainWindow.Close() so that the user can exit the application. This works perfectly fine on windows, but causes an error saying the application has quit unexpectedly on OS X. Anyone have any ideas why this might be? Thanks!
I'm using the newest chart control from silverlight toolkit to plot some data. For small cases it works ok, but for bigger samples the X axis labels overlap. It would be no problem if the chart would simply omit some of the values or I could specify to just show every 10th of them ...
I couldn't find any properties providing this behavior. Any ideas?
I am using the Silverlight sdk for Bing Maps. I have my map, I have my PushPins all mapped out. Now I want to disable the user from zooming out so far they see the whole world and keep it constricted to the just the US. It would be nice if there was something simple like Map.MaxZoom but there is not. Any help?
Hi
I have a stackpanel that has a dynamic amount of images that are added programatically, Is there a way I can set a hover/click effect programatically on these images. I would like for the image to "glow" when clicked. How do i do that in silverlight? I've noticed the Image.Effect property, but I'm not really sure how to use it.
I have two silverlight applications. One produces XML files (models) that are used for the other to read. The XML files are uploaded to a specific (abosulte for now) folder.
So, I need a solution to grant access by these two applications, a Models folder. Right now I'm using absolute paths and developing in ASP.NET Dev server.
What would be the best way to accomplish this, thinking on IIS approach?
Regards,
hi
I'm trying to make a small silverlight application but i became across a problem, playing videos from youtube.
I tried a method with a html conteiner to embed the youtube flash player, but with this method i need to activate the option windowsless, and thats is not a good ideia for my web site.
If anyone have a good ideia,I'm glad to hear
thanks
BasicSide