|
It sounds like you haven't added the animation trigger anywhere. Take a look, in Blend, at the storyboard and check to see what the trigger event is."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Thanks a lot. It is an event trigger and I found the answer. Ahamed Azeem
software Programmer
|
|
|
|
|
Good job "WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
We are trying to develop Silverlight forum engine (the first prototype already available http://www.getmessageboard.com/Forum/[^] but I'm still not 100% sure is it good idea at all.
Whould you use something like this on your web site? I really need your advice.
Thank you in advance
|
|
|
|
|
This[^] might help you decide.
Remember that this link discusses SL 2.0 where as SL 3.0 is out now.
More new controls and other excellent features are available in SL3.0.Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
My advice is to create the pages in dotnet. because html rendering is difficult (not available i think) in silverlight.u can embed dotnet in silverlight Gomathi R
|
|
|
|
|
Hi,
I'm using Image control.
I need to change the picture on this control on runtime.
The image that need to be loaded on the Image control is some file that i know his full path.
How can i do it ?
Thanks.
|
|
|
|
|
If you don't want to go down the MVVM route, there's no reason you can't name your image control and update the image directly in your load image handler. Here's an example of how to actually load the image (in C#):
public ImageSource LoadImage(string imageSource)
{
src.BeginInit();
src.UriSource = new Uri(imageSource, UriKind.RelativeOrAbsolute);
src.CacheOption = BitmapCacheOption.OnLoad;
src.EndInit();
return src;
} "WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
HI,
I'm working on a card game and am curious how to design my Card class (each of which are held in a CardDeck class which extends List<Card>. The card is not a typical playing card, instead having a title and description as well as a unique Image on the front.
During play, the cards need to be displayed and moved in a some sort of layout panel. I've created the basic Card object with the following properties:
public string Title
public string Description
public Image CardFront
private Image CardBack
I thought of extending the Card as an Image or as a Viewport. But being new to WPF (and .NET Windows application programming) I'm not sure the best way to implement it.
Thanks,
Chris
|
|
|
|
|
I like to show my forms with silverlight option, is it possible? This is the first time I am trying...
My idea is while the datas are readonly, then the form opening time if we show the silverlight option then the user can easily identify that it cannot be change...
So, Any better guidences...
Thanks...
|
|
|
|
|
Amazing how many people try to use a technology without even knowing what its for.
Silverlight is for Web applications not Windows applications. For Windows you need to use WPF.
If your controls are readonly I think that would be a pretty big hint to the user that it can't be edited. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Dear friends,
i have a clarification ...
I have canvas with few paths like these
<canvas>
<Path name="path1" ..../>
<Path name="path2" ..../>
</canvas>
now i have style for canvas ...in that style is it possible to change the property of the "Path1"???
[Because i have problem like these .. i have few paths in canvas if i move a cursor on any path .. i have to change the property of "Path1" .. so i think working on the canvas will make possible]
Thank you
by
Joe
<div class="modified">modified on Friday, February 26, 2010 6:10 AM</div>
|
|
|
|
|
It would help if you actually showed the paths."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Dear friend
Thanks for reply ..
sorry i did not notice that the code it not visible .... i have edited now ...
By
Joe
|
|
|
|
|
Hi,
I want to provide automatic file download when the user clicks on a (hyperlink)button. Can someone shed a light on how to specify URI correctly for the file protocol in the following code:
private void FileDownload_Click(object sender, RoutedEventArgs e)
{
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri("file:///1.zip"), "_blank");
}
It works fine when I use the absolute file path. But how do I specify the relative file path, because I don't know the absolute path on the hosting server?
Thanks,Best,
Jun
|
|
|
|
|
Hi Jun,
If you specify UriKind.Relative in the Uri constructor, it will be relative to the page hosting your Silverlight app.
System.Windows.Browser.HtmlPage.Window.Navigate(
new Uri("SubDirectory/TextFile.txt", UriKind.Relative), "_blank");
Cheers,
Daniel
|
|
|
|
|
Thanks, Daniel. It works.
One side note, though. I couldn't make the complete format work:
System.Windows.Browser.HtmlPage.Window.Navigate(
new Uri("file://SubDirectory/TextFile.txt", UriKind.Relative), "_blank");
It appears that if I use "file://", I must quote the absolute path.Best,
Jun
|
|
|
|
|
Hi,
I have build a silverlight site and uploaded it to my hostint server "DiscountASP.NET". The IP is "www.entribute.com". I can browsw it from my development machine without any problem. However, when I visit it from another Vista PC, I got a "Could not download the Silverlight Application" error. Many posts say it is a MIME type issue on the server, but why can I open it fine from my development machine?
Thanks,Best,
Jun
|
|
|
|
|
I just tried it from here using IE6. I can get to my Silverlight sites no problem but yours gives the following error:
Line: 56
Char: 13
Error: Unhandled Error in Silverlight 3 Application
Code: 2104
Category: InitializeError
Message; 2104 An error has occurred
Code: 0
URL: http://www.entribute.com/
|
|
|
|
|
Ok, I have figured it out. It seems that the path for the compressed source code should be
<param name="source" value="ClientBin//EntributeSilverlight.xap"/>
not
<param name="source" value="ClientBin/EntributeSilverlight.xap"/>
Both work well on the local host but only "//" works on the hosting server.
Thanks,Best,
Jun
|
|
|
|
|
Hi,
We have a strange problem. Our WPF C# application is run on many different Windows OS. At the moment we perform sleep/resume tests and it work fine on all OS but not on XP 64 bit. We get strange crashes on different places in the code. When enter sleep state our application sometimes crashes, and I can't get to usefull information from the crash log. We have try catch arond the running threads but we cant catch the exception.
System.ArithmeticException: Overflow or underflow in arithmetic operation.
Data: System.Collections.ListDictionaryInternal
Source: WindowsBase
TargetSite: System.Object.Invoke(System.Windows.Threading.DispatcherPrioritym System.Delegate, System.Object)
Has also got TimeSpan exception get_TotalMilliseconds()
Source: mscorelib
But I cant see that milliseconds can be a strange value?
I get a some different exceptions. And not a useful stacktrace.
Anyone who have some smililar problems?
Regards
Olofmodified on Thursday, February 25, 2010 5:48 AM
|
|
|
|
|
Hi. Any silverlight I put in my page cover's every other element on the page(even if that element is z-indexed to be in front). This only happens in IE.
I remember having a similar problem with Flash but cant find a SL equivalent solution. Someone suggested setting Windowless to true. But that disabled the silverlight so you couldnt click in it.
ThanksStrive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
|
I have this
But when I set display to block to show the div the silverlight box is just white, with no content loaded. Even if I set the div to block to start with(in which case the SL box works) then hide it and display it again, the SL still doesnt work.
I need to be able to hide and show silverlight clientside.
ThanksStrive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
Hey guys does anyone know a good book in wpf(blend) on problem solution method ? like wrox books. I searched
but found nothing useful please post a link ( Torrent or rapidshare)
|
|
|
|