|
Hi All,
We just getting to the point of running some demo's of an application we've built and we're having a few performance problems running the app on a handful of these laptops:
http://www.dell.com/tablet?s=biz&cs=555[^]
Unfortunately we've bought 4 of them ... anyway ...
The app runs fine on every other machine we've tried it on, I've also tested my own WPF app on these laptops and that performs equally poorly.
Does anyone have any ideas on what could be causing this drop in performance? Could it be related to the touchscreen?
The main grid control in use in both apps is the XamDataGrid from Infragistics.
I'm just wondering if there is a load of extra user input stuff going on due to the touchscreen that maybe slowing the grid down?
Any ideas would be great.
Thanks,
|
|
|
|
|
Hello
Iam trying to run a WPF application, but no data is dsplayed in the Grid.
The relevant codebehind file is as under Window1.xaml.vb
Private Sub BindData()
Dim conn As SqlConnection = New SqlConnection
Dim command As SqlCommand
Dim dataadp As SqlDataAdapter = New SqlDataAdapter
Dim dtTbl As Data123DataSet = New Data123DataSet
Dim query As String = "SELECT EntityCode, Title, Name FROM dbo.Entity"
Dim connstring As String = "Data Source=SRITANU;Initial Catalog=Data123;User ID=sa"
conn = New SqlConnection(connstring)
Try
command = New SqlCommand(query, conn)
conn.Open()
dataadp.SelectCommand = command
dataadp.Fill(dtTbl, "Entity")
DataContext = dtTbl
Catch ex As Exception
conn.Close()
End Try
End Sub
The XAML code is as under Window1.xaml :
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="670" xmlns:c1grid="http://schemas.componentone.com/wpf/C1DataGrid" WindowState="Maximized">
<Grid Width="574">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="574*" />
<ColumnDefinition Width="0*" />
</Grid.ColumnDefinitions>
<c1grid:C1DataGrid Margin="0,12,0,21" DataContext="{Binding dtTbl}" Name="C1DataGrid1" ItemsSource="{Binding Path=Data123DataSet.dtTbl, ElementName= Window, Mode=Default}">
<c1grid:C1DataGrid.Columns>
<c1grid:Column Caption="CUSTID" ColumnName="EntityCode" PropertyName="EntityCode " />
<c1grid:Column Caption="TITLE" ColumnName="Title" PropertyName=" Title"/>
<c1grid:Column Caption="NAME" ColumnName="Name" PropertyName=" Name"/>
</c1grid:C1DataGrid.Columns>
</c1grid:C1DataGrid>
</Grid>
</Window>
Please point out my mistake. Iam quite befuddled
Best Wishes ....... ARIJIT
|
|
|
|
|
It looks like you've set the DataContext for the window to dtTbl so
you should just need to do something like this:
<c1grid:C1DataGrid Margin="0,12,0,21" Name="C1DataGrid1" <code>ItemsSource="{Binding}"</code>>
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I made the changes and it worked.
THANKS !
Best Wishes ....... ARIJIT
|
|
|
|
|
I made the changes and it worked.
THANKS !
Best Wishes ....... ARIJIT
|
|
|
|
|
You're welcome!
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I add a expander to a window and the double animation when is expanded. However, the to property of the doubleanimation is hardcoded, in my example, the "to" property is 200 and 400. I want to ask that how could it binding to the actual width or height of the expander control? Is this possible?
<Expander Grid.Column="3" Grid.RowSpan="2" Header="expander1" Margin="3,12,-83,18" Name="expander1" BorderBrush="Red" BorderThickness="2" Width="200" Height="400">
<StackPanel>
<Button Width="100">This is the button one</Button>
<Button Width="100">This is the button two</Button>
</StackPanel>
<Expander.Triggers>
<EventTrigger RoutedEvent="Expander.Expanded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetName="expander1" Storyboard.TargetProperty="Width"
From="0" To="200" Duration="0:0:0.25" />
<DoubleAnimation Storyboard.TargetName="expander1" Storyboard.TargetProperty="Height"
From="0" To="400" Duration="0:0:0.25" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Expander.Triggers>
</Expander>
thanks.
|
|
|
|
|
You could always replace this with To="{Binding ElementName=expander1, Path=ActualWidth}"
|
|
|
|
|
I tried that. It works. Thanks a lot.
Eric
|
|
|
|
|
You're welcome. I'm glad to help - and a 5 for the thanks.
|
|
|
|
|
hi all,
i am using VS2005 With frame work 3.0 and insatlled the SCSF 2007 release . i want to know this release supports the wpf in winfroms.please help me in this. i am trying from past one day.
Thanks ,
Guru
modified on Wednesday, December 17, 2008 5:07 AM
|
|
|
|
|
Powerful reporting system plus advanced technology is your business success!
Report Sharp-Shooter for Silverlight is a flexible and reliable tool designed to create reports based of any .Net data sources. The support for Silverlight technology provides unquestionable advantages for both users and developers. Developers can create functional Web reports that have functionality of traditional desktop reports. Users, in their turn, will be able to get reports just opening their browser from anywhere. Thus, you get two constituents of your business success.
New possibilities to make your work more effective and easy!
Report Sharp-Shooter for Silverlight Beta is the next step toward the final release of the product. This version provides more freedom in managing all aspects of report viewer work from code. Now the developers have access to product object model and can change page display mode, zoom in and zoom out, manage navigation, etc.
Company specialists also took care about users. They decreased the amount of data propagated via the network up to three times and let clients considerably reduce traffic and save time.
There is also no need to re-render the pages acquired earlier. These pages are cashed on the server side. XPS and RTF export filters are available in this new version.
Embed and deploy Report Sharp-Shooter for Silverlight in your application today!
A Go Live License will allow you to immediately deploy Report Sharp-Shooter for Silverlight while the product is still in beta and the last details are ironed out before release. The purchase of any Go Live Licenses will later be exchanged for an equivalent license of the final release version.
Moreover, now you can save on purchasing licenses of this powerful Silverlight reporting tool. Perpetuum Software offers 30% discount to those developers who purchase licenses while the product is at Beta stage.
Report Sharp-Shooter for Silverlight Beta is the first report generator for Silverlight capable of making developers work more enjoyable and providing users with flexible and powerful reports of the highest quality.
Feel free to visit the official webpage of the product at http://www.perpetuumsoft.com/Product.aspx?lang=en&pid=102
or feel free to download demoversion at http://www.perpetuumsoft.com/Demo/slviewer/default.aspx
|
|
|
|
|
hello
creating a website in xaml with silverlight website which allows user to register,the registration confirmation details will be provided to client in the form of email,the email will be send to email id and at the same time it will go to webmaster submitted by client at the time of registration and one thing registration details will be save in database
|
|
|
|
|
So, What is your question?
|
|
|
|
|
hello
creating a website in xaml with silverlight website which allows user to register,the registration confirmation details will be provided to client in the form of email,the email will be send to email id and at the same time it will go to webmaster submitted by client at the time of registration and one thing registration details will be save in database
hari krishna
|
|
|
|
|
Why Do you post the Same Question twice
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/SQL7/2000/2005/2008
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@its.co.za
|
|
|
|
|
hi i m not getting this tag in my <endpoint> tag.
plz provide me help as soon as posible
listenUriMode="Explicit/Unique"
listenUri="Uri"
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
|
|
|
|
|
Please provide an understandable question!
What are you asking?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
I have overridden the control template for a ProgressBar by changing the style of the PART_Track and PART_Indicator parts of it, but I have no clue how to override the animation that's taking place when a progressbar's IsIndeterminate property is set. Does anyone know if it's overridable at all, and if so, how?
Regards,
Øyvind.
|
|
|
|
|
I am not sure, did you try BackgroundWorker, progressReport() ?
Charith Jayasundara
|
|
|
|
|
Charith Jayasundara wrote: I am not sure, did you try BackgroundWorker, progressReport() ?
No, not in this case anyway. I don't think it would work, since the animation should go on even if no progress was reported from the background worker at all until it finished.
Anyway, I think I have found a solution on my own. Here it is, if anyone else needs to do the same:
I used Expression Blend to examine the source xaml code for the default ProgressBar control template, and found that it uses a ProgressBarBrushConverter to return a Brush based on some input values. With some googling I found this[^]">, which basically disassembles the ProgressBarBrushConverter.Convert method. Then I was able to make my own BrushConverter : IMultiValueConverter to use.
Regards,
Øyvind
|
|
|
|
|
Hi,
I have two InkCanvas in two applications. I am finding it difficult to duplicate the stroke "erasure by points" action on one InkCanvas to the other.
Basically my application communicates over the Network and can send strokes to the other InkCanvas which adds them.
Now, say
a) Canvas1 sends Stroke1 and Canvas2 receives and adds it to it.
b) Canvas1 deletes some Stroke1 portion (at the middle) which basically splits it into two strokes. This split is to be reflected in Canvas2 also.
My Question is, How can I possibly achieve this ?
I do not think I can collect the "Erasure by Points" cursor movement as a stroke, transfer to other side and clip off that part of the stroke in Canvas2.
I could imitate the "Delete as STroke" event, that deletes a full stroke by exchanging the full stoke to Canvas2, locating it, and then doing a Canvas2.Strokes.RemoveAt(position)
Will somebody have any suggestion ??
Thanks in advance.
ps: Also posted @ http://social.msdn.microsoft.com/Forums/en-US/tabletandtouch/thread/a535fe90-a8fb-4d34-adc6-d08086123627
-regmee
|
|
|
|
|
Hi
I have a canvas which loads x amount of Images(from an array), via the Image Control.
I have a single context menu assigned to all of them when i right click the context ment appears and menu items and works, thanks to the help of another user .
my problem is now, when i right click to get the contextmenu how do i also get what the parent conttrol it was launched from i.e image[5]
using c# and using context menu programatically.
i.e
Contextmenu CM = new contextmenu();
Menu Item Mn1 = new menuItem();
cm.add(mn1)
Foreach image in array
imagx[x].context menu = CM
Mn1.click = delegate { MN1Click(arg,arg);};
etc etc
would like to pass what image the context menu was called from to the MN1Click.
Thanks
Thanks
modified on Monday, December 15, 2008 3:58 AM
|
|
|
|
|
I need some help. I have a wpf text box that I need to be able to enter a newLine only on Shift+Enter key combination. If I set AcceptsReturn property to true then i cannot capture keys. Enter automatically gives me new line which I don't need. Basically i need to emulate InstantMessenger text box. Enter == send message and Shift+Enter == new line.. I'm trying to stay away from building a Custom Control that emulates text box.
Any help would be appreciated..
Environment = .NET3.5 SP1 C# WPF VS2008 SP1
Thank you!!
EmirG.
|
|
|
|