Silverlight (formerly WPF/E) Developer Issues,10 - Silverlight (formerly WPF/E),
Recent update: 2008-3-21

Z-Index

158 byte By DanWahlin at 2008-3-7
From what I've seen there's not currently support for Z-Index on UIElements. Am I missing something though? Is there a way to set the Z-Index of an element?

FlowDocument coming to WPF/E?

158 byte By Blackice at 2008-3-6
Will the FlowDocument and rich typography features of WPF also be available on WPF/E? I can image a lot of great applications of this. Karl

WPF/E Deployment

1442 byte By ChadCampbell at 2008-3-5
Hello,I have created a WPF/E control that I am attempting to deploy. I have successfully deployed the control locally. However, I want to deploy it to a publicly visible server.A strange thing seems to be occurring. I have validated, via javascript, that my wpf/e control is not null. However, I ...

Event Bubbling Problem

2951 byte By ShawnWildermuth-MVP at 2008-3-3
I can't determine if the SDK is wrong or the implementation. Here is the issue:The SDK states:"WPF/E supports the concept of a bubbled event for input events such as mouse events. A bubbled event is an event that is passed from a child object and is forwarded upwards to each of its ...

Audio problem with CTP Samples

206 byte By nzwpfnewbie at 2008-3-1
If I play back one of the wmv files that came with the CTP sample the audio is fine However when played back in WPF/E the audio is incredibly loud and alot of buzzing noises Anyone else experience this?

Extending WPF/E with Custom Controls

477 byte By DanWahlin at 2008-2-28
Are there any plans to enable JavaScript/XAML custom controls to be created and leveraged using WPF/E?I'm mainly interested in encapsulating commonly used functions (say a few frequently used animations for instance) into a custom client-side control and referencing it in the XAML with an XML ...

Access a Canvas's ScaleTransform ScaleX property via Script?

1805 byte By DanWahlin at 2008-2-27
I need to access and change the ScaleX property of a ScaleTransform object but can't seem to find the trick to getting to it with script. I've tried the following and a few variations:var cToMove = albumCanvases.GetItem(i);alert(cToMove.RenderTransform.ScaleTransform.ScaleX);If anyone could ...

Any future for input controls?

802 byte By DanWahlin at 2008-2-26
I haven't seen a list of planned features for WPF/E but are there any plans to add input controls such as a textbox (and textarea type control), button, dropdown, etc.? I know that gets into a whole different realm but I think to truly make WPF/E something capable of more than just fancy ...

Integrating JSON with WPF/E

894 byte By DanWahlin at 2008-2-25
I've been playing a lot with creating dynamic XAML lately and while I'm a big fan of XML it can definitely get in the way when large chunks of a WPF/E document need to be added. Since WPF/E integrates nicely with JavaScript and ASP.NET AJAX can be used, is there any chance that you're ...

Animating Around an Ellipse

370 byte By DanWahlin at 2008-2-24
If I have the coordinates for an ellipse is there an easy way to animate a specific object around the ellipse's path using a story board? Or, would I have to do all that via JavaScript? I see there there are key frames but to be honest I'm not real sure where to start there or if that's even ...

Image.Source + Permission Denied?

2299 byte By AlanZ at 2008-2-23
Hello, I am currently working with the December CTP of WPF/E and I am attempting to dynamically set an Image source via some JavaScript.Within my .xaml I have the following snippet: <Image x:Name="Image1" Source="Images/Test.png" Canvas.Left="5" ...

Problem with WPF/E Installer (runtime not SDK) on Vista

1229 byte By ShawnWildermuth-MVP at 2008-2-22
I've run several versions of the WPF/E Runtime and uninstalled them all. Suddenly after installing hte WPF/E SDK Refresh from 12/23/2006, the WPF/E component kinda doesn't work in IE. Here's why:In the AGHost.js file, you create an instance of an ActiveX object called ...

Context menu in WPF/E

73 byte By PeterKalev at 2008-2-22
Is WPF/E going to support customizable context menu on right mouse click?

WPF/E vs. XBap

272 byte By AlanZ at 2008-2-21
Hello Community! I was recently trying to evaluate why there is seemingly two ways to write web-based applications with WPF. Am I way off? Can anyone explain to me when I would use an XBap over a straight up WPF/E application? Thanks, Alan

Linux support?

219 byte By OrenNovotny at 2008-2-20
<P>Having support for Mac, Firefox, Opera and Safari is terrific news for WPF/E. The elephant in the room though is Linux support. If Linux were supported in the next CTP, this would be unstoppable. </P> <P>--Oren</P>

Image.Source + Permission Denied?

2299 byte By AlanZ at 2008-2-19
Hello, I am currently working with the December CTP of WPF/E and I am attempting to dynamically set an Image source via some JavaScript.Within my .xaml I have the following snippet: <Image x:Name="Image1" Source="Images/Test.png" Canvas.Left="5" ...

Event Bubbling Problem

2951 byte By ShawnWildermuth-MVP at 2008-2-18
I can't determine if the SDK is wrong or the implementation. Here is the issue:The SDK states:"WPF/E supports the concept of a bubbled event for input events such as mouse events. A bubbled event is an event that is passed from a child object and is forwarded upwards to each of its ...

