Telerik Forums
UI for WPF Forum
1 answer
151 views

Hi,

I am trying to get titletemplates to work depending their associated RadPane docking positions within a RadDocking control. The title template should contain a button next to the header which I have set correctly if the RadPane is docked and visible.

However, if the panel is unpinned/closed or floating I need to hide the button. How do I achieve this? Currently I have a bad workaround which checks FindAncestor for type AutoHideArea, ToolWindow or RadPaneGroup in a Visibility Binding for the button.

 

Could anyone please suggest a better way for me to check what the RadPane's current state would be within a separate template for titletemplates?

Thank you.

M.Young

 

Dinko | Tech Support Engineer
Telerik team
 answered on 27 Apr 2018
3 answers
648 views

Hello,

 

I am trying to make a change theme at runtime popup window. Inside the window, I list all the available themes and color variations, and when the user makes the selection, right below I have a little Panel which works like a Theme Preview, and I am applying the theme (removing and re-adding all theme related resource dictionaries) for that specific control. Everything is fine up to here, but when I try to use LoadPreset like;

VisualStudio2013Palette.LoadPreset(VisualStudio2013Palette.ColorVariation.Dark)

It changes all the application wide color variation/theme. I only want to apply that color variation to just that specific control. I could not see any overload of LoadPreset which takes the control as a input parameter. So how can I achieve this?

 

Thanks.

 

 

Martin
Telerik team
 answered on 27 Apr 2018
1 answer
111 views

Hi i was wondering if there is any way i could bypass the schedule appointment dialog when i double click to edit an existing appointment 
cause i would like to use my own form that has all i need also plan to do save other info in my database and i cant do that from the pre existing form
I've seen you can create customs but it doesn't cut it for what I'm trying to achieve.

other thing that could work for me if there could be a way to close the dialog when it opens 

 

thanks in advance

Petar Mladenov
Telerik team
 answered on 27 Apr 2018
5 answers
145 views
I have an application with many objects in the timebar, in fact so many that it can fit on a normalt screen, so I was wonderring if it is possible to add a vertical scrollbar, somwhow?
Martin Ivanov
Telerik team
 answered on 27 Apr 2018
10 answers
190 views

telerik version: 2018.1.220.40

Theme: Expression Dark 

RadToggleButton with Custom Content - not following theme when it is checked.

<telerik:RadToggleButton IsEnabled="{Binding CanLinkToHandler, Mode=OneWay}"
                         IsChecked="{Binding LinkToHandler, Mode=TwoWay}" Margin="4">
    <StackPanel Orientation="Vertical">
        <Image Source="{Binding LinkIconPath, Mode=OneWay}" Width="64" Height="64"/>
        <TextBlock Text="LinkToHandler" Margin="4 0 4 0" HorizontalAlignment="Center"/>
    </StackPanel>

</telerik:RadToggleButton>

RadRibbonSplitButton with Custom Content - not following theme when user click on the button to display the dropdown content.

<telerik:RadRibbonSplitButton Margin="4">
    <StackPanel Orientation="Horizontal">
        <Image Source="/Lumeresoft;component/Resources/Images/Hamburger icon.png" Width="16" Height="16"/>
        <telerik:Label Content="ManualTrigger:"/>
        <telerik:Label Content="{Binding Multishots, Mode=OneWay}" />
    </StackPanel>

    <telerik:RadRibbonSplitButton.DropDownContent>
         <Grid>
          ...
        </Grid>
</telerik:RadRibbonSplitButton/>

 

Problem with theme on RadRadioButton with custom content

I have tried the approach mentioned in above link, but it does not work for me.

Please let me know what other ways that can be done in order to apply the theme to Custom Content.

Joel
Top achievements
Rank 1
Iron
 answered on 27 Apr 2018
1 answer
176 views

Hi,Anybody know how i do to catch a id value of the clicked line on the RadGrid component? 

I have a event

        protected void RadGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            popularGridViewFuncionario();
        }

 

Where popularGridViewFuncionario(); fill the datsource of radGrid. I want get the id value inside this event.

Vladimir Stoyanov
Telerik team
 answered on 26 Apr 2018
7 answers
173 views
Hi! Sometimes when I select some text in TextBox I get next error:

System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Telerik.Windows.Documents.Layout.SpanLayoutBox.BinarySearchSplitIndex(SpanLayoutBox spanBox, Single availableWidth)
   at Telerik.Windows.Documents.SpanBoxPositionHandler.MoveToLocation(PointF location)
   at Telerik.Windows.Documents.DocumentPosition.SetPosition(PointF position, Boolean moveToNextIfOutOfBox)
   at Telerik.Windows.Documents.Selection.MouseSelectionHandler.UpdateSelectionAndCaretPosition()
   at Telerik.Windows.Documents.Selection.MouseSelectionHandler.RegisterDocumentMouseMove(Point position, SourceType source)
   at Telerik.Windows.Documents.UI.DocumentPresenterBase.HandleMouseMoveOnPosition(Point position, SourceType source)
   at Telerik.Windows.Documents.UI.DocumentPresenterBase.Owner_MouseMove(Object sender, MouseEventArgs e)

How I can catch this error for handling?
Tanya
Telerik team
 answered on 26 Apr 2018
2 answers
124 views

     Hi, i'm using RadBreadcrumb in my WPF app and cannot find the way to handle when user Paste path in TextMode ? I.e. -

1) click on Breadcrumb , it will switch to text mode,

2) press Ctrl+C (Copy),

3) press Esc (to switch off TextMode)

4) Now goto another path , to make break crumb show different path

5) click on Breabcrumb, it will switch to TextMode

6) press Ctrl+V (Paste)

Any idea how i can handle that ?

Charles Goh
Top achievements
Rank 1
 answered on 26 Apr 2018
2 answers
519 views

Hi,

we had UI.for.Wpf version 2016.3.1024 before and we updated to 2018.1.122. We started to have problem after update.

Scenario: We have background worker which starts long running operation. When it finishes, we do some actions in WorkerCompleted event handler. We show RadWindow. When its closed, we do some data refresh there and then we programatically change tab in Ribbon to show user final list with results.

Then app seems to be frozen. Better to say, it is shown on screen, but I can click on items behind window. fe if there is desktop behind, I can manipulate items on desktop.

Steps to unfreeze: Click on application incon in task bar. App gets minimized. Then click on that icon again and app gets maximized. App is then working fine again.

Unfortunately, its so rare that we cant debug it or at least create some demo for you. So, we dont know what is suddently causing this. Our observation is that it happens on Win 10.

Question is now, what can we do to prevent this strange behavior? sure, we can downgrade previous version we used. Any other suggestions? Can you help us please?

Kalin
Telerik team
 answered on 26 Apr 2018
1 answer
89 views

Greetings,

I need to slightly change the GridViewGroupPanel of the WPF GridView to include a close button. After creating a copy of the GridViewGroupPanel Style via Visual Studio, it seems that the visual state changes are no longer firing. I've made no changes to the style after the copy was created, and I can see that the copy contains the visual states for changing the panel text after groups are added, but it doesn't change after dragging a column to the group bar.

Was wondering if perhaps I was missing something? I wouldn't think creating a copy of the control style (no modifications) would disable the visual states..

Vladimir Stoyanov
Telerik team
 answered on 25 Apr 2018
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?