Telerik Forums
UI for WinForms Forum
1 answer
169 views
I am considering buying your product WinForm metro design. I have one question:
I am using for development 2 computers my laptop and my computer from the office, being a single developer can i use a single a developer license for both computers?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Apr 2019
3 answers
737 views
How can you disable the default context menu for the RadGridView?  We already have our right-click context menu control added to the form and have it working with the RadGridView; however, the default context menu is displayed behind it.  I would imagine it is very easy to disable I just haven't found out how to.

Thanks in advance.
Jeff
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Apr 2019
2 answers
192 views

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!

 

Nicklas
Top achievements
Rank 1
 answered on 11 Apr 2019
11 answers
386 views

Hi,

is it an easy way to save/load all print settings for PivotGrid?

Thanks

Alex

 

Lina
Top achievements
Rank 1
 answered on 11 Apr 2019
5 answers
136 views

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.

Lina
Top achievements
Rank 1
 answered on 11 Apr 2019
2 answers
105 views

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

Lina
Top achievements
Rank 1
 answered on 11 Apr 2019
8 answers
1.0K+ views
Hi.
Is there a way to remove the blue bar at the top of an application on Windows Xp using the RAD Ribbon control?
I tried changing the form's FormBorderStyle to none, but there is no borders and when you maximaze the form Start bar in Windows disappears.

I'm using Q4 2006 version and Q1 2008 version, and it's the same.

Thanks.
Lina
Top achievements
Rank 1
 answered on 11 Apr 2019
1 answer
284 views

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 replace
04.                docx.Selection.AddSelectionStart(textRange.StartPosition);
05.                docx.Selection.AddSelectionEnd(textRange.EndPosition);
06.                docxEdit = new Telerik.WinForms.Documents.Model.RadDocumentEditor(docx);
07.//remove the text
08.                docxEdit.Delete(false);
09.          //put 'multi paragraph' replacement text
10.                docxEdit.InsertFragment(fragment);
11.//just in case there more than one text to replace, loop
12.                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 ?

Tanya
Telerik team
 answered on 10 Apr 2019
3 answers
114 views

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

Dimitar
Telerik team
 answered on 10 Apr 2019
4 answers
2.0K+ views

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

 

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Apr 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?