Type: Posts; User: saktya
Search took 0.01 seconds.
November 4th, 2009, 07:25 PM
Don't fill the the tableadapter after every update, Just acceptchanges the dataset.
November 3rd, 2009, 07:42 PM
<TreeView Name="_treeViewMain" TreeViewItem.Selected = "TreeViewItem_Selected">
How I can set the Handler of TreeViewItem.Selected programmatically not using the xaml....
I have a grid with two columns (one with "*" width and the other is auto) and a gridsplitter between the columns.
I have expander in my top-right corner (they open left-to-right). the columns...
June 13th, 2008, 02:06 AM
I have an customcontrol that I derive from ComboBox.
But when I add the control to the grid it cannot stretch... And In my class I just override the OnKeyUp and OnSelectionChanged, no UI...
I want to add a data template in resource dictionary...
<DataTemplate x:Key="SizeTextTemplate" x:Name="SizeTextTemplate">
You must have the xmlschema of that dataset in your client...
the xmlSchema is DTD to parse your dataset
It just a textBox that remember the previous Text that type in it...
just like the textBox in Windows search...
Is there any link that explain about best approach for this problem??
I want to make text box control that cache the previous type Text in the text box.
It's just like the Text box in Search Function that belongs to Windows OS.
When I type something in that text...
Use the Dispatch.Invoke method...
I use recursive method like this:
public void AddText( string text )
if( Dispatcher.CurrentDispatcher != this.Dispatcher )
Hope this can help:
Yes we need to add this to Listener list. I can't post whole project :p. Here the way I put in the listener list
_traceListener = new MinTraceListener( _tracerList );...
Yes the point is Override the write method...
Do already done this???
Here my code for write a trace to the list box.
internal class MinTraceListener : TraceListener
Try to inherit from abstract class TraceListener and overwrite the write method...
I already read that article before, my problem is How I can get the UI Dispatcher, Is there any static method in .Net to get the UI dispather... because with my software...
I have an CollectionViewSource binded to a treeview...
And I want to re-filtering the items in collectionViewSource without REFRESH it.
because now I use
Is there any method to get the UI dispatcher? I need to update my UI from the object that run in the background thread...
Debug how many time you attach the handler..
I'm sure you attach it more than once
April 29th, 2008, 08:24 PM
Use the data adapter with store procedure command type...
MSDN can help
April 29th, 2008, 07:50 PM
December 10th, 2007, 07:41 PM
Listview is not a row based control, it is item base control so I think it is not necessary to get a row in a Listview. And I found Listview is very helpful to find the selected item inside it by...
December 2nd, 2007, 06:32 PM
This is a link that explain about event, delegate, and event handler.
Hope this can help, its help me to understand about event.
November 29th, 2007, 09:59 PM
May be you should try to binding only one tables...
November 29th, 2007, 09:38 PM
what is the data source of "horariosBindingSource"?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!