Telerik Forums
UI for WPF Forum
1 answer
318 views

Hi, I'm using a RadWindow.Confirm with OK and Cancel buttons, but I need that when I click on button OK call a different function than Cancel.

Example:

        private void OnOK(object sender, WindowClosedEventArgs e)
        {
           // Call it when clicked on button OK
        }

        private void OnCancel(object sender, WindowClosedEventArgs e)
        {
           // Call it when clicked on button Cancel
        }

 

Thks!

Dinko | Tech Support Engineer
Telerik team
 answered on 23 May 2018
1 answer
87 views
Its possible a read only text range turn invisible for printing? That is, a read only text range followed by a editable range. And, when sent to printer, print only the editable part (the read only part leave just a white space on the printed page).

Is that possible with the RadRichTextBox?
Boby
Telerik team
 answered on 23 May 2018
14 answers
589 views
Hi

By default, the tabs for the RadDocumentPane appear at the top of the window - for normal Panes, they appear at the bottom. I'd like the RadDocumentPane tabs to also appear at the bottom. I thought the following XAML would do the trick, but it seems not to:

Thanks in advance.

<telerik:RadDocking.DocumentHost>
     <telerik:RadSplitContainer Name="DocContainer">
         <telerik:RadPaneGroup  TabStripPlacement="Bottom">
              <telerik:RadDocumentPane Header="Page 1"/>
         </telerik:RadPaneGroup>
    </telerik:RadSplitContainer Name="DocContainer">
</telerik:RadDocking.DocumentHost
Petar Mladenov
Telerik team
 answered on 23 May 2018
3 answers
119 views

hi, i m ashrul,

i m working in RadRichTextBox right now, i want to ask about liststyle, how we can count listlevel dinamically when user typing ang using listlevel..

here my snippet:

 

  private void Button_Click(object sender, RoutedEventArgs e)
        {

            RadDocument document = this.editor.Document;
            RadDocumentEditor editor = new RadDocumentEditor(document);
            ListStyle listStyle = new ListStyle();
            ListLevelStyle listLevel = new ListLevelStyle();

            MessageBox.Show(listLevel.ToString());
        }

 

 

thanks in advance

Boby
Telerik team
 answered on 23 May 2018
0 answers
75 views

In RadRichTextBox, if I input the chinese punctuation , for example “、”, it just shows as a space

but if I copy the chinese punctuation from other place ,then paste it,  it shows the correct punctuation 

see the attached file.

zou
Top achievements
Rank 1
 asked on 23 May 2018
2 answers
116 views

Hi every body ...

I'm using RadRichTextBox control. It is a very powerful control. In my scenario, user can add comments every day, but he can't delete the comments he had created in the previous day.

How can I Control deletion of the comments......

I thought of marking the comment using tag property or a similar property but I couldn't do this. Any help is greatly appreciated.

①Dr Mostafa
Top achievements
Rank 1
 answered on 23 May 2018
4 answers
264 views

I'm really need help with this issue.

 

I'm successfully create a custom control and inserted on the RadRichTextBox using the FloatingUIContainer.But now I have tried everything to create a option capable to remove the custom control from the document. But nothing works and I do not have any error or any kind of feedback. The last test was follow below:

radRichTextBox.Document.CaretPosition.MoveToStartOfDocumentElement(FloatingUiElement);
radRichTextBox.Delete(false);

 

Nothing happen when I'm used this command.

I'm need to move the FloatingUIContainer on the page too. But once the element is on the page, I can't move them anymore. Even changing the container horizontal position. Once the scrolling of the document is activated the element returns to the original position.

Somebody can help me?

Marcílio
Top achievements
Rank 1
 answered on 22 May 2018
1 answer
167 views
Is it possible to get rid of the text written in group header panel? I don't need to use any kind of grouping, can i add buttons like Refresh, Add New etc to this panel.I am pretty new to Telerik.
Ivan Ivanov
Telerik team
 answered on 22 May 2018
5 answers
128 views

Hello,

Tested with the Office 2013 theme, not with other ones.

I have a WPF application with many grid views, some in docking panes and other outside docking panes. When a grid view is inside a docking pane and it has column groups, the column groups are not shown. What I can see is a double line at the top of the headers, as if the column groups are empty.

Previously, this was working fine, but as soon as I installed the last version of UI for WPF, the column group headers are missing.

Sia
Telerik team
 answered on 22 May 2018
8 answers
463 views

I am using 2017.1.117.40

Here is the scenario:
1. Create 6 RadPanes using MVVM - TestListView, TestPropertyView, TestRestulView, TestGraphView, TestActionView & CorrelationMeasurementView

2. Only TestListView, TestResultView are visible when RadDocking is loaded while the rest are not.

3. Click on a Dispose button. All RadPanes are visually removed from RadDocking.

4. Make a memory profile using dotMemory.

5. TestListView, TestResultView & TestPropertyView are properly disposed. While TestActionView, TestGraphView & CorrelationMeasurementView (all with R adGridView defined) are still being retained in the memory.

6. When remove RadGridView reference from TestListView, then run through the same step to dispose RadDocking & RadPanes, TestActionView is properly disposed from the memory.

7. Another test is to select TestActionView once after RadDocking has loaded. Then click Dispose button. TestActionView can be properly disposed.

 

p/s: sorry, i can't provide any sample project at this moment for you to reproduce the problem.

Joel
Top achievements
Rank 1
Iron
 answered on 22 May 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?