Telerik Forums
UI for WPF Forum
1 answer
65 views
I'm porting from DataGridView to RadGridView and I am currently having problems with the validation logic in the RadGridView. I want to add the new item to the ViewModel collection directly after "Click here to add new item" has been invoked, but since the item has validation errors exposed through IDataErrorInfo, the RadGridView wont commit. How can I alter the behaviour of the RadGridView to commit new rows to the datasource directly after creation of a new row?
Maya
Telerik team
 answered on 16 Dec 2010
1 answer
695 views
How can I Wrap a Cell content in a Grid while Resizing the column. If a size of a colum goes smaller the cell text must be wrap in downward / Upward direction , So that whole text in a cell will be shown.
Maya
Telerik team
 answered on 16 Dec 2010
1 answer
84 views
Hi,

Is there any way to drag group separator to expand width of some specific groups important for end user?

Thanks,
Anatoly
George
Telerik team
 answered on 16 Dec 2010
1 answer
197 views
Hi.
The follow error exist in Docking control:
Insufficient memory to continue the execution of the program.

StackTrace:
at System.Windows.Media.Composition.DUCE.Channel.SyncFlush() at
System.Windows.Media.Composition.DUCE.CompositionTarget.UpdateWindowsSetting
s(ResourceHandle hCompositionTarget, RECT windowRect, Color colorKey, Single
constantAlpha, MILWindowLayerType windowLayerType, MILTransparencyFlags
transparencyMode, Boolean isChild, Boolean isRTL, Boolean renderingEnabled,
Int32 disableCookie, Channel channel)
at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean
enableRenderTarget, Nullable´1 channelSet)
at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean
enableRenderTarget)
at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr IParam)
at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam,
IntPtr Iparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd,
Int32 msg, IntPtr wParam, IntPtr wParam, IntPtr IParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam,
IntPtr IParam, 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)


Scenary: The application have three view using outlookbar control(outlookbar control doesn´t belong to telerick). Each outlookbar button load a wpf
project of dynamic way using reflexion.
When switch views appears the error (the render the view)
We had debugging and separating the controls. when the docking control was changed by a grid control  the error not appeared.

Platform is: 
 Application  WPF  Over Window 2003 Server sp2 and Framework 3.5 sp1-
Using Application as desktop remote application
RadControl Docking QA 1 or QA2 for 3.5 framework

I hope anwer
George
Telerik team
 answered on 16 Dec 2010
4 answers
309 views
Hi,

I have two radpanes in RadDocking control. I have set serialization tag for both the RadPanes but still ElementLoading event is not getting fired.

Here is code :

<

 

 

telerik:RadDocking x:Name="radDocking" PaneStateChange="radDocking_PaneStateChange" ElementLoading="radDocking_ElementLoading">

 

 

 

 

<telerik:RadSplitContainer x:Name="radSplitContainer" InitialPosition="DockedRight" telerik:RadDocking.SerializationTag="splitcontainer">

 

 

 

 

<telerik:RadPaneGroup x:Name="radPaneGroup" AllTabsEqualHeight="True" telerik:RadDocking.SerializationTag="Group">

 

 

 

 

<telerik:RadPane x:Name="radPane1" Header="Pane 1" CanUserClose="False" CanDockInDocumentHost="False" telerik:RadDocking.SerializationTag="Pane1" >

 

 

 

 

<TextBlock Text="Pane 1"/>

 

 

 

</telerik:RadPane>

 

 

 

 

<telerik:RadPane x:Name="radPane2" Header="Pane 2" CanUserClose="False" CanDockInDocumentHost="False" telerik:RadDocking.SerializationTag="Pane2" >

 

 

 

 

<TextBlock Text="Pane2"/>

 

 

 

</telerik:RadPane>

 

 

 

 

</telerik:RadPaneGroup>

 

 

 

 

</telerik:RadSplitContainer>

 

 

 

 

</telerik:RadDocking>


Please help me out.

 

George
Telerik team
 answered on 16 Dec 2010
5 answers
108 views
I am geting a null ref exception when draging appointments

