Telerik Forums
UI for WPF Forum
2 answers
718 views
Hello,

Is it possible to make the RTF editor in control also an html editor? So if I allow user to create a document inside RTF editor, they can have choice to choose "edit source html" instead?

I thought this control allowed this?
Petya
Telerik team
 answered on 17 Apr 2013
3 answers
100 views
I'm working with a gridview where when I update one cell, it updates other cells both in the same row and other rows. The issue I have is that the cells in other rows correctly update and show the new contents, but any cell on the 'active row' i.e. containing the cell that was edited and presuming that the caret moved to the next cell in the row does not update i.e. if I have cells A,B,C and D on one row and I edit C then when I finished editing C, cell A is updated but it's changes do not show and the control moves to editing cell D. As soon as I move off that row then the cell's correctly shown their new contents. How can I get all of the updated cells to refresh?

Thanks
Colin

Dimitrina
Telerik team
 answered on 17 Apr 2013
1 answer
108 views
Hi,

I was wondering if it was possible to stop CTRL+A from selecting every record in the grid when the grid is grouped. When the grid is grouped I would like CTRL+A to select only records from the active group.

I would be grateful if anyone know of a way this could be achieved.
Dimitrina
Telerik team
 answered on 17 Apr 2013
1 answer
119 views
I'm currently using one of the provided themes to color my timeline.
Is it possible to override the color theme such that individual items can be colored based on some condition or property?

For example, I have a timeline containing a List of objects. The objects have a Color property. I would like the object being displayed in the timeline to have a backcolor that matches it's Color property.
Tsvetie
Telerik team
 answered on 17 Apr 2013
8 answers
222 views
Hi,

i am very interested for two DateTimeGroupDescription Extensions.
I need the Steps "Hourly" and "Weekly". Also i need the possibility to customize the date text on the screen (StringFormat). 
Do i have to implement a complete new class derived from PropertyGroupDescriptionBase for these extensions, or is there a better way?

Also it would be great, if i could use DateTimeOffsets for the Dates (specially for DaylightSaving)

Best Regards,
Thomas
Thomas
Top achievements
Rank 1
 answered on 17 Apr 2013
3 answers
274 views
Hi

I have a grid that starts off with no rows. The rows are created by adding to CriteriaColumnItem (see code snippet below).  When I a row the column in the new row shows the combobox column correctly.  However, when I add another row the new row shows the combobox correctly but the previous row now shows blank in the combobox column. 

Thanks
Rich


================================================================
// Used for GridViewComboBoxColumn

   public List<GroupType> TextGroupTypes = new List<GroupType>()
        {
            new GroupType {Code=4, Name="Count", },
            new GroupType {Code=1, Name="Group By", },
            new GroupType {Code=5, Name="Expression", },
            new GroupType {Code=2, Name="Min", },
            new GroupType {Code=3, Name="Max", },
            new GroupType {Code=6, Name="Where"}
        };

=============================================================================

public partial class CriteriaColumnItem
{
        public string Column { get; set; }
        public string ColumnAlias { get; set; }
        public string TableDisplayName { get; set; }
        public string SchemaName { get; set; }
        public string TableName { get; set; }
        public bool Show { get; set; }
        public string SortType{ get; set; }
        public string SortOrder { get; set; }
        public Int32 GroupByCode { get; set; }  // Used for GridViewComboBoxColumn
}

===========================================================================

<telerik:GridViewComboBoxColumn
IsFilterable="False" Width="65" Name="GroupByCode" Header="Group By"                                   
        DataMemberBinding="{Binding GroupByCode, Mode=TwoWay}"                                           
        DisplayMemberPath="Name"
        SelectedValueMemberPath="Code"  
        IsVisible="False">
</telerik:GridViewComboBoxColumn>

==============================================================================

private void radGridViewSelectedColumns_RowLoaded(object sender, RowLoadedEventArgs e)
{
CriteriaColumnItem item = e.Row.DataContext as CriteriaColumnItem;
        if (item == null)
        return;
        if(radGridViewSelectedColumns.Columns["GroupByCode"].IsVisible)
        {
        Telerik.Windows.Controls.GridViewComboBoxColumn column = 
                             radGridViewSelectedColumns.Columns["GroupByCode"] as Telerik.Windows.Controls.GridViewComboBoxColumn;
                OpenAccessHelper oaHelper = new OpenAccessHelper();
// Determine which list is needed, Only showing one for now.
                column.ItemsSource = oaHelper.TextGroupTypes;   // Is this the problem? does each row have its own itemsSource for the column
        }
}

