

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
