Telerik Forums
UI for WPF Forum
3 answers
272 views
Hi,
  I have a telerik gridview control in wpf. I want to highlight the cells, which are going to be edited. I have a CellValidating eventhandler, inside the event I have written the code >

               GridViewCell cell = e.Cell;
                cell.Background = Brushes.Red;

Then also, the color of cell is not changing. Can any one please help me to resolve this issue. Thanks in advance..

Regards,
Rajeev Kumar
rajeev kumar
Top achievements
Rank 1
 answered on 02 Feb 2010
1 answer
102 views
Hi all,

I applied conditional properties to GridViewGroupRows via the Level property and Property Triggers - however I can't seem to find a similar property for IndentCells.

Is it possible to set conditional properties for the indent cell at different levels? Ie. I would like to have no borders for the indent cells at level 0, 1 - however I would like a right border for the rows in level 2. How would I do this?

Regards,

Tim.
Kalin Milanov
Telerik team
 answered on 01 Feb 2010
5 answers
164 views
Hi Telerik Team,

I'm exploring the features of Telerik  controls using the latest Q3 Trial version (November Release). I'm wondering, is there a DateTimePicker control I can use in WPF application? I can found DatePicker and TimePicker as two seperate controls but my need is a single control.

Thanks in advance,
NK

Kaloyan
Telerik team
 answered on 01 Feb 2010
1 answer
350 views
Hi,

We are trying to use the Telerik controls for development of applications that can integration into SAP Business One. In order to do that, we wanted to use the control into an ActiveX object, and then use that object inside of the SAP SDK on custom forms. We have been able to get the Telerik control into an ActiveX DLL, the use that DLL on a Windows form.

However, when we try to use the same ActiveX DLL inside of the SAP System and try to set the ClassID property of the SAP SDK ActiveX object, which requires the ProgID or GUID of the ActiveX object, and pass the reference, the .NET program is throwing an exception.

If anyone has taken this approach with a Telerik control (through an ActiveX DLL) in an environment like SAP Business One, and can assist in what could be causing this issue, please post any pertinent information.

Thanks.

 

Giuseppe
Telerik team
 answered on 01 Feb 2010
1 answer
142 views
When I call ShowDialog() on a RadWindow in a standard WPF application then ShowDialog returns when the user closes the RadWindow. When I'm running my application as XBAP in the browser then ShowDialog returns immediately.

Is this an intentional behaviour? If so, what do I have to do to display a modal dialog in a XBAP environment?

Regards,
Michael
Miroslav Nedyalkov
Telerik team
 answered on 01 Feb 2010
6 answers
204 views
Has anyone found a way to force the minimum/initial size on tiles when you load them from a dataset? Following the online examples I set up the item template and content template, but it doesn't seem to matter what I set the minimum height and width to, the tiles resize so they all fit in the allocated window size, which causes an issue when I try to put 50 tiles in a 400 x 400 control. I tried wrapping a scroll viewer around it and letting it grow in that, but no luck.

Any thoughts or insight would be greatly appreciated.

Thanks!
Jan
Top achievements
Rank 1
 answered on 01 Feb 2010
4 answers
136 views
Hi,

When I do the following actions:
1. Add a new row 
2. Start to edit a cell
3. Start to tab to the next cell
then I get the following error message:

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.BringIndexIntoView(Int32 index) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewVirtualizingPanel.BringIntoView.cs:line 29
   at Telerik.Windows.Controls.GridView.GridViewDataControl.ScrollIntoViewRecursive(FrameworkElement element, Stack`1 itemStack, Action`1 scrollFinishedCallback) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.Scrolling.cs:line 252
   at Telerik.Windows.Controls.GridView.GridViewDataControl.ScrollRowIntoViewInternal(Object dataItem, Action`1 scrollFinishedCallback) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.Scrolling.cs:line 191
   at Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass69.<ScrollIntoViewAsync>b__68() in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.Scrolling.cs:line 94
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Thomas
Top achievements
Rank 1
 answered on 29 Jan 2010
1 answer
64 views
Hello,
    I set the IsReadonly property of the grid to true. When I than try to set a column to writeable (gridname.Columns[0].IsReadOnly = false) it stays protected.
To get around this I set the grid's IsReadOnly propery to false and than protect certain columns by executing 
gridname.Columns[<Position of column to protect>].IsReadOnly = true

It would make more sense to allow the programmer to override the protection of the entire grid.
Nedyalko Nikolov
Telerik team
 answered on 29 Jan 2010
2 answers
76 views
Is it possible today in the GridView to provide a menu in the column header that will turn on and off summary functions for columns? I can provide a way for my users to do this, but if there is built in support I would like to use it.

Thanks,
Mike
Mike Cohen
Top achievements
Rank 1
 answered on 29 Jan 2010
1 answer
98 views
We're using the radtreeview and on the Selected event we fire off some asyncronous functionality that changes the underlying tree itemsource. The problem we're having is we're getting a null ref exception at the location below (see stack trace at the bottom).  We've tried previewSelected and get the same result there.  Our current workarond (not ideal) is to do our processing on MouseUp.  It appears that as we've removed the selected item the tree code isn't checking whether this is null.

Stack trace:
Telerik.Windows.Controls.RadTreeViewItem.HandleSingleClickFunctionality() in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TreeView\RadTreeViewItem.Events.cs:line 374
   at Telerik.Windows.Controls.RadTreeViewItem.OnHeaderMouseLeftButtonUp(Object sender, MouseEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TreeView\RadTreeViewItem.Events.cs:line 369
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   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.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at LV.Vots.Windows.Desktop.App.Main()
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Bobi
Telerik team
 answered on 29 Jan 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?