============================================================================
Maya
Telerik team
 answered on 17 Apr 2013
11 answers
1.1K+ views
Guys,

I've the below requirement in Calender control.

  • Highlight or circle the important days with different colors (eg. public holidays in one color and local holidays in a different color)
  • Custom comments for the day should be shown in tool tip (eg. If I've applied leave for the upcoming day  it should be shown in some color (red) and if i place the mouse over it, the reason for the leave should show in tool tip)

I've attached the sample requirement with this article..

Kindly give your hands on the above requirement.

Regards, Prem


 
Vladi
Telerik team
 answered on 17 Apr 2013
2 answers
84 views
Hi everyone,

I have an issue with selection of data from the RadGridView. The issue is that suddenly, after updating my Telerik Controls for WPF to 2013.1.220.40 it started hating my selection code.

I have the following XAML:
<telerik:RadGridView
    Name="dgOrderOverview"
    AutoGenerateColumns="False"
    SelectionChanged="dgOrderOverview_SelectionChanged"
    SelectionMode="Single"
    SelectionUnit="FullRow"
    IsReadOnly="True"
    CanUserDeleteRows="False"
    CanUserInsertRows="False"
    IsBusy="False"
    telerik:StyleManager.Theme="Windows8"
    >
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=ShipmentID}" Header="ShipmentID" UniqueName="ShipmentID" IsReadOnly="True" IsVisible="False" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=OrderNo}" Header="Order no" UniqueName="OrderNo" IsReadOnly="True" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Pieces}" Header="Pieces" UniqueName="Pieces" IsReadOnly="True" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=ReceiverName}" Header="Receiver" UniqueName="ReceiverName" IsReadOnly="True" />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

Which then triggers the following c# code when selecting a row:
private void dgOrderOverview_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e)
{
        OverViewData r = (OverViewData)dgOrderOverview.SelectedItem;
        shipID = r.ShipmentID;
 
        lblSelectedReceiver.Content = r.ReceiverName;
        lblSelectedShipment.Content = shipID;
         
        if(dpStatusDate.SelectedDate == null)
            dpStatusDate.SelectedDate = DateTime.Now;
 
        tpStatusTime.Value = DateTime.Now;
        canvas1.Visibility = Visibility.Visible;
        lblCUselShipment.Content = r.ShipmentID;
}

However, when I select a row it the dgOrderOverview.SelectedItem is always null. If I look at it in the VS debugger I find that it says that SelectionEventArgs flags "remove" to the item I've selected, but the "added" is always null.

How come? This is new to me, it's been working since December before updating the RAD Controls for WPF.

//Johannes
Yoan
Telerik team
 answered on 17 Apr 2013
1 answer
122 views
I found exampale how to add toltip for each column, and it is working fine for me. I just wonder is there any way to define totlip once for whole row and bind with row data?
Maya
Telerik team
 answered on 17 Apr 2013
2 answers
246 views
Hi all,

I have an application which is using RadTreeListView to bind and display as a tree. The ItemSource is binded from ViewModel with type is RadObservableCollection and declared:

ItemsSource="{Binding HistoryList, Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged,
NotifyOnSourceUpdated=True,
NotifyOnTargetUpdated=True}"

The issue is when I add a new node to HistoryList then call RaisePropertyChange of HistoryList, the UI of RadTreeListView doesn't update even though the data added.

this.HistoryList.Add(treeViewItem);
this.RaisePropertyChanged(x => x.HistoryList);

Then if I use reset() method of RadObservableCollection, the UI is updated but float top the top of view. So the question is how can I handle with it? I mean I wan to keep the state/position of node that I selected.. not jump or float.

This video gets better for you to understand: http://screencast.com/t/iLa3XWsa

Thank you
Maya
Telerik team
 answered on 17 Apr 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?