|
|
Thanks,
Default Access Modifier was set to Friend.
|
|
|
|
|
When i pass large amount of data through wcf it gives error of max data
Please tell how to solve this
|
|
|
|
|
Increase the maxReceivedMessageSize on the binding.
|
|
|
|
|
I keep getting the following message:
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='#FF646464'; ResourceKey.HashCode='47980820'; ResourceKey.Type='System.Windows.Media.SolidColorBrush'
How do I find out what is causing that?
|
|
|
|
|
Did you figure this out yet?
Just a wild guess, but that "ResourceKey='#FF646464'" looks like
an ARGB color associated with a ResourceKey somehow - maybe some
malformed XAML defining a brush somewhere...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
While working on a WPF app, I thought I should try and be proper, and honour the color scheme on the host system, rather than inflicting my idea of colors on to the user, and I got this error too.
I was making a ListView control template that adds a border, and hence I started to add "IsSelected" triggers to highlight focused items. The color values I used were things like:
{DynamicResource {x:Static SystemColors.HighlightColor}}
{DynamicResource {x:Static SystemColors.HighlightTextColor}}
{DynamicResource {x:Static SystemColors.ControlDarkColor}}
If I now run my app, I get a bunch of debug message like
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='#FF000000'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='#FFB2B4BF'
Reverting to hard coded colours removes the problem.
|
|
|
|
|
Hi,
In my WPF application I need to return a collection as return type using a PageFunction. Is it possible? If yes how do I do it?
Thanks & Regards,
Deepak.
|
|
|
|
|
In response to a recent blog entry[^] by Josh Smith where he talks about the default scope of XAML variables, and how to change them to private, I've updated MoXAML PowerToys[^] to automatically search for elements in your XAML with the x:Name attribute set (and without the FieldModifier set). Any matches automatically get x:FieldModifier="private" added to them.
|
|
|
|
|
Yay Pete!
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hello All!
I'm trying to test a WPF application which displays most of the information using DataTemplates. The problem that I'm facing right now is that data in the template is not visible neither by the UI Automation framework nor by the UISpy tool.
Has anyone seen this behavior?
Suggestions are appreciated.
dimaj
|
|
|
|
|
I am also facing the same problem. Seems 'Project white' or UI Automation framework for WPF is not stabilized. Seems some IBM automation test tool captures events of WPF which UISpy cannot.
|
|
|
|
|
Is it possible to assign a resource to another resource? For example, if I have a SolidColorBrush named MyBursh01, can I make a MyBrush02 that has the same values as MyBrush01, or can I make a Rectangle named Rect2 and make it = Rect1?
I am referring to making it in XAML not C#
Thanks
|
|
|
|
|
You could always use BasedOn to do this when it comes to using one style as a basis for another.
|
|
|
|
|
Hello All,
How can I use the DataGridCell Template with WPF Toolkit Datagrid. I like to create a Cell Template and like to apply that template for all cells.
For example:
<Style or something x:Key="myDGCellTemplate">
<DataTemplate>
<StackPanel>
<Button Content="AA" />
<Textbox Text={Binding .} />
</StackPanel>
</DataTemplate>
</Style or something>
<toolkit:DataGrid x:Name="myDataGrid" ItemSource="{Binding myDataSource}"
CellTempleteORSomething={StaticResource myDGCellTemplate}" AutoGenerateColumns=True>
</toolkit:DataGrid>
#2.
Can I use "." in Binding? As the column will be generated dynamically based on the Data Source, I don't know the column name. So, I want to set whatever column that I got to the textbox.
Thanks in advance.
<Textbox Text={Binding .} />
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
|
|
|
|
|
Is it just me or is anyone else very much dismayed at the lack of real line of business capabilities of WPF?
I am producing a line of business app, which early on was decided to use WPF. Admitedly this was partly my decision, because the client needed a windows solution; my background was ASP.Net development so I thought the nearest thing would be to use WPF. Having been around for a few years I never dreamt that it would be so poor.
I have hit so many stumbling blocks along the way. Working for a small client, in the middle of a recesion, they do not have the budget to purchase every third party tool and utility, so I have had to work with what Microsoft makes available in .Net.
Firstly, I got hit with the Datagrid. Not being released until late October, i still get an error trying to add a combobox to it. I am waiting for version 2. the (free) Xceed grid is not much better, with its own (different) set of inadequecies.
Now, I thought that any line of business application would require some sort of output. I need to produce invloices. The requirement is that one or more invoice is printed at one time; each one consists of a customer, seller brand, page header, items, and sub totals, etc. (typical invoice stuff). There seems to be no reporting mechnism in WPF. I have tried Crystal, but apart from hating their run-time deployment issues, and the fact that it doesnt seem to work with LINQ, I am at a stumbling block there. I have tried RDLC in VS 2008. Fortunatly that works with LINQ, but the designer seems very weak, and the functionality of the whole thing is not a patch on Crystal (I hate to say). I have considered building XAML but I need to export to Excel, and have page headers. I am at a loss and the sh-- it about to hit the fan.
Is this just me being stupid? Because WPF seems great at funky, good looking demo applications; but not true line of business apps?
Cheers
|
|
|
|
|
Have you tried SQL Server Reporting Services? It's free and works great.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Thanks for the reply Karl.
I have tried SQL Reporting Services. My App is deployed locally on client laptops using SQL Express, so I think I am limited in what I have available. When I compared the two offerings within VS 2008; SSRS and Crystal, I found Crystal to be more flexible. I liked being able to bind SSRS reports to LINQ, but thought the flexibility of grouping and custom formulas in Crystal where more important.
Does that make sense? I was wondering if I missed something with SSRS, because it just seemed so basic to me.
|
|
|
|
|
I've used SSRS since it came out, for complex systems. SSRS has custom formulas and grouping. Also, you can use SSRS on Laptops. You can also use the Report Viewer Control and create the reports locally and not even install SSRS on the laptops. Check out the TWO modes the Report Viewer Control renders reports.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
I want to display some dynamic reports such that it should have multicolumn and has to be drilldown(ie., tree like structure) using WPF(C#). I thought to use listview but i didnt get a tree like structure. can anyone help please?
|
|
|
|
|
syed tameem wrote: I thought to use listview but i didnt get a tree like structure.
What about a TreeView?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I want to not localize all
items in xaml window
but
when i use msbuild /t:updateuid
all items will have x:uid and this
make the window code very bad i want
to put x:uid for just some items but
i got error can we disable localization
for some items in other way ?
You have To Search About The Truth Of Your Life
Why Are you Here In Life ?
|
|
|
|
|
Why not use the localisation techniques described in this[^] article?
|
|
|
|
|
hi,
The scrolling functionality offered by WPF ScrollViewer is only avialable at runtime. Is there a way so that I can
get the design time scrolling facility. So that I can scroll and see the controls in the container window. Can Customizing the control provide the desired design time scrolling facility. Is there any way I can get design time scrolling facility?
XAML code:
<ScrollViewer Margin="3,3,3,3" ScrollChanged="ScrollViewer_ScrollChanged">
<Grid Margin="3">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Button Margin="58,32,122,9" Height="100" Name="button1">Button</Button>
<Button Grid.Row="1" Height="100" Margin="102,21,78,20" Name="button2">Button</Button>
<Button Grid.Row="2" Margin="81,22,99,19" Height="100" Name="button3">Button</Button>
<Button Grid.Row="3" Margin="81,16,99,25" Height="100" Name="button4">Button</Button>
</Grid>
</ScrollViewer>
modified on Sunday, January 11, 2009 12:59 PM
|
|
|
|
|
I am wanting to create my own custom tooltip that I have control over. Basically, I want to tooltip how soon it comes up and how long it stays up as long as over the control. I know that in .NET 3.5 they finally added the TooltipService that allows you this control, but still using .NET 3.0. On my controls of interest, I was taking over the MouseEnter and MouseLeave and then attempting to open a Tooltip or Popup. StaysOpen is false, and I set the IsOpen=true to show.
I have tried using both Tooltip and Popup controls and have similar problem. Problem is that when I set the IsOpen=true on the tooltip/popup, that they take over the mouse capture. My original control gets the MouseLeave event and the TT/popup gets the MouseEnter. If I move my mouse over another control, I would like these to close, but since the TT/popup has taken over mouse capture, then nothing I can do bug re-click again back on the main window.
I would like to emulate how the current WPF tooltip works, or extend it if possible. i.e.g it pops up but does not affect the mouse capture, other controls on the form still get MouseEnter/Leave events.
|
|
|
|