|
hello
I suppose there isn't an Open Source flow chart control for WPF? I been digging around for awhile, no joy.
Thanks
dev
|
|
|
|
|
You might find this[^] to be of some help.
|
|
|
|
|
See here[^] as well.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
Hi,
I am new to Silverlight. I have a requirement to create an Xml from the DataGrid i.e. the Xml should have the data fetched from the datagrid rows. I need help on this.
Regards,
Noopur
|
|
|
|
|
This Link [^] may help you.
|
|
|
|
|
The concept seems fairly simple, assuming you do not want to use the underlying data object. loop through the columns to set the field names, then loop through the rows of the datagrid writing out the values.
I would probably use a combination of the 2 methods, use the datagrid to define the columns from the underlying data source to use then just write out the data.
There are plenty of articles about creating and writing xml to file the only challenge is assembling your data.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Member-4959176 wrote: I have a requirement to create an Xml from the DataGrid
Why? This is a very curious requirement, in that you have just effectively stated that the data is driven from the DataGrid rather than from the DataContext. If I were you, I'd use the underlying data to create the XML rather than the DataGrid. If you are using SL4, then the DataGrid uses UI and data Virtualization, so it's entirely possible that not all of the data is loaded in the grid, so it would be unwise to rely on it.
|
|
|
|
|
can you please refer me to a source which has detailed instructions on how to deploy a silverlight app which uses a wcf?
I have searched in many places but nothing straight forward.
Can you assist please?
Thanks
|
|
|
|
|
I am not sure there is any specific 'instructions' that cover that because I have not seen anything different about it that deploying any other type of app that uses WCF. The only odd thing you may NOT be aware of is that all services in Silverlight HAVE to be async in nature. Not everyone seems to know that part.
|
|
|
|
|
Hope this link[^] will work for you.
|
|
|
|
|
Thank you for the link but it does not help me as I am not using azure, etc.
At present, I have created a virtual directory on the webserver which point to the web project folder (Which I copied from my machinen to the virtual directory on the server).
On browsing to the site, it says page can not be found.
Any ideas please?
|
|
|
|
|
oh! then you should check this Link[^]
|
|
|
|
|
I have deployed the silverlight 4 application which uses wcf.
In the wcf, there is a file called test.xml
How is it possible to view this .xml file which sits in the wcf project.
I can obviously see it in .sln but when I deploy then I do not know where to find the .xml file which sits in wcf.
Question:
How can I manually browse to this .xml file please?
Thanks
|
|
|
|
|
My .sln contains a silverlight 4 project, wcf project and obviously the web host Defaultpage.aspx
I can run the .sln and all works fine...
I would like to test it on my localmachine first by being able to browse to the address...
I have created a virtual directory. Under default web site I have created a virtual directory called mytestsite and it points to the web host folder.
Question:
When I trype something like the following address http://localhost/mysite/defaultpage.aspx
Then it does not browse to it.
It says the website declined to show this webpage.
What do I need to do so that I can browse to the web address for my test app please?
Thanks
|
|
|
|
|
Hope you have added entries to IIS as shown here[^]
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
I want to display some stuff in a scrollable grid using WPF. Things to go in the cells are numbers, strings and icon style buttons, often with a few of these things in a single cell. Now because of the way you can embed just about anything inside anything else in WPF I'm thinking about using a grid panel inside a scroll viewer, and using something like a stackpanel in the 'cells' to hold the buttons and labels etc.
If this were GDI, I'd be thinking about using a 3rd party grid or maybe even rolling my own to do this - I'm quite comfortable in this arena, but not so sure in WPF.
So my question is what are your opinions about doing the above? The grid could have at worse about 40 rows and in an absolute extreme about 120 columns - hinting at some sort of virtualization strategy. Any suggestions gratefully received particuarly if they don't suggest buying something. Quite new to WPF still and not sure the best way to go.
Regards,
Rob Philpott.
|
|
|
|
|
If you're using WPF 4, you should already have the WPF DataGrid in your toolbox. If you're still on 3.5, install SP1 and get the WPF Toolkit from http://wpf.codeplex.com
Sure, you could roll your own if you like, but it's not necessary.
|
|
|
|
|
Thanks dude.
Regards,
Rob Philpott.
|
|
|
|
|
Hi,
I get this error when trying to add a reference to a silverlight 4.0 app.
Is there a way to solve this problem please? See below:
Thanks
you can't add a reference to TIBCO.Rendezvous.dll as it was not built against the silverlight runtime. Silverlight projects will only work with silverlight assemblies.
|
|
|
|
|
This error is telling you that the version of the framework that you are targeting is completely different from the version this DLL was written in. In other words, there is no compatibility at any level as one uses the Silverlight assemblies and one doesn't. Now, bear in mind that you would be expecting the two frameworks to be attempting to run in the same application process space, how do you expect it to load and run two different sets of some of the same assemblies at the same time?
You can go from Silverlight to none-Silverlight assemblies, but you can't do it the other way round. I see that TIBCO have partnered with MS on Silverlight functionality, so it's entirely possible that they have a Silverlight version that you can use.
|
|
|
|
|
|
No there is no way to solve this problem - sorry.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
The library you're trying to add a reference for wasn't compiled for Silverlight. If you have the source code to the library, and if it doesn't use libaries for code that Silverlight doesn't all, you can recompile it and then link it. Otherwise, you're screwed.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Hi,
Silverlight 4, Expression Blend 3
I understand template triggers in WPF are not available in Silverlight...
I used Blend to create a button template - i want the button to grow in size on the mouseover event.
I added a transition to the button in Blend and it generated the zaml...
Im assuming the latest fashion is 'VisualStateManager.VisualStateGroups' instead of triggers to do this in Silverlight...
This works fine but when the animation is complete the button resizes itself to the original size - I want the button to retain its size while the mouse is over.
Ive listed the relevant zaml below - ive tried setting storyboard properties but still the button flicks back to its original size once the animation is complete.
Does anyone know how I can retain the buttons size?
Thanks,
Chas
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="FocusStates">
<VisualState x:Name="Focused"/>
<VisualState x:Name="Unfocused"/>
</VisualStateGroup>
<VisualStateGroup x:Name="CommonStates">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="00:00:00" To="MouseOver">
<Storyboard AutoReverse="False" SpeedRatio="1">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1.654"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1.16"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualTransition>
</VisualStateGroup.Transitions>
<VisualState x:Name="Normal"/>
<VisualState x:Name="MouseOver" />
<VisualState x:Name="Pressed"/>
<VisualState x:Name="Disabled"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
modified on Friday, December 17, 2010 7:35 AM
|
|
|
|
|
Ok for anyone else who experiences this...
move the storyboard out of VisualStateGroup.Transitions and into <VisualState x:Name="MouseOver" >
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid Margin="0,0,0,0" VerticalAlignment="Bottom">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal"/>
<VisualState x:Name="MouseOver" >
<Storyboard AutoReverse="False" SpeedRatio="1">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1.654"/>
</DoubleAnimationUsingKeyFrames>
|
|
|
|