Advanced Forum Search Results
-
That would be serverside C# code.
Are you comfortable with creating event handlers?
-
Did you try something like:
MyDatagrid.ItemsSource=null;
?
-
I found the manual navigate code thanks, but here's the tihng with hyperlinkbutton content. I set it to a stackpanel containing image and textblock. Clickign the textblock causes navigation, image does not. I'd figured they both should. Am i Wrong?
-
Is there a way to redirect the browser to another page via silverlight? I have a hyperlinkbutton with a stackpanel in it and a textblock. The textblock redirects as expected, but the image does not. I was figuring i should just handle click on the image and manually do it, but don't know how.
-
Hopefully this can help. I set up a mock app with the markup looking like so:
<StackPanel>
<MediaElement x:Name="ThePlayer" ></MediaElement>
<Slider Minimum="0" Maximum="1" Orientation="Horizontal" ...
-
You would have to set the max to 1, the min to 0, create an event handler for OnValueChanged, and in that handler assign the value of the slider to the volume value on the player.
-
In visual studio, your silverlight app most likely has a host web application. Right-click that application's node in the solution explorer and click properties, then go to the debug tab. Down at the bottom (you may have to scroll), is a checkbox for enabling silverlight debugging. Turn that on and debugging should work.
Make ...
-
There may be an easier way, but when you create a storyboard (animation), you can access it from codebehind like a property.So, you create an event handler for your control's loaded event, and in there do something like:
this.MyAnimation.Begin().
That should do it. There's quite possibly an easier way, but that should work. ...
-
Silverlight does have a timer class, just hiding under the threading namespace.
The msdn documentation is at :
http://msdn2.microsoft.com/en-us/library/system.threading.timer(VS.95).aspx
Enjoy!
-
I personally wanted to dispaly different images depending on the value of the enum it was bound to. Since i couldnt use dynamic templates, I used a converter that returned a different image url depending on the input, and that worked great. Maybe you can create a converter that takes whatever your object is, and outputs a reference to the ...