Telerik Forums
UI for WPF Forum
12 answers
634 views
We are using RadContextMenu inside WPF RadGridview. We have few menu items. When i click on a menuitem we do some processing. 

It is not closing after click. Do i have to close it manually?

We are using Telerik.Windows.Controls.dll file version 2011.1.315.40.

Thanks
Ram
Vladimir Stoyanov
Telerik team
 answered on 27 Apr 2018
1 answer
67 views

Hi,

 

I have been working on hosting winforms inside WPF, so I was running this sample project:
https://github.com/telerik/xaml-sdk/tree/master/Docking/WinFormsInsideDocking

 

But it only works when it uses Telerik.Windows.Themes.Office_Black, otherwise it gives error of Static Resource "PaneGroup_PaneFrameStyle" not found.

I'm using Telerik.Windows.Themes.Office2016 and need to implement the same style which is implemented in the sample project.

 

Kindly let me know, what needs to be changed for 2016 theme.

 

Thanks,

Tayyaba

 

Dilyan Traykov
Telerik team
 answered on 27 Apr 2018
2 answers
273 views

I would like to use the RadCalculatorPicker in the following fashion:

In a dialog box or form, the user should be able to tab to the RadCalculatorPicker or click on its TextBox  and the border should highlight as other controls do and the entire text should be selected.

From this point, the user should be able to freely edit the text in the TextBox, as long as it remains numeric, and the text should remain as he edits it and be reflected in the calculator when it is pulled down.

The user should be able to tab or mouse away from the TextBox, perform operations on other controls and subsequently return to the TextBox, whereupon the text in the TextBox should remain as it was when he left it.  The Value should match this text.

While the user may/should be prevented from entering non-numeric characters, he should be able to leave the TextBox empty ("").  It's not necessary that the control return a double? for the Value, as I can wrap the control with my own code to do so, but being able to have an empty TextBox is desired.

In short, I want the control to function as a normal TextBox (with numeric characters only) until the user clicks on the dropdown button, at which point the calculator appears and, starting with the string in the TextBox, functions as it does today.

I can derive a UserControl from this to perform some of what I want to do, but the TextBox and calculator seem to be very tightly bound and it appears that programming it to function as I desire would be a PITA, if possible at all.

Is there a way to make the control function in this manner? If not, would you consider making changes to it or creating a new control in the future that would work this way?  The justification for it is to speed keyboard entry of numeric data while allowing the power of a calculator to be readily at hand.

Thanks

Martin Ivanov
Telerik team
 answered on 27 Apr 2018
1 answer
185 views

Hi,

I have a titletemplate for the headers of RadPanes which contain my own TextBlock and Button elements. I need the button to be docked right next to the "close" pane button (if the RadPane is docked and unpinned left).

If the user clicks on the tab to animate the RadPane to slide open, how do I get the width of the titletemplate to force e.g. a DockPanel to fill the entire area? Otherwise my button just positions itself next to my TextBlock like in a StackPanel scenario.

 

Thank you.

M.Young

Dinko | Tech Support Engineer
Telerik team
 answered on 27 Apr 2018
1 answer
192 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
710 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
148 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
210 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
213 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
195 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
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?