Telerik Forums
UI for WPF Forum
1 answer
319 views

I am using the RadAutoCompleteBox for getting the user input.

i can also see the DropDownItemTemplate (which is used to put a template to the dropdownitems shown)...but I can't see/find anywhere a way to use a data template for the textbox ...after the users have made a selection.

 so for example... the drop down displays (Value : Display Name) and when the selection happens on the display name is shown...but i want to display the entire thing in the autocomplete textbox...

 is there any way i can acheieve this.

 

thanks and regards,

arun

Nasko
Telerik team
 answered on 21 Jul 2015
3 answers
222 views

Hello,

With the RadScheduleView, is it possible to make it so that the user can resize only by dragging the end time of an appointment, but not the start time?

I attempted to implement this by overriding CanStartResize in a custom ScheduleViewDragDropBehavior, but couldn't find any way to determine if it is the start or end time that is being dragged.

Any assistance would be greatly appreciated

Thanks

Nasko
Telerik team
 answered on 21 Jul 2015
3 answers
269 views

Hey,

 I have created a Scheduleview and I am using Timeline view exclusively. When I have appointments that stack because of time overlapping, the other appointments in that group stretch to fit the height of the row. How can I prevent this from happening?

Also, I am aware that the functionality has been added to the month view to be able to define the height of the appointments. Is there a way to do this for the Timeline view?

 

Thanks

Rosi
Telerik team
 answered on 21 Jul 2015
1 answer
262 views
I have to implement multilingual support for an application that is mainly an winform application. But some ​forms  of the application has been converted to WPF and they used Telerik RadGridview control. These WPF forms are launched from inside the Winform application. So the WPF project does not have any app.xaml.cs files , so no app_startup event. From examples I have seen that the UICulture has to be set in that event . Also the Localization manager has to be set in that particular event. I have tried setting the culture in form level, before initializing components, but did not work. Is there a way to implement Localization for Telerik controls in the mentioned scenario ?
Tanya
Telerik team
 answered on 20 Jul 2015
1 answer
388 views

In the below attached Code Snippet, ​While trying to generate a gridview dynamically , I was not able to bind the values of Datable to to Combox Column.

I have tried populating combox items but when I select a Value its saving back to the Datatable.

Please help me out to bind the Datable Value to Combo box selected value and save the new item selected from the combox list back to the Datatable

 

 


this.ItemsGrid.ItemsSource = this.Datable1.DefaultView;
List<LOV> lovs = new List<LOV>();
lovs.Add(new LOV { Id= "1", Value = "test1" });
lovs.Add(new LOV { Id= "2", Value = "​test2" });
lovs.Add(new LOV { Id= "3", Value = "​test3" });
lovs.Add(new LOV { Id= "4", Value = "​test4" });
lovs.Add(new LOV { Id= "5", Value = "test5" });

foreach ( Car cr in Cars)
{
switch (cr.CONTROL_TYPE.ToUpper())
{
case "COMBOBOX":
Telerik.Windows.Controls.GridViewComboBoxColumn comboBoxColumn = new Telerik.Windows.Controls.GridViewComboBoxColumn();                       comboBoxColumn.DataMemberBinding = new Binding(cr.Name);
comboBoxColumn.ItemsSource = lovs;
comboBoxColumn.DisplayMemberPath = "Value";
comboBoxColumn.SelectedValueMemberPath = "Id";
comboBoxColumn.Header = cr.Name;
this.ItemsGrid.Columns.Add(comboBoxColumn);
break;

case "TEXTBOX":
Telerik.Windows.Controls.GridViewDataColumn txtBoxColumn = new Telerik.Windows.Controls.GridViewDataColumn();
txtBoxColumn.DataMemberBinding = new Binding(cr.Name);
txtBoxColumn.Header = cr.Name;
this.ItemsGrid.Columns.Add(txtBoxColumn);
break;

case "CHECKBOX":
Telerik.Windows.Controls.GridViewCheckBoxColumn chkBoxColumn = new Telerik.Windows.Controls.GridViewCheckBoxColumn();
chkBoxColumn.DataMemberBinding = new Binding(cr.Name);
chkBoxColumn.Header = cr.Name;

this.ItemsGrid.Columns.Add(chkBoxColumn);
break;
}
}


public class LOV
{       
public string Id {get;set;}
public string Value{get;set;}
}

Dimitrina
Telerik team
 answered on 20 Jul 2015
5 answers
889 views
In my application I do not want to waste the space in TitleBar. So I wanted to have the menu in TitleBar. How do I achieve it using Rad controls of Telerik?
Martin Ivanov
Telerik team
 answered on 20 Jul 2015
7 answers
240 views

Please see my attach screenshot.

I want to add little point over each point in my chart view

Martin Ivanov
Telerik team
 answered on 20 Jul 2015
5 answers
178 views

hi i can change color but still i have any color in my bar series

i want remove white color and Be consistent colors

just blue color

remove gradient color

Milena
Telerik team
 answered on 20 Jul 2015
1 answer
298 views

We are using WPF telerik control RadColorPicker. In the beginning, we choose to set null color for the entity. The problem is, this null color is being treated as black color by the RadColorPicker and so we can't apply a black color immidiately. Refer to the working code below

XAML:

<telerik:RadColorPicker x:Name="radColorPicker" IsRecentColorsActive="True" SelectedColor="{Binding Path=MyColor}" SelectedColorChanged="radColorPicker_SelectedColorChanged">
<telerik:RadColorPicker.ContentTemplate>
<DataTemplate>
<Rectangle MinWidth="40" MinHeight="20">
<Rectangle.Fill>
<SolidColorBrush Color="{Binding ElementName=radColorPicker, Path=SelectedColor, Mode=TwoWay}"/>
</Rectangle.Fill>
</Rectangle>
</DataTemplate>
</telerik:RadColorPicker.ContentTemplate>
</telerik:RadColorPicker>

Code Behind/View Model:

public Window9()
{
InitializeComponent();
this.DataContext = this;

MyColor = null; // I can't apply a black color in this case because null is being treated as black color
//MyColor = "Red"; // I can apply a black color, when the already applied color is red.
}

private void radColorPicker_SelectedColorChanged(object sender, EventArgs e)
{
MessageBox.Show("Color changed!");
}

public string MyColor { get; set; }

 

However, if I would choose some other color than black, say Red, then after that I am able to apply a black color or if we by default set a red color first as shown in the code, then also we would be able to set a black color.
How to make RadColorPicker treat null color as null only and not black, so that we can apply black color immidiately.​

 

Petar Mladenov
Telerik team
 answered on 20 Jul 2015
3 answers
269 views

I have followed this guide line for custom date format dd mmm yyyy (http://docs.telerik.com/devtools/wpf/controls/raddatetimepicker/features/formatting.html#changing-the-display-format)

 But it affected date resolution when I manual enter date. Please refer attached screenshot.

 

Rosi
Telerik team
 answered on 17 Jul 2015
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
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?