wmv codec supported in current CTP ?

250 byte By KurtCLAEYS at 2008-2-17
What wmv codecs does the CTP support now ? I' making screencasts with Media Encoder 9 but WPF/E (mediaelement) doesn't show them altough they run perfect in Media Player 9. What's a good profile to produce screencasts in wmv for WPF/E ? Thanks ...

Storyboard BeginTime property confusion

523 byte By ShawnWildermuth-MVP at 2008-2-16
There is a general workaround for being able to fire events on EventTriggers that are not "Canvas.Loaded" that involves setting the BeginTime to a large number so it doesn't get run immediately (then you can fire it with JScript whenever you like).Here is my issue:The docs seem to ...

Access a Canvas's ScaleTransform ScaleX property via Script?

1805 byte By DanWahlin at 2008-2-15
I need to access and change the ScaleX property of a ScaleTransform object but can't seem to find the trick to getting to it with script. I've tried the following and a few variations:var cToMove = albumCanvases.GetItem(i);alert(cToMove.RenderTransform.ScaleTransform.ScaleX);If anyone could ...

Viewing Albums with WPF/E and ASP.NET AJAX - Unhandled Exception...

1299 byte By DanWahlin at 2008-2-15
Hopefully this is OK to post here. If not feel free to delete it.I've been working on a WPF/E and ASP.NET AJAX demo over the holidays so I could learn WPF/E stuff better (the source of all my questions lately ). The app turned out pretty good although there's still more I'd like to add. I'd ...

Automatically Center TextBlocks

583 byte By DanWahlin at 2008-2-15
Now that I'm playing around alot with WPF/E I seem to have a lot of questions. :-)Is there any nice/easy way to automatically center text in a TextBlock within a canvas (or even other objects)? With different font family's and sizes and no way to calculate the actual size of the rendered ...

Change cursor

283 byte By DanWahlin at 2008-2-15
Is there a way to change the cursor in a WPF/E window? I've tried doing it via JavaScript events (setting cursor to "hand" for instance) but it doesn't seem to pick it up. Is it possible to do that and I'm just doing it wrong (wouldn't be the first time :-)).

Z-Index

158 byte By DanWahlin at 2008-2-15
From what I've seen there's not currently support for Z-Index on UIElements. Am I missing something though? Is there a way to set the Z-Index of an element?

Downloading content from the web

336 byte By ChrisBrandsma at 2008-2-14
Hi, we have an app that might be a good fit for XAML, but it depend on being able to implement one feature.Can I download XAML content from the web (say a web service) and load it into my XAML enabled application?Or even just load the XAML from the file system at run time?Or does XAML have to ...

Use the Width/Height of parent object in XAML

615 byte By JamesLissiak at 2008-2-14
Is there a way to make an object use the width and height of its parent without having to manually assign the same width and height values?For instance, if you have a Canvas sized 100 x 100 and then you add a Rectangle to that Canvas, can you make the Rectangle automatically give itself the ...

WPFE on Office Live

264 byte By MichaelS.Scherotter at 2008-2-13
Has WPF/E been tested on Office Live? I have added the HTML to a page and IE 7 hangs when I navigate to it: <a title=" http://charettelabs.com/wpfe.aspx" href=" http://charettelabs.com/wpfe.aspx"> http://charettelabs.com/wpfe.aspx</a> Michael

Animating Opacity 1 to 0 results in 0.00390625

3122 byte By MichaelS.Scherotter at 2008-2-13
Animating the Opacity of a canvas from 1 to 0 over 0.4 seconds causes the opacity to finish at 0.00390625, not 0.Is this by design or is it a bug?<EventTrigger><BeginStoryboard><Storyboard BeginTime="1" x:Name="IDAYAMXC_Hide"><DoubleAnimation ...

Mouse Click ?

92 byte By PeterKalev at 2008-2-12
Would WPF/E support a "MouseClick" (mouse button down - mouse button up without drag) event?

"Loading" Support

319 byte By ShawnWildermuth-MVP at 2008-2-11
Does anyone know of a good location for an example of how to add a "Loading..." sort of support to WPF/E? My assuption is that some small XAML is loaded to do the "Loading" screen, then another XAML object is loaded via AJAX or XmlRequest to do the loading of a larger amount ...

Bounding Box

120 byte By PeterKalev at 2008-2-10
Is there a way to get the dimensions of the bounding box of a <canvas> element containing bunch of child elements?

Sandbox client-to-client

282 byte By ImmanuelG at 2008-2-10
Hi, it′s me again with a question. Is the WPF/E sandbox going to support direct client-to-client communication of binary data streams? It′s for a web based collaboration solution including video chat and working together on shared documents of various types. regards immanuel

WPF/E Deployment on XP, Vista

835 byte By NickKarasev at 2008-2-8
Suppose the WPF/E is ready, how is Microsoft planning on shipping it to customers? Is it going to be pushed automatically via AutoUpdate, or are we -- as page owners and developers -- will have to provide a link to the WPF/E plugin/runtime download and pray people actually go there?My concern ...

