Telerik Forums
UI for WPF Forum
7 answers
154 views
Hi,

I got some hierachical RadGridViews in my application, bound to untyped DataSets.
They are not showing any child-rows with the new beta (only the column-headers are visible).

Here is my code:
                TableRelation relation = new TableRelation(); 
                relation.FieldNames.Add(new FieldDescriptorNamePair("id", "master_id")); 
           
                GridViewTableDefinition childTable = new GridViewTableDefinition() 
                { 
                    DataSource = myDataSet.Tables[childTable].DefaultView, 
                    Relation = relation,   
                }; 
                 
                radgv_ordersAndOffersToSchedule.TableDefinition.ChildTableDefinitions.Clear(); 
                radgv_ordersAndOffersToSchedule.TableDefinition.ChildTableDefinitions.Add(childTable); 
 
radgv_ordersAndOffersToSchedule.ItemsSource = myDataSet.Tables["masterTable"].DefaultView; 

I tried a lot of things to get it working again, but had no success.

Best Regards
Steffen
Vlad
Telerik team
 answered on 02 Mar 2010
5 answers
546 views
I'm evaluating the RadGridView as a possible data grid for a project I am working on.  One of the things I need the grid to do is to use custom controls to display and edit the contents of cells.  I can do this with the CellTemplate and CellEditTemplate like so:

<controls:GridViewDataColumn Header="Field 1"
  <controls:GridViewDataColumn.CellTemplate> 
    <DataTemplate> 
      <my:CustomControl Text="{Binding Field1}"/> 
    </DataTemplate> 
  </controls:GridViewDataColumn.CellTemplate> 
</controls:GridViewDataColumn> 
The CellEditTemplate works similarly.  This code works fine.  However, it is not very maintainable.  If I have 20 columns in my table that all use those same custom controls, I have to have 20 copies of this code, with only the field name changing.  If I need to change that template, such as to add a property setting to my:CustomControl, I have to edit all 20 of those copies.  

What I would like to do is make that DataTemplate a shared resource.  I have been able to do something like this with some of the other grids I've tried, but I haven't figured out how to do it with RadGridView yet.  Obviously hard-coding {Binding Field1} isn't going to work, but I don't know what binding I need to put in there to make it bind to whatever the GridViewDataColumn is bound to.  I know I can bind a column to a field by doing the following:

<controls:GridViewDataColumn Header="Field 1" DataMemberBinding="{Binding Field1}"/> 

This works as well, if I don't want to use my custom controls.  I'm just not sure how to write the DataTemplates in such a way that they bind to whatever that DataMemberBinding is set to.

If this is possible, please let me know so that I can continue my evaluation of the control.

Thanks,

Jason


Usame Esendir
Top achievements
Rank 1
 answered on 02 Mar 2010
5 answers
162 views
I face a performance issue with Q1 2010 beta and Visual Studio professional Release Candidate (RC, not beta 2).

All the forms with RadGrids take a lot of time to fill the grid with data (for a grid with 100 rows, it takes appr. 30 seconds).

I am using Entity Framework. It is not due to EF, because if I replace RadGrid with MS Data Grid, it is OK.

Q3 2009 was much faster.

By the way, I installed RC because beta 2 stopped working after the installation of Q1 2010. I was getting a message "Visual studio has stopped working" which I could not debug because VS Debuger also could not start. I tried to solve it by reseting VS settings but it didn't work. So, I uninstalled VS Beta 2 and installed VS RC.

Thanks.
KOSTAS SEFERIS
Top achievements
Rank 1
 answered on 01 Mar 2010
11 answers
181 views
Hey,

I have a problem when trying to format my Gridview text.  On my cell I set text alignment using the following:

