Telerik Forums
UI for WPF Forum
1 answer
146 views
How do I remove the huge spacing between the items inside the rad panel bar item?

Attached is the screen capture of the items inside. 

Thanks
Evgenia
Telerik team
 answered on 15 Jul 2014
3 answers
73 views
HI,

While renaming the specific node,it is taking lengthy string value.There is no limited text(how to give limited String) for RadTreeView item.Please find the below screenshot.

regards,
Ranjith
Martin Ivanov
Telerik team
 answered on 15 Jul 2014
1 answer
355 views
Hello there,

I`ll first explain my requirement.

I have a CustomControl deriving from  RadDiagramShapeBase that act as a symbol .Now i am adding customcontrol to a radDiagram.

On double clicking the customcontrol a new window popups that contains various textboxes that defines the symbol for eg: if symbol is a person,then the mainwindow consist of attributes eg name,ssn,address etc.

the mainwindow follows mvvm its has its respective viewmodel and model.

Now my problem:

I am  serializing the application state as two files,First the diagram (view level): I am serializing the radDiagram that consist of customcontrol (symbol) as a string. ( model level): I am serializing mainview`s model as binary serialization  as a seperate file.

Now this becomes a very difficult for me manage two file because i have to zip it into single file then unzip it and this process is not safe.
(Also i have to depend on 3rd party unzip tools!!!!)
 
My Requirement

SO is there any way so that i can serialize my attribute in the customcontrol (symbol) itself along with the radDiagram as  a single file i.e along with the diagram.

Or 

Can You provide me  any idea to achieve my result!!!!!


Thanks and Regards,
Abhinav



Pavel R. Pavlov
Telerik team
 answered on 15 Jul 2014
4 answers
172 views
Hi,

I have two questions I want to ask about your GanttView:
1. For Summary Tasks, is there a built-in way to have the Start and End dates automatically calculate based on the minimum and maximum child dates?
2. Is there a way for certain columns to automatically fill the remaining width of a window. Like the * does in GridView's.

Thanks
Polya
Telerik team
 answered on 15 Jul 2014
3 answers
60 views
Hi Telerik,

I have recently seen my application crash a couple of times. Thought it was due to my code but i am not sure it is.

The application logs exceptions and in my log i found what you see on the attached image.

I have only seen this error on 1 machine and i think it happens when i am adding lineseries data to a graph.

This machine has the following specs: Windows 7 Professional 64 bit, 4 GBRAM and Intel Core 2 Duo U9600 1.6GHz.

Please tell me if there is more you need to know :)

Best regards,
Jeppe
Petar Marchev
Telerik team
 answered on 15 Jul 2014
2 answers
233 views
Is there a way to reorder the tabs by dragging one?
In the same way can we convert a tab in a window by dragging it out and convert a window in a tab by dragging it inside?

I'd like to reproduce a google chrome behaviour with tabs..
Pavel R. Pavlov
Telerik team
 answered on 15 Jul 2014
2 answers
474 views
Hello,

I am trying to set the color of the text in the GroupHeaderRow of my gridview. 
Both the title of the group (value of the column grouped) and the text of the aggregate functions.

When I use the office black theme, everything is in black and when I use the windows 8 theme, the aggregate function text is in blue.

I use a GroupRowStyleSelector :

<cstyle:ReconReportStyle x:Key="styleGroupHeaderRow">
            <cstyle:ReconReportStyle.UnmatchedStyle>
                <Style TargetType="telerik:GroupHeaderRow">
                    <Setter Property="Background" Value="Red"/>
                    <Setter Property="Foreground" Value="Pink"/>                     <!--  this setter does not change anything-->
                </Style>....


<telerik:RadGridView ...
GroupRenderMode="Flat"
GroupRowStyleSelector="{StaticResource styleGroupHeaderRow}"
</....>


 What should I do ?








Loic
Top achievements
Rank 1
 answered on 15 Jul 2014
4 answers
224 views
hello there,
I want to get Commmand Object pass into the custom attached property with this control but then there is no result, but when I used the built in .net ContextMenu is okay, I'm trying to get this done in MVVM way is there any suggestion or ideas?