FontSize in Pixels, not Points

338 byte By mscherotter at 2008-2-8
The QuickStart guide specifies "FontSize: The font size, in points. "This is incorrect. The font size is actually in pixels. You can test this out by outputting the text to HTML with the same font size both in pixels and points. It matches the one in pixels.Michael S. ...

Lessons to learn or "Something's rotten in the state of Denmark"

5930 byte By AriFleischmann at 2008-2-7
Recently I discovered this amazing promising new technology called WPF/E. I am not a tech guru - the lessons yet to learn are teached to me and to all the other people out there working hard on every day webdriven software.As a developer having to deal for a long term with Flash I am quite ...

FontFamily property on TextBlock does not work.

3406 byte By mscherotter at 2008-2-7
I have the system font "Times New Roman" installed. The following XAML renders in a sans-serif font, not Time New Roman.When I access the FontFamily property of the TextBlock, "FontFamily" is returned.alert("The FontFamily is: " + textBlock.FontFamily);shows "The FontFamily is: ...

WPF/E Communication, C#

639 byte By ImmanuelG at 2008-2-7
Hi,I ve basically got 2 questions about WPF/E:1. are two WPF/E instancies running on different machines able to communicate with each other (for example after they have been provided the ip of each other (by the server))?2. has a subset of the CLR been integrated in WPF/E so that it would be ...

Symbols support?

273 byte By PeterKalev at 2008-2-7
Currently SVG supports symbols ("defs") - complex elements that are described once and can be referenced and displayed many times throughout the code (tree). This saves a lot of byte-size for the files being used. Is there a similar feature in WPF/E?

Lessons to learn or "Something's rotten in the state of Denmark"

5897 byte By AriFleischmann at 2008-2-6
Recently I discovered this amazing promising new technology called WPF/E. I am not a tech guru - the lessons yet to learn are teached to me and to all the other people out there working hard on every day webdriven software.As a developer having to deal for a long term with Flash I am quite ...

Can't deploy a WFP/E page

440 byte By AndrewBeery at 2008-2-6
I've created a page that uses wfp/e which runs fine on my local system... when I push the page and its resources out to a shared public server on the Internet and try to pull up the page I get a big white box where the control should be but nothing else... is there some type of IIS ...

Seeking in WMV video files in WPF/E?

540 byte By JulienCouvreur at 2008-2-5
The FLV file format for Flash videos allows for easy seeking inside the video file. It allows for a functional scruber bar even with HTTP as the delivery mechanism for the video.See http://flashforever.homeip.net/blog/?p=16The question is whether a similar trick is possible with WMV9?How easy ...

Context menu in WPF/E

73 byte By PeterKalev at 2008-2-5
Is WPF/E going to support customizable context menu on right mouse click?

Any one have samples of 3D text (the code), like the ones in Joe Stegman video?

178 byte By peterng at 2008-2-4
Any one have samples of 3D text (the code), like the ones in Joe Stegman video? I would like to do something like this, but have no clue where to begin. thanks

Drawing pixel based animations

282 byte By manunews at 2008-2-4
I have read the QuickStart but I haven`t seen any option to create an bitmap in memory and display it to perform old school pixel based effects. Is this possible? I think that in WPF this is done via the BitmapSource class. Is there something similar for WPF/E? Thanks!

Attributed Syntax for Transforms

1674 byte By Kevgor at 2008-2-4
Hi all,Maybe I didn't look hard enough, but I cannot find a reference on how to use the attribute syntax to declare transforms.For the one sentence review, there are object syntaxes and attribute syntaxes. For the object syntax, w.r.t. transforms in particular, we have the familiar: ...

Inline XAML

252 byte By nzwpfnewbie at 2008-2-4
Been trying to follow the CTP SDK documents I can't seem to get "inline" XAML going in a HTML page e.g. have the XAML tags in a HTML page and not in a seperate .xaml source file. Anyone have better luck or have a simple example? cheers

Getting extent of TextBlock element

342 byte By mscherotter at 2008-2-3
I will be dynamically creating content with many textblocks. How can I get the extent of the text in a TextBlock? The Width property returns 0 unless I give it an explicit value.Michael S. ScherotterMindjet Labs ManagerMindjet ...

Opening the sample's XAML in Expression Blend

413 byte By JulienCouvreur at 2008-2-3
I tried opening the XAML file from some of the samples in Expression Design. But it's not able to load it properly into the designer view. First, it complains about namespace, which I worked around. Then it had trouble with the " event handlers.Will this be a supported scenario? Am I ...

opera support

79 byte By LuisMiguelAbreu at 2008-2-2
hello. well, one more question: will opera be supported on the next releases?

WPFE on windows 2000 Server.

1272 byte By DarrenKing at 2008-2-2
I don't have a Windows 2000 workstation around, but I wanted to make sure that WPFE worked on Win2k before I decided to put development effort behind it. So I installed it on the office win2k server which runs all the test databases.My issue is that I've run the install on my win2k sever ...