{"Object reference not set to an instance of an object."}
  
at Telerik.Windows.Controls.ScheduleViewBase.HaveSameElements[T](IEnumerable`1 c1, IEnumerable`1 c2) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.DragDrop.cs:line 228
   at Telerik.Windows.Controls.ScheduleView.Slot.Equals(Object obj) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Selection\Slot.cs:line 80
   at Telerik.Windows.Controls.ScheduleViewBase.HaveSameElements[T](IEnumerable`1 c1, IEnumerable`1 c2) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.DragDrop.cs:line 228
   at Telerik.Windows.Controls.HighlightPanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q3\Sources\Development\Controls\ScheduleView\ScheduleView\Selection\HighlightDecorationsPanel.cs:line 82
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   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.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   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.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, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, 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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at Escalasv01.App.Main() in C:\Work\BT\Escalasv0.1\Escalasv0.1\obj\x86\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   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()
nuno
Top achievements
Rank 1
 answered on 16 Dec 2010
4 answers
391 views
Hi,

Hope someone can help me with this issue that I'm facing right now.

I'm trying to implement some behaviours in calculated columns (which are not Expression columns by the way). The goal is to have the last column value returned by the business layer based in the other column values. 

I'm actually setting the DataContext as a DataView (DataTable.DefaultView), but when I try to programmatically make any change to the DataContext, the last column value doesn't actually refresh (visually) until I change to another row. 

I thought that using DefaultView, and since it implements the INotifyPropertyChanged, the row being edited would be refreshed automatically. But in fact that doesn't happen in this case.

Converters and Expression columns are not exactly an option (at least I think so), since I send the grid's DataContext back to my Business layer where I set the last column value for each row.

Help would be extremely appreciated.



Miguel Peixoto
Top achievements
Rank 1
 answered on 16 Dec 2010
1 answer
188 views

Hi,

simple questions...

1) are there any limitations on the sand chart on number of layers it can have?
2) Can we have a context menu on the bar chart or sand chart menu?
3) On the sand chart, can we have a drill down chart on mouse hover?
4) can sub charts (on mouse hover to chart series) have drilldown?

Thanks,

Evgenia
Telerik team
 answered on 16 Dec 2010
2 answers
128 views

 

Hi !

I am using telerik datagird and docking APIs for my application. I need to create a popup window when a certain events gets trigger in my application and I want the popup window to looks exactly like Telerik. The only control for the popup I am interested is to be able to close the popup using "X" and an option to pin the popup to the canvas of my application and able to scroll the content in the popup..

1. Can you let me know if there is a way I can create an custom window for my popup with the functionality mentioned above using telerik which will not impact the performance of my application by allot because I am planning to have many of these popup pinned to my canvas at a time.

2. I created a prototype using telerik docking API to create a popup but I am not sure if it will performance heavy on my application. Please look at the code and let me know if can impact performance on my application if I have may popup open.

<

 

 

StackPanel>
 <
telerikDocking:RadDocking>
  <
telerikDocking:RadPaneGroup>
   <
telerikDocking:RadPane Header="Fiber PopUp." ContextMenuTemplate="{x:Null}">
    <
TextBlock Text="This is a test " />
   </
telerikDocking:RadPane>
  </
telerikDocking:RadPaneGroup>
 </
telerikDocking:RadDocking>
</
StackPanel>

3. If I have to create my own custom window, what is the color code of the telerik boarder. It is bleu but I need the exact color code to have a similar window to telerik.


Your help will greatly appreciated,

Thanks a lot,

Sonia

George
Telerik team
 answered on 16 Dec 2010
6 answers
290 views
When we use a RadDateTimePicker you can open the calender and choose a date by using the keyboard (arrows) and the mouse.
The calendar closes when pushing ENTER, Escape or when clicking out of the box. 

Most DatePickers also closes when clicking on a new date or when double-clicking on a new date.
How could we do this in the RadDateTimePicker when the control has InputMode="DatePicker"?
Kaloyan
Telerik team
 answered on 16 Dec 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?