Telerik Forums
UI for WPF Forum
5 answers
239 views

Telerik grid row is overlapping when GridViewDataColumn is having multiline text. If we resize column or apply any filter,  row overlapping disappears. Do we have any solution for this?

<telerik:GridViewDataColumn
  DataMemberBinding="{Binding  ConnectedCardInfo, Mode=OneWay}"
 IsReadOnly="True"                UniqueName="ConnectedCardInfo">
            <telerik:GridViewDataColumn.Header>
<TextBlock Text="Connected Card Info" TextWrapping="WrapWithOverflow" ToolTip="Connected Card Info"/>          </telerik:GridViewDataColumn.Header>

</telerik:GridViewDataColumn>

Stefan Nenchev
Telerik team
 answered on 07 Jul 2016
4 answers
259 views

Hi,

 

I need to be able to define a non-gradient pale color background for the RadCalendar header, but could not find a custom styling option for this segment.

 

Please assist.

 

Thank you.

Nasko
Telerik team
 answered on 07 Jul 2016
3 answers
96 views
Hi, i am using the DataForm. In edit mode i can not set the cursorposition in the DataField with left Mouseclick. How can I change this?
Harald
Top achievements
Rank 2
 answered on 06 Jul 2016
1 answer
59 views

Hi, 
I am using the structure below to get a pane that under it there is myUserControl1
                          
The UI will look like this:
 _______________
| my                        |
| UserContol1         |
|_______________|

The code:

<telerik:RadSplitContainer x:Name="myContainer">
    <telerik:RadPaneGroup x:Name="myPaneGroup">
        <telerik:RadPane  Header="pane 1" >
            <MyUserConrol myUserControl1="test test" />
        </telerik:RadPane>
    </telerik:RadPaneGroup>
</telerik:RadSplitContainer>

The issue:
I have a button that should change Dynamically the number of my userControl - for 

example 4 userComtrols .i want to get this. (each userControl should be set under the same structure code that was describe before)

________________
| UC1      |  UC2     |              4 user controls
|_______|_______|
| UC3      |     UC4  |
|_______|_______|

code: (should be Dynamically )

<telerik:RadSplitContainer x:Name="myContainer1">
    <telerik:RadPaneGroup x:Name="myPaneGroup1">
        <telerik:RadPane  Header="pane 1" >
            <MyUserConrol myUserControl1="test test" />
        </telerik:RadPane>
    </telerik:RadPaneGroup>
</telerik:RadSplitContainer>

<telerik:RadSplitContainer x:Name="myContainer2">
    <telerik:RadPaneGroup x:Name="myPaneGroup2">
        <telerik:RadPane  Header="pane 2" >
            <MyUserConrol myUserControl2="test test" />
        </telerik:RadPane>
    </telerik:RadPaneGroup>
</telerik:RadSplitContainer>

 

and the same for 3 and 4..

for example 2 userComtrols) 
________________
| UC1       |     UC2  | 
|               |              |
|               |              |
|____ ___|_______|

what is the best way to achieve it?

thanks

Nasko
Telerik team
 answered on 06 Jul 2016
3 answers
352 views

Hi,

I have a source with ~270 items which I want to display in treeview and rendering of this list takes 1-2min. This is very slow, and I believe that using a virtualization should take care of that but it seems not. Also, I see same performance either with  IsVirtualizing="True" or "False". As you can see, I also put additional properties, but without success. Another observation is that once items are displayed, there is additional time before UI unfreeze.

This is xaml for treeview.

<telerik:RadTreeView x:Name="treeView"
ItemsSource="{Binding HierarchyFolderList}"
ItemTemplateSelector="{StaticResource FolderTemplateSelector}" 
AllowDrop="True" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
Margin="5"
IsDropPreviewLineEnabled="False"
IsVirtualizing="True"
telerik:TreeViewPanel.IsVirtualizing="True"                                  telerik:TreeViewPanel.TreeVirtualizationMode="Hierarchical"  telerik:AnimationManager.IsAnimationEnabled="False"                             telerik:TreeViewPanel.VirtualizationMode="Hierarchical">
</telerik:RadTreeView>

