Telerik Forums
UI for WPF Forum
3 answers
145 views

I am creating a GridViewComboBoxColumn programmatically and so am adding the CellTemplate programmatically with the code:

 

private static DataTemplate GetCellTemplate(GridColumn column, DataTemplate itemTemplate, Binding itemsSourceBinding)
{          
    FrameworkElementFactory lookupElement = new FrameworkElementFactory(typeof(LookupElement));
    if (itemsSourceBinding != null)
        lookupElement.SetBinding(LookupElementWithStyle.ItemsSourceProperty, itemsSourceBinding);
    lookupElement.SetValue(LookupElementWithStyle.ItemTemplateProperty, itemTemplate);
    lookupElement.SetValue(LookupElementWithStyle.SelectedValuePathProperty, column.MemberPath);
    lookupElement.SetBinding(LookupElementWithStyle.SelectedValueProperty, new Binding(column.DataName));
    lookupElement.SetValue(LookupElementWithStyle.IsTabStopProperty, false);
     
    DataTemplate cellTemplate = new DataTemplate()
    {
        VisualTree = lookupElement
    };
 
    cellTemplate.Seal();
    return cellTemplate;
}

The problem with this is that the LookupElement has a RadComboBox property that is displayed in the visual tree but I have no way of overriding the style. The result is that it is using the default FontFamily "Segoe UI SemiBold" when I want to use "Segoe UI", and any gridviewcomboboxcolumns are displayed as semibold. How do I overcome this?

 

Maya
Telerik team
 answered on 02 Feb 2016
1 answer
100 views

Good afternoon,

We've run into an issue with the RadGridView column filters when switching to another application that we haven't been able to resolve (2016.1.112.45). The issue occurs under the following circumstances:

1. Click on the column filter button to open the column filter pop-up

2. Click on a combo-box within the column filter to display the combo-boxes drop down list

3. Hit Alt+Tab on the keyboard (or click another application from the Windows taskbar).

As far as I can tell no other special circumstances are required to recreate. As focus leaves the application the combo-box drop down list closes properly however the column filter stays open on top of the newly activated application. Any guidance would be greatly appreciated. Thanks,

Jason

Yoan
Telerik team
 answered on 02 Feb 2016
3 answers
753 views

Hi,

At my work I've been tasked with making the icon bigger(or use a new bigger icon) on the RadDropDownButton inside the RadDatePicker. I've gone about it 2 ways:

- One was to generate the default template and replace the <contentcontrol> <grid> <path. ...> with the appropriate <image> icon. This results in reverting all the other changes and customizations that were done to the control and it also generates over 1600 lines of code that we don't really want in that xaml file.

- The second approach involved applying a ScaleTransform to the LayoutTransformation of the RadDropDownButton. The icon's size looks about right but the drop down content(calendar) is also scaled which is not what we wanted.

I'm basically writing to find out if there is a better way to go about this that either doesn't involve generating the entire default template or affect the size of the content.

 

Thanks,

John-Paul Smith

John-Paul
Top achievements
Rank 1
 answered on 01 Feb 2016
3 answers
219 views

hello

Dear Telerik Team

We want to make: When caret enter into a Hyperlink, or delete a hyperlink, or press Backspace key to delete the Hyperlink, a popup is triggered. We used the method you provided to show a popup (use click), and was very successful.

1.But now question is that we can not distinguish whether it is a Hyperlink, when caret enter into the hyperlink.

2.Another question is that: how to programmly change the style of a Hyperlink.

 

Thanks, We hope your help.

 

Kun

Tanya
Telerik team
 answered on 01 Feb 2016
1 answer
180 views
Just curious if there is any way to disable a carousel item. I do not wish to remove the item, but rather have it still display, but  not able to be selected and be skipped over when one of the scroll buttons is pressed. Is there any way to do this?
Stefan Nenchev
Telerik team
 answered on 01 Feb 2016
1 answer
235 views

Hello,
    I've implemented an undo capability into the grid. If a user changes the value of a field but they want to reverse the change they will click on the undo button and the change is undone. This undo functionality remembers only the last change. I've implemented this using List's and by clearing out the grid and re-building the grid using the data in the lists. It works but it's slow. Imagine re-building a 2000 row X 800 column grid. I tried saving the previous state of the data in the grid in another datatable and then getting rid of the current datatable and making this datatable the current one but I ran into many problems.

Is there a better way of doing this?

Thanks,

Stefan
Telerik team
 answered on 01 Feb 2016
5 answers
225 views

Hi,
We are trying to automate the controls present inside the RadbusyIndicator and not able to access the controls both using CUIT and UI Automation in our application.Similar behavior is observed with CRM Sample application in telerik website (http://www.telerik.com/wpf/sample-applications).Could you please check and provide necessary help in this regard??

 

Regards,
Nagasree.

Georgi
Telerik team
 answered on 01 Feb 2016
2 answers
268 views

Hi,

 I am trying to use RadComboBox with check box items - using this MultiselectionComboBox http://www.telerik.com/forums/multi-select-combobox-column-b1333dcb19e7#A84Ijx2y90Cke9PV3xKCOA

Then I added a button to this view and after checking some check boxes I click on this button - nothing happens and I need to click on it second time in order to trigger the desired action.

Looks like one click is "wasted" on closing the combobox. Is there any way to prevent this so that after checking any check box in combobox clicking on the button will actually trigger button click event?

Thanks

Victor

 

Victor
Top achievements
Rank 1
 answered on 01 Feb 2016
11 answers
381 views

Hi,

I am using radcartesianbarchart to show multiple bar series. For example if i have category1, category2, and total these are the series collection.

If i click on legent of category1, need to show the category1 series. same for category2. If i click on total it should show all series. How we can achieve this.

Using hover property we can show fadeout of other series. But i need to draw when click on the legend only. Also please advise how to do animation for the chart series.

Thanks,

Arun

Arun
Top achievements
Rank 1
 answered on 01 Feb 2016
1 answer
198 views

Hi,

I'm trying to bind items dynamically to a RadMenu but I only ever see an empty RadMenu despite the fact that binding a standard Menu to the same DataContext property works perfectly fine.

In my screenshots you can see I've tried two approaches but the RadMenu directly under the TitleBar of the Window simply remains blank. I'm adopting the standard approach with ObservableCollections for this and since the standard Menu works, I can't see why the RadMenu doesn't.

I'd be very grateful for any assistance.

 

M.Young

Yana
Telerik team
 answered on 01 Feb 2016
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?