Telerik Forums
UI for WPF Forum
1 answer
156 views
Hello,

I have a RadGridView and need to remove tooltip that appears when scrolling using the slider bar; I think it is called the ScrollPositionIndicator. I have managed to change the column it targets with a new ScrollPositionIndicatorTemplate but I am struggling to remove it entirely. Is there a property I can set to false to make this tooltip not visible?

thanks
Alex
Top achievements
Rank 1
 answered on 20 Feb 2013
12 answers
732 views
Hello,
in a RadGridView I've some rows that have a field value D and other B, I need to show in the ColunFooter a

Total D :
Total B:

and in another column

Total D value (€)
Total B value (€)

I've tried myself creating a sumfunction but I don't know if I've to create two different (1 for B and 1 for D) or what... can you please provide me a sample?

Thanks
MiddleTommy
Top achievements
Rank 1
 answered on 19 Feb 2013
4 answers
189 views
Hello,

Now I'm working on localization about DataGrid. And I'm using WPF Localization Extension for multi-language supporting.
At this time I need to change texts for each headers, but It doesn't work.
Below is my code for localization.

<telerik:GridViewDataColumn DataMemberBinding="{Binding}" HeaderCellStyle="{StaticResource  GridViewHeaderCellBasic}">
    <telerik:GridViewDataColumn.Header>
        <TextBlock Text="{lex:Loc LINETOTAL}" TextWrapping="Wrap" />
    </telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>

In the above code, {lex:Loc LINETOTAL} means multi-lange ID for Localization. The text of Column header should changed to above text which is linked to LINETOTAL.
But the header text is not showing.

Can you help me out for this problem?

Thank you.
KyungTaek
Top achievements
Rank 1
 answered on 19 Feb 2013
2 answers
136 views
How hard is it to make one of the telerik gauges look like the CPH gauge in the attached screenshot?
Wade
Top achievements
Rank 1
 answered on 19 Feb 2013
10 answers
1.2K+ views
Is there a way to set the header to be multi line
when the text is long
Thanks.
Vlad
Telerik team
 answered on 19 Feb 2013
4 answers
430 views
Hello Telerik Team
I need a example to add programmatically subitems to your  wpf controls example of section "appearance -> Customization".
I try to follow your databind example. 
My steps was 
I Create a menuitem class and all of styles like your example
then i add 
<HierarchicalDataTemplate x:Key="MenuItemTemplate"
                                  ItemsSource="{Binding SubItems}">
            <TextBlock Text="{Binding Text}" />
        </HierarchicalDataTemplate>
after that i add the radmenu
<telerik:RadMenu x:Name="RadMenu"  ItemTemplate="{StaticResource MenuItemTemplate}"  Style="{StaticResource MenuStyle}" Grid.Row="1"   ItemContainerStyleSelector="{StaticResource MainWindowItemStyleSelector}" ItemContainerStyle="{x:Null}"  BorderThickness="0" Margin="30,0,0,0" ItemClick="OnRadMenuItemClick">
       
All its fine until here  but when i add ItemContainerStyleSelector="{StaticResource MainWindowItemStyleSelector}"
then subitems disappear can explain me what happend? 


Thanks
Sujiyama
Top achievements
Rank 1
 answered on 19 Feb 2013
1 answer
145 views
Hello!

I use RadBook with FixedDocumentSinglePagePresenter to show pdf documents, it works fine but I have problem: I want to handle clicks on links inside pdf, these links are internal. I know that FixedDocumentSinglePagePresenter can't handle clicks on links yourself, so I have to do it manually. I checked class RadFixedDocument and found that it have property Annotations that contains list of links with coords and sizes. It is good but problem is that I can't find info about link's desinations: each item has empty fields Action and Destination. Is there way to determine destination for internal links?
P.S. I tested on this pdf: http://compositewpf.codeplex.com/downloads/get/166638#
Petya
Telerik team
 answered on 19 Feb 2013
5 answers
326 views
Hello, I'm using Q3 WPF components for the framework 4.
I'm currently switching the app theme dynamically by clearing the merged dictionnay re-adding:
"/Telerik.Windows.Themes.ThemName;component/Themes/System.Windows.xaml"
"/Telerik.Windows.Themes.ThemName;component/Themes/System.Controls.xaml"
"/Telerik.Windows.Themes.
ThemName;component/Themes/System.Controls.Docking.xaml"
"/Telerik.Windows.Themes.
ThemName;component/Themes/System.Controls.GridView.xaml"
"/Telerik.Windows.Themes.
ThemName;component/Themes/System.Navigation.xaml"
"/Telerik.Windows.Themes.ThemName;component/Themes/System.Data.xaml"
"/Telerik.Windows.Themes.ThemName;component/Themes/System.Controls.RibbonView.xaml"