Thanks!

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Jul 2016
1 answer
69 views

When SelectionMode=Extended.

I'm using a RadTileView with multiselection turned on, and when I programmatically change the SelectedItems in the view, the view becomes focused and of course steals focus away from the other control that the user is on. That is... well, I'm trying to understand why you would even do that, and why only for the Extended mode.

(I know now that repro-ing issues seems to be difficult at times, so here is the relevant code I found in ILSpy and with a simple GotFocus hook on the RadTileView:

 

// Telerik.Windows.Controls.RadTileViewItem
protected virtual void OnIsSelectedChanged(bool oldValue, bool newValue)

{

   ...

   if (newValue && this.ParentTileView != null && this.ParentTileView.SelectionMode == SelectionMode.Extended)
   {

            // REALLY BAD IDEA

-->       base.Focus();
-->       this.ParentTileView.ContainerToFocus = this;
   }

   ...

}

Anyway, it "looks" like I can derive from RadTileView and then derive from the RadTileViewItem class and then override that method and call base with newValue = false, but I have yet to try. Still, not ideal.

 

PaulR
Top achievements
Rank 1
 answered on 06 Jul 2016
2 answers
125 views

We are using a custom provider to display data. Tiles are created on the fly and it works well. We now want to add the ability to "play back" this data as it was captured from the device. This is basically the same concept as viewing real-time data, since the data will be trickling in, not all available at once.

I was thinking to use the UriImageProvider with an image the same size as the map window. I would update the image file as time goes on, when the zoom level changes, and when the user pans the map. Is this feasible or is there a better way? Will the map automatically update if the file changes?

Jason D
Top achievements
Rank 1
Veteran
 answered on 05 Jul 2016
22 answers
858 views
Hi,

I am in the process of evaluating the Telerik controls for WPF.
I was trying to get following functionality : a kind of dropdown list with autocomplete functionality where the list opens when the control gets the focus, and the list is filtered dynamically as soon as the user starts typing. When the control loses focus and the user has not yet selected an item, then the first item in the list should be selected.
I have tried both autocompletebox and combobox, and in fact what I have in mind is a combination of both.
In the case of an autocompletebox
 - I don't see the list on focus (the user has to type something)
 - when leaving the box (ie pressing enter or tab) the first item in the list is not selected
 - Suggest and SuggestAppend don't seem to work (and I don't see any difference between them), itemis not automatically selected
 - I don't see a way to restrict the text to items in the list
In the case of a combobox :
 - I have no watermark text
 - the list does not shrink when typing (which makes "contains" mode not very useful)

Kind regards,

Martin
Vinod
Top achievements
Rank 1
 answered on 05 Jul 2016
1 answer
101 views
when press tab  the cursor is at the beginning of the text ,

but after changed the text and then press tab  the cursor is at the endding of the text

how to set cursor to the text endding when tab
Stefan
Telerik team
 answered on 05 Jul 2016
1 answer
292 views

I have a need to get the current style of a document. The GetCurrentSpanStyle method of RadRichTextBox is protected, so I cannot use this. The only way that I have been able to get the current style is to create a override of RichTextBoxCommandBase for this purpose.

public class GetCurrentSpanStyleCommand : RichTextBoxCommandBase
{
    public GetCurrentSpanStyleCommand(RadRichTextBox editor) : base(editor)
    {
    }
 
    protected override void ExecuteOverride(object parameter)
    {
 
    }
 
    public Span ExecuteGetCurrentSpanStyle()
    {
        return base.GetCurrentSpanStyle();
    }
}

Is there a better way to do this?

Tanya
Telerik team
 answered on 05 Jul 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
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
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?