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>
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.
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
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!
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.
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?
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?