I'm working on a new user control which works fine with all themes, but as soon as I switch to Expression Dark I get the following:
System.Windows.Markup.XamlParseException was unhandled
      Message=Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception.
      Source=PresentationFramework
      ....     ...
      Message=Cannot find resource named 'TextBoxBorder_Disabled'. 

(Sorry for the lengthy error...) 
I would greatly appreciate any hint...
here's the whole thing:


System.Windows.Markup.XamlParseException was unhandled
  Message=Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception.
  Source=PresentationFramework
  LineNumber=0
  LinePosition=0
  StackTrace:
       at System.Windows.Markup.XamlReader.RewrapException(Exception e, Uri baseUri)
       at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
       at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
       at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
       at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
       at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
       at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
       at System.Windows.FrameworkElement.ApplyTemplate()
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.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.ContentPresenter.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.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.ContentPresenter.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Control.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.ContentPresenter.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.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.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at ABC_WPF.Application.Main() in C:\Users\Arie\Documents\Visual Studio 2010\Projects\ABC_WPF\VirtualINV12_WPF\obj\x86\Debug\Application.g.vb:line 74
       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()
  InnerException: 
       Message=Cannot find resource named 'TextBoxBorder_Disabled'. Resource names are case sensitive.
       Source=PresentationFramework
       StackTrace:
            at System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
            at System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
            at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
       InnerException: 





 

Siddharth
Top achievements
Rank 1
 answered on 19 Feb 2013
6 answers
578 views
Hello.

I have a gridView with column. I need to change column template in run-time. I create CellTemplateSelector, but my cell template is not updating. Grid cell template is changing when I scroll the gridView. What is wrong?

        <convertors:TrendConverter x:Key="TrendConverter" />
        <convertors:ConditionalDataTemplateSelector x:Key="selector" ConditionConverter="{StaticResource TrendConverter}">
            <convertors:ConditionalDataTemplateSelector.Rules>
                <convertors:ConditionalDataTemplateRule DataTemplate="{StaticResource d1}">
                    <convertors:ConditionalDataTemplateRule.Value>
                        <sys:Int32>0</sys:Int32>
                    </convertors:ConditionalDataTemplateRule.Value>
                </convertors:ConditionalDataTemplateRule>
                <convertors:ConditionalDataTemplateRule DataTemplate="{StaticResource d2}">
                    <convertors:ConditionalDataTemplateRule.Value>
                        <sys:Int32>1</sys:Int32>
                    </convertors:ConditionalDataTemplateRule.Value>
                </convertors:ConditionalDataTemplateRule>
                <convertors:ConditionalDataTemplateRule DataTemplate="{StaticResource d3}">
                    <convertors:ConditionalDataTemplateRule.Value>
                        <sys:Int32>-1</sys:Int32>
                    </convertors:ConditionalDataTemplateRule.Value>
                </convertors:ConditionalDataTemplateRule>
            </convertors:ConditionalDataTemplateSelector.Rules>
        </convertors:ConditionalDataTemplateSelector>
 
<telerik:GridViewDataColumn Header="Посл." UniqueName="TrendValue" DataMemberBinding="{Binding Path=Trend}" Style="{DynamicResource GridViewDataColumnIntegerStyle}" CellTemplateSelector="{StaticResource selector}">

Thanks
trinh
Top achievements
Rank 1
 answered on 19 Feb 2013
1 answer
134 views
Hello,

We recently acquired a license to Telerik DevCraftUI Edition package.
We are using Telerik RadMap control. The control itself uses custom tiles provider and server to fetch the tiles from sqlite database.
Recently we got a feature request to let users delete the tile for example from the context menu.
I want to check with the support team if RadMap supports only ready-only (just getting and displaying tiles) communication with the server.
I can see that HttpRequest to get tile are initiated by Telerik.Windows.Controls.Map.TilesDownloader. I understand that is done by the control itself behind the scenes. My question is can the control (RadMap) issue POST requests and is there a class in the Telerik.Windows.Controls.Map namespace that can do that?

Anna Yudkovsky.
Sr Software Engineer.
Andrey
Telerik team
 answered on 19 Feb 2013
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?