myCell.TextAlignment = TextAlignment.Right; 
And that does what I want to do until I scroll from left to right on my GridView, at which point I get funky alignment results (I've noticed other misc. issues with the gridview control as well... issues with characters being cut off, etc. and most of them relate to scrolling).  See image for details (I blanked column names and used fake data on this example).

Is there anything I can try to fix this?  It's probably going to be a deal-breaker for this project in terms of using Telerik's gridview control.
Larry
Top achievements
Rank 1
 answered on 01 Mar 2010
9 answers
788 views
I've been toying around with trying to load modules in DockPanes using MVVM Prism. I can do it with Tabs, but have not been able to figure out how to do it with DockPanes.

Any ideas?

I get the below cast error when I try and add the module to a Region.

Microsoft.Practices.Composite.Modularity.ModuleInitializeException was unhandled  
  Message="An exception occurred while initializing module 'Help'. \r\n    - The exception message was: Unable to cast object of type 'VistaAdmin.Help.Presentation.HelpView' to type 'Telerik.Windows.Controls.RadPane'.\r\n    - The Assembly that the module was trying to be loaded from was:VistaAdmin.Help, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\r\n    Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem. \r\n  " 
  Source="Microsoft.Practices.Composite" 
  ModuleName="Help" 
  StackTrace:  
       at Microsoft.Practices.Composite.Modularity.ModuleInitializer.HandleModuleInitializationError(ModuleInfo moduleInfo, String assemblyName, Exception exception) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleInitializer.cs:line 106  
       at Microsoft.Practices.Composite.Modularity.ModuleInitializer.Initialize(ModuleInfo moduleInfo) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleInitializer.cs:line 68  
       at Microsoft.Practices.Composite.Modularity.ModuleManager.InitializeModule(ModuleInfo moduleInfo) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleManager.cs:line 248  
       at Microsoft.Practices.Composite.Modularity.ModuleManager.LoadModulesThatAreReadyForLoad() in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleManager.cs:line 209  
       at Microsoft.Practices.Composite.Modularity.ModuleManager.LoadModuleTypes(IEnumerable`1 moduleInfos) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleManager.cs:line 168  
       at Microsoft.Practices.Composite.Modularity.ModuleManager.LoadModulesWhenAvailable() in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleManager.cs:line 142  
       at Microsoft.Practices.Composite.Modularity.ModuleManager.Run() in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleManager.cs:line 71  
       at Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper.InitializeModules() in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.UnityExtensions\UnityBootstrapper.cs:line 239  
       at Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.UnityExtensions\UnityBootstrapper.cs:line 112  
       at Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper.Run() in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.UnityExtensions\UnityBootstrapper.cs:line 69  
       at VistaAdmin.Shell.App.RunInDebugMode() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Shell\App.xaml.cs:line 44  
       at VistaAdmin.Shell.App.OnStartup(StartupEventArgs e) in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Shell\App.xaml.cs:line 25  
       at System.Windows.Application.<.ctor>b__0(Object unused)  
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)  
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)  
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()  
       at System.Threading.ExecutionContext.runTryCode(Object userData)  
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)  
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  
       at System.Windows.Threading.DispatcherOperation.Invoke()  
       at System.Windows.Threading.Dispatcher.ProcessQueue()  
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)  
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)  
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)  
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)  
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)  
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)  
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)  
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)  
       at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)  
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)  
       at System.Windows.Application.RunInternal(Window window)  
       at VistaAdmin.Shell.App.Main() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Shell\obj\Debug\App.g.cs:line 0  
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)  
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()  
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  
       at System.Threading.ThreadHelper.ThreadStart()  
  InnerException: System.InvalidCastException  
       Message="Unable to cast object of type 'VistaAdmin.Help.Presentation.HelpView' to type 'Telerik.Windows.Controls.RadPane'." 
       Source="Telerik.Windows.Controls.Docking" 
       StackTrace:  
            at Telerik.Windows.Controls.RadPaneGroup.OnItemsChanged(NotifyCollectionChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadPaneGroup.cs:line 964  
            at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)  
            at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)  
            at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)  
            at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)  
            at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)  
            at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)  
            at MS.Internal.Controls.InnerItemCollectionView.Add(Object item)  
            at System.Windows.Controls.ItemCollection.Add(Object newItem)  
            at Telerik.Windows.Controls.RadSplitContainer.PrepareContainerForItemOverride(DependencyObject element, Object item) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadSplitContainer.cs:line 673  
            at System.Windows.Controls.ItemsControl.MS.Internal.Controls.IGeneratorHost.PrepareItemContainer(DependencyObject container, Object item)  
            at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.PrepareItemContainer(DependencyObject container)  
            at System.Windows.Controls.Panel.addChildren(GeneratorPosition pos, Int32 itemCount)  
            at System.Windows.Controls.Panel.OnItemsChangedInternal(Object sender, ItemsChangedEventArgs args)  
            at System.Windows.Controls.Panel.OnItemsChanged(Object sender, ItemsChangedEventArgs args)  
            at System.Windows.Controls.ItemContainerGenerator.OnItemAdded(Object item, Int32 index)  
            at System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)  
            at System.Windows.Controls.ItemContainerGenerator.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)  
            at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)  
            at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)  
            at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)  
            at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)  
            at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)  
            at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)  
            at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)  
            at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)  
            at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)  
            at System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(NotifyCollectionChangedEventArgs args, Int32 adjustedOldIndex, Int32 adjustedNewIndex)  
            at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)  
            at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedAction action, Object item, Int32 index)  
            at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)  
            at System.Collections.ObjectModel.Collection`1.Add(T item)  
            at MS.Internal.Data.EnumerableCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)  
            at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)  
            at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.Presentation\Regions\ViewsCollection.cs:line 102  
            at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.AddAndNotify(IList items) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.Presentation\Regions\ViewsCollection.Desktop.cs:line 30  
            at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.UnderlyingCollection_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.Presentation\Regions\ViewsCollection.cs:line 142  
            at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)  
            at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedAction action, Object item, Int32 index)  
            at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)  
            at System.Collections.ObjectModel.Collection`1.Add(T item)  
            at Microsoft.Practices.Composite.Presentation.Regions.Region.InnerAdd(Object view, String viewName, IRegionManager scopedRegionManager) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.Presentation\Regions\Region.cs:line 313  
            at Microsoft.Practices.Composite.Presentation.Regions.Region.Add(Object view, String viewName, Boolean createRegionManagerScope) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.Presentation\Regions\Region.cs:line 218  
            at Microsoft.Practices.Composite.Presentation.Regions.Region.Add(Object view) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite.Presentation\Regions\Region.cs:line 189  
            at VistaAdmin.Help.Applications.ModuleController.ShowHelpView() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Help\Applications\ModuleController.cs:line 55  
            at VistaAdmin.Help.Applications.ModuleController.ShowContents() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Help\Applications\ModuleController.cs:line 62  
            at VistaAdmin.Help.Applications.ModuleController.Initialize() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Help\Applications\ModuleController.cs:line 47  
            at VistaAdmin.Help.Module.Initialize() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\VistaAdmin\VistaAdmin.Help\Module.cs:line 34  
            at Microsoft.Practices.Composite.Modularity.ModuleInitializer.Initialize(ModuleInfo moduleInfo) in D:\Application Installs\Composite Controls 2009\CAL\Desktop\Composite\Modularity\ModuleInitializer.cs:line 64  
       InnerException:   
 
Miroslav Nedyalkov
Telerik team
 answered on 01 Mar 2010
3 answers
190 views
hi guys,
what's up?

i have to following WPF window:
xmlns:radDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" 
    xmlns:radNav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:radInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
    Title="Window1" Height="700" Width="900"
    <Grid> 
        <Grid.RowDefinitions> 
            <RowDefinition Height="auto" /> 
            <RowDefinition Height="auto" /> 
            <RowDefinition Height="*" /> 
            <RowDefinition Height="auto" /> 
        </Grid.RowDefinitions> 
         
        <radNav:RadMenu Grid.Row="0"
            <radNav:RadMenuItem Header="Menu Category #1"
                <TextBlock> Menu Item #1 </TextBlock> 
            </radNav:RadMenuItem> 
            <radNav:RadMenuItem Header="Menu Category #2"
                <TextBlock> Menu Item #2</TextBlock> 
            </radNav:RadMenuItem> 
            <radNav:RadMenuItem Header="Menu Category #3"
                <TextBlock> Menu Item #3</TextBlock> 
            </radNav:RadMenuItem> 
        </radNav:RadMenu> 
         
        <ScrollViewer CanContentScroll="False" HorizontalScrollBarVisibility="Auto" 
                      VerticalScrollBarVisibility="Auto" Grid.Row="1"
            <radNav:RadToolBar> 
                <telerik:RadWrapPanel> 
                    <telerik:RadButton>ToolBar Item #1</telerik:RadButton> 
                    <telerik:RadButton>ToolBar Item #2</telerik:RadButton> 
                </telerik:RadWrapPanel> 
                <radNav:RadToolBarSeparator/> 
                <telerik:RadWrapPanel> 
                    <telerik:RadButton>ToolBar Item #3</telerik:RadButton> 
                    <telerik:RadButton>ToolBar Item #4</telerik:RadButton> 
                </telerik:RadWrapPanel> 
            </radNav:RadToolBar> 
        </ScrollViewer> 
         
        <DockPanel Grid.Row="2"
            <telerik:RadExpander ExpandDirection="Left" IsExpanded="True" DockPanel.Dock="Right"
                <ScrollViewer CanContentScroll="False" HorizontalScrollBarVisibility="Auto" 
                              VerticalScrollBarVisibility="Auto"
                    <StackPanel VerticalAlignment="Top" HorizontalAlignment="Left"
                        <telerik:RadButton/> 
                    </StackPanel> 
                </ScrollViewer> 
            </telerik:RadExpander> 
             
            <radDock:RadDocking x:Name="MainDockingControl" FlowDirection="RightToLeft" DockPanel.Dock="Top"
                 
                <radDock:RadDocking.DocumentHost> 
                    <radDock:RadSplitContainer> 
                        <radDock:RadPaneGroup Name="pngMainInDocumentHost" > 
                            <radDock:RadPane Header="pane #1"
                                <StackPanel> 
                                    <telerik:RadButton Name="CreateNewFloat"
                                        Creat New Float Pane 
                                    </telerik:RadButton> 
                                     
                                    <GroupBox> 
                                        <GroupItem> 
                                        <StackPanel> 
                                            <telerik:RadRadioButton>Radio Button #1</telerik:RadRadioButton> 
                                            <telerik:RadRadioButton>Radio Button #1</telerik:RadRadioButton> 
                                            <telerik:RadRadioButton>Radio Button #1</telerik:RadRadioButton> 
                                            <telerik:RadRadioButton>Radio Button #1</telerik:RadRadioButton> 
                                        </StackPanel> 
                                        </GroupItem> 
                                    </GroupBox> 
                                </StackPanel> 
                            </radDock:RadPane> 
                             
                            <radDock:RadPane Header="pane #2"
                                <TextBlock> This Is Pane #2 </TextBlock> 
                            </radDock:RadPane> 
                             
                            <radDock:RadPane Header="pane #3"
                                <TextBlock> This Is Pane #3</TextBlock> 
                            </radDock:RadPane> 
                        </radDock:RadPaneGroup> 
                    </radDock:RadSplitContainer> 
                </radDock:RadDocking.DocumentHost> 
            </radDock:RadDocking> 
             
            <radDock:RadDocking FlowDirection="RightToLeft" DockPanel.Dock="Bottom"
                <radDock:RadDocking.DocumentHost> 
                    <radDock:RadSplitContainer> 
                        <radDock:RadPaneGroup> 
                            <radDock:RadPane Header="Bottom Docked Control - Pane #1"
                                <StackPanel> 
                                    <TextBlock>Bottom Docked Control - Pane #1</TextBlock> 
                                     
                                    <radInput:RadDatePicker Name="myDatePicker" /> 
                                    <Label Content="{Binding ElementName=myDatePicker, Path=SelectedDate}" /> 
                                </StackPanel>                                 
                            </radDock:RadPane> 
 
                            <radDock:RadPane Header="Bottom Docked Control - Pane #2"
                                <TextBlock>Bottom Docked Control - Pane #2</TextBlock> 
                            </radDock:RadPane> 
 
                            <radDock:RadPane Header="Bottom Docked Control - Pane #3"
                                <TextBlock>Bottom Docked Control - Pane #3</TextBlock> 
                            </radDock:RadPane> 
                        </radDock:RadPaneGroup> 
                    </radDock:RadSplitContainer> 
                </radDock:RadDocking.DocumentHost> 
            </radDock:RadDocking> 
        </DockPanel> 
         
        <radNav:RadToolBar Grid.Row="3"
            <telerik:RadSlider Width="100" Value="1" Orientation="Horizontal" HandlesVisibility="Visible" 
                               HorizontalAlignment="Left" Maximum="10" LargeChange="1" Minimum="1" 
                               IsMoveToPointEnabled="False"/> 
            <radNav:RadToolBarSeparator/> 
            <Label Content="Some Content" /> 
            <radNav:RadToolBarSeparator/> 
            <ProgressBar Value="30"/> 
        </radNav:RadToolBar> 
    </Grid> 

in the bottom dock control i take one pane and dock it to the right (doesn't matter how you dock it)
when i try to resize the pane with the splitter between the pane and the DocumnetHost the splitter reacts opposite 
to my mouse pointer.
any suggestions?

thanks in advance,

Lior.
Miroslav Nedyalkov
Telerik team
 answered on 01 Mar 2010
1 answer
117 views
Hi..
When I set the SelectedItem... it does not change... any ideas... thanks

I'm trying to find a specific item in grid and set that item to the SelectedItem..      Is the following code the correct method...?
The object is found but the selecteditem does not get set.

   List<inv_mstr> lstFind = this.grid.ItemsSource as List<inv_mstr>;

 

                List<inv_mstr> lstFind2 = (lstFind.Where(i => i.inv_no == Convert.ToInt32(sch.ApptID)).Take(1)).ToList();

 

                this.grid.OnApplyTemplate();

 

                this.grid.SelectedItem = lstFind2.Take(1);

Milan
Telerik team
 answered on 01 Mar 2010
1 answer
98 views
Any plans on providing controls for use within Microsoft Surface Solutons?
Nikolay
Telerik team
 answered on 01 Mar 2010
1 answer
108 views
Hi,
I would like to select the entire row on clicking the row header (Navigation column). How do we achieve this? Currently the current row is not changing on clicking the row header

Thanks in Advance
Milan
Telerik team
 answered on 01 Mar 2010
5 answers
146 views
is there a way to force the grid to only select a single row even in child tables

what seems to be happening (2010 Q1) is that i can select a row in the parent table and also select a row in the child even though i have selectionmode set to single

Milan
Telerik team
 answered on 01 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?