Telerik Forums
UI for WPF Forum
1 answer
151 views

Hi,

Following your documentation (number-formats) I'm trying to set a "# ##0" format to a cell to get a result like in the attached file 'Screenshot No1.png': 

1.CellSelection cell = worksheet.Cells[rowIndex, columnIndex];
2.ICellValue value = cell.GetValue().Value;
3.if (value.ValueType == CellValueType.Number)
4.{
5.    cell.SetFormat(new CellValueFormat("# ##0"));
6. }

 

But I get escaped space format "#\ ##0" in the resultant excel, like in the attached file "Screenshot No2.png"

How to get the exact result "# ##0" in the exported Excel file ?

 

Thanks

Vladimir
Top achievements
Rank 1
 answered on 16 Jul 2018
1 answer
95 views

I'm using Telerik UI for WPF, R2 2018 SP1

GanttView has TreeColumnDefinition to display items that have parent/child relationship nicely, without extra header

Is there a way to use TreeColumnDefinition in RadGridView, since it's support sort, filter, context menu (which GanttView doesn't have).

I've browse over Seft-Referenced Hierarchical example, but all of them add an extra header to child item, and not support multiple hierarchical

Thanks in advanced

Martin Ivanov
Telerik team
 answered on 16 Jul 2018
8 answers
534 views

Hi,

can the pdfviewer automatically scroll in the position where the user is zooming with the fingers?

because if i zoom in a specific position (for example bottom right), the pdfviewer continues to zoom in top left angle of the pdf.

 

Thanks

Davide

Deyan
Telerik team
 answered on 16 Jul 2018
2 answers
45 views

Hi,

I can persist RadRibbonRadioButton selected state fine but it does not on restore execute the bound command. I'm trying to use the persistence manager to restore the UI, and as a result, restore the view model state.

Is this possible?

Rob

Robert
Top achievements
Rank 1
 answered on 14 Jul 2018
8 answers
1.0K+ views

When using an onscreen keyboard with the autocomplete box, when the dropdown is open you need to click twice on the keyboard to press a key. Once to close the dropdown and once to press the key. 

I have figured out that the MouseLeave event is fired when the dropdown is open and you click outside of it or when closed and leave the watermarktextbox. So, I am able to resend the mouse event to avoid clicking twice, but the drop down still closes. This is ok when the search text changes as it will reopen with the new values. However, when the up/down arrow keys are pressed it closes and doesn't reopen with no way to know what is highlighted in the list. 

Is there an event or method that could be overridden to keep the dropdown open if focus doesn't change? (The on screen keyboard doesn't take focus)

 

Software
Top achievements
Rank 1
 answered on 13 Jul 2018
7 answers
186 views

Hi,

there are two problems with the fluent theme. First the column width is broken, when using hierarchy. Second there is a white gap between the border and the top of control. I am using the following style:

<Style TargetType="telerik:RadGridView">
    <Setter Property="Margin" Value="4" />
    <Setter Property="AutoGenerateColumns" Value="False" />
    <Setter Property="CanUserFreezeColumns" Value="False" />
    <Setter Property="CanUserResizeColumns" Value="False" />
    <Setter Property="CanUserInsertRows" Value="False" />
    <Setter Property="CanUserDeleteRows" Value="False" />
    <Setter Property="FrozenColumnsSplitterVisibility" Value="Collapsed" />
    <Setter Property="IsReadOnly" Value="True" />
    <Setter Property="IsFilteringAllowed" Value="False" />
    <Setter Property="RowIndicatorVisibility" Value="Collapsed" />
    <Setter Property="ShowGroupPanel" Value="False" />
    <Setter Property="ShowColumnFooters" Value="False" />
</Style>

 

Best regards,
Ronny

Sia
Telerik team
 answered on 13 Jul 2018
0 answers
77 views

Hello Telerik,

I have 2 questions:

1) How is it possible to set the height of the bottom container of the RadDocking dynamically based on its content.?

2) Also I would like to know if it is possible to have a scrollbar inside of the RadDocking?

 

Thank you

Kourosh

Kourosh
Top achievements
Rank 1
 asked on 12 Jul 2018
8 answers
222 views
Hi,

MaskedTextBox can input in Chinese,but MaskedTextInput  was not.
MaskedTextBox has been removed in 2014 Q2, and are there solutions?
Martin Ivanov
Telerik team
 answered on 12 Jul 2018
1 answer
147 views

Hi Guys,

 

is it somehow possible to override the "IsChecked" style of a RadToggleButton within the RadToolBar?
I would like to have a "working"-spinner animation when a button is pressed.

 

Thank you very much.

Vicky
Telerik team
 answered on 12 Jul 2018
2 answers
377 views

I am trying to build a TreeView/Property Grid pair for my application.  In my application I have implemented the Hierarchical Data Template as described in the online documentation (https://docs.telerik.com/devtools/wpf/controls/radtreeview/populating-with-data/hierarchical-data-templates).  This populates the TreeView control as expected.

In binding the property grid to the SelectedItem of the TreeView, I found that I can only see the properties for the first TreeNode that is clicked.  In troubleshooting I tried updating the PropertyGrid through code, but I found that the SelectionChanged event only fires for the first node that is clicked on.  Any subsequent selection changes do not result in the SelectionChanged being fired.

How can I build this typical functionality into a Hierarchical Data Template based TreeView control?

DADean
Top achievements
Rank 1
 answered on 12 Jul 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?