Juzailie
Top achievements
Rank 2
 answered on 15 Jul 2014
6 answers
185 views
I have a master detail screen using gridviews.

When a new master row is saved, the server creates detail rows, but the detail gridview does not display/retrieve these new rows until a different master row is selected and then the new master row is again selected.

How can I get the detail gridview to retrieve these new rows as soon as the save is done?

Putting detailDataSource.Refresh() after the masterDataSource.SubmitChanges() does not work.

Thanks. (This is in a MVVM system btw).
Yoan
Telerik team
 answered on 14 Jul 2014
3 answers
135 views
hi there,

I've got a problem in adding some Data items to RadTreeView's DataContext. Here is the code and descriptions:

in My XAML side, I've added a RadTreeView like this:

<telerik:RadTreeView x:Name="trvGeoDevisions" Grid.Row="1" Margin="0,15,0,0" HorizontalContentAlignment="Stretch" IsVirtualizing="True" IsExpandOnSingleClickEnabled="True"><br>            <telerik:RadTreeViewItem x:Name="TrootItem"  IsExpanded="True"><br>                <telerik:RadTreeViewItem.Header><br>                    <StackPanel><br>                        <TextBlock Text="Geo Devisions"/><br>                        <telerik:RadWatermarkTextBox x:Name="txtNewCountry" WatermarkContent="New Country..." Style="{StaticResource tk}" KeyDown="txtNewCountry_KeyDown"/><br>                    </StackPanel><br>                </telerik:RadTreeViewItem.Header><br>                <telerik:RadTreeViewItem.ItemTemplate><br>                    <HierarchicalDataTemplate ItemsSource="{Binding GeographicalDevisions}"><br>                        <Grid Margin="0,10,0,0"><br>                            <StackPanel><br>                                <TextBlock Text="{Binding Path=Name}" /><br>                                <telerik:RadWatermarkTextBox x:Name="txtNewEntry" WatermarkContent="{Binding Path=Type,Converter={StaticResource wp},ConverterParameter='New 1...'}" Visibility="{Binding Type.Types.Count,Converter={StaticResource numberToVisiblity}}" Style="{StaticResource tk}" KeyDown="txtNewEntry_KeyDown" <br>                                                             Tag="{Binding Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadTreeViewItem}}}" /><br>                            </StackPanel><br>                        </Grid><br>                    </HierarchicalDataTemplate><br>                </telerik:RadTreeViewItem.ItemTemplate><br><br>            </telerik:RadTreeViewItem><br>        </telerik:RadTreeView><br>

I want to add some Items when user types something in RadWatermark and presses Enter key, Thus I Write the following code:
 Private Sub txtNewEntry_KeyDown(sender As Object, e As KeyEventArgs)<br>        If e.Key = Key.Enter Then<br>            Dim control = CType(sender, Telerik.Windows.Controls.RadWatermarkTextBox)<br>            Dim GeoDev = CType(control.DataContext, GeographicalDevision)<br>            Dim tag As Telerik.Windows.Controls.RadTreeViewItem = control.Tag<br><br>            Dim nEntry As New GeographicalDevision With {.Name = control.Text, .ParentGeographicalDevision = GeoDev, .Type = GeoDev.Type.Types(0)}<br>            GeoDev.GeographicalDevisions.Add(nEntry)<br><br>            control.Clear()<br>        End If<br>    End Sub

The Sub runs successfully but right after End Sub, I got this Error in Sub Main of Application:

​Object reference not set to an instance of an object.
Source: Telerik.Windows.Controls.Navigation
HResult: -2147467261
StackTrace:    at Telerik.Windows.Controls.TreeView.TreeViewPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
   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.RenderMessageHandler(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.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   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.LegacyInvokeImpl(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 Shoniz.HRMS.HRMSApplication.Application.Main() in E:\6. HRMS Application\HRMSApplication\HRMSApplication\obj\Debug\Application.g.vb:line 77
   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.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


WHAT'S WRONG WITH ME?
Martin Ivanov
Telerik team
 answered on 14 Jul 2014
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
SplashScreen
Rating
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?