

I have a ranking system, I'm about to make a "sub-leader" rank. In that relation I am removing some pages/tabs, depending on the user access level.
This is the code I have. The problem is it does not remove all the pages. As shown in the screenshot attached, not all pages are removed.
for (int i = 0; i < radPageView2.Pages.Count; i++)
{
if(radPageView2.Pages[i].Text == "Emails" || radPageView2.Pages[i].Text == "Products" || radPageView2.Pages[i].Text == "Customers" || radPageView2.Pages[i].Text == "Verify sales" ||
radPageView2.Pages[i].Text == "Salary" || radPageView2.Pages[i].Text == "Leads control" || radPageView2.Pages[i].Text == "Agents")
{
radPageView2.Pages.RemoveAt(i);
}
}
Thanks in advance!
Hi,
is it an easy way to save/load all print settings for PivotGrid?
Thanks
Alex
Hi,
If we try to get serial number of harware like BIOS, Motherboard or Monitor using WMI Service, and this service is Disabled by the Admin of the computer, what will happen?
Can we start it programatically? I think no because the program may be run by a limited user, not an administrator.
I don't want to use WMI Services.
So what we must do?
please help me, thanks.
Hi,
Do we have a calculator control with history? Something like this: https://documentation.devexpress.com/WPF/DevExpress.Xpf.Editors.Calculator.History.property
Thanks
Dickson
Hi All
I try to produce a generated document using RadDocument. Let's say I have template like this:
A. Chapter a
<texttoreplace>
B. Chapter b
Chapter A, B and so on is a 'report template', each header is indented 150 point. I have multi paragraph text like this (2 paragraph in this sample below):
text1 text1
text2 text 2
All of these text is *not left indented*. What I need is , I can produce report like this:
A. Chapter a
text1 text1
text2 text2
B. Chapter b
I expect the second paragrah, "text2 text2" is also indented just look like first one (text1 text1).
I have tried to use this code to do this job:
01.foreach (var textRange in search.FindAll("<<toreplace>>"))02. {03.// select text to replace04. docx.Selection.AddSelectionStart(textRange.StartPosition); 05. docx.Selection.AddSelectionEnd(textRange.EndPosition);06. docxEdit = new Telerik.WinForms.Documents.Model.RadDocumentEditor(docx);07.//remove the text08. docxEdit.Delete(false);09. //put 'multi paragraph' replacement text10. docxEdit.InsertFragment(fragment);11.//just in case there more than one text to replace, loop12. docx.Selection.Clear();13. textRange.StartPosition.Dispose();14. textRange.EndPosition.Dispose();15. }
this code replace all occurrences of <<texttoreplace>> successfully, but the output is always like this:
A. Chapter a
text1 text1
text2 text2
B. Chapter b
The second paragraph of the replacement text is not following destination paragraph indentation but use its own indent.
Can I have any clue how to produce report I need ?

Hello,
When I set the multi-select to true, it allows me to select multiple files, but when I click "Open" on the open file dialog, it only displays ONE of the files I selected. How can it display all files I selected?
Thank you

Hi, Tryig to get "Convert App To Telerik UI Controls" to run on a very large application (500 forms). Many issues so far. Crashes with VS 2017 until you replace Extensions with newer versions. Crashes after partial conversion with 1,000+ issues. Got rid of many by manually adding references to Telerik.WinControls. and Telerik.WinControls.UI
CURRENT BIG ISSUE: MAJOR issue I need to solve right now is the fact that Telerik.WinControls.UI does not seem to have the class RadDataGrid which it changed all out DataGridView references to in our forms. Specific example...
Error CS0234 The type or namespace name 'RadGridView' does not exist in the namespace 'Telerik.WinControls.UI' (are you missing an assembly reference?) NoticeWinC:\DATA\abcSAC\Main\Source\EHSIntegrator - Telerix\Notice\NoticeWin\NoticeRunF.Designer.cs1737Active
I just wanted to get a conversion of some sort to see what the UI looked like, and this is the current stop issue..
(Other things I dislike about the conversion process that makes it problematic, we use standard indents of 2 spaces and the conversion tool is replacing all those with 4 spaces, making it appear as thousands of times more code has been changed. It's doing this in pure code for business objects that have no UI controls at all. It's replacing 'private' modifiers set for default form constructors which we marked so to force developers to use custom replacement constructors that take specific parameters with 'public' modifiers.) Thanks, Des Nolan
