Telerik Forums
UI for WinForms Forum
2 answers
72 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
694 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
229 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
77 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
1.7K+ 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
5 answers
199 views

Hello

I am Working on a radgridView

My requirement is, i need to find which keyboard key is pressed in radGrideview CellEndEdit Event, Or

Kishor
Top achievements
Rank 1
 answered on 09 Apr 2019
6 answers
188 views

Hello,

is there any easy way to use a custom RadGridView as grid element of the MultiColumnComboBox?

Or do I need to override the hole object chain?

in RadMultiColumnComboBox.cs

protected virtual RadMultiColumnComboBoxElement CreateMultiColumnComboBoxElement()

in RadMultiColumnComboBoxElement.cs

public MultiColumnComboPopupForm MultiColumnPopupForm // not virtual?!

in MultiColumnComboPopupForm.cs

protected virtual void InitializeEditorElement()

in GridViewHostItem.cs

public GridViewHostItem() : base(new MultiColumnComboGridView())
public MultiColumnComboGridView HostedGridView // not virtual?!

...

 

Are there any examples?

 

Kind regards,

Christian

Dimitar
Telerik team
 answered on 08 Apr 2019
2 answers
303 views

Hello

In a radGridView I have cells with multiline text (ex: LastName et FirstName separated by a carriage return) is it possible to set a different (smaller) font for the second line ? Or more generally speaking is it possible tu use formatting instructions in the text itself with tags or other instructions?

Incidentally I would need this feature in textboxes as well.

Thanks in advance

PJ Pralong

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 08 Apr 2019
3 answers
66 views

I want to see the data of my row when I click on it, what happens when grouping my grid does not take the correct data I hope you can help me I show my code :

Private Sub DgvProyectoGeneral_CellClick(sender As Object, e As GridViewCellEventArgs) Handles DgvProyectoGeneral.CellClick

Dim i As Integer
With DgvProyectoGeneral
If e.RowIndex >= 0 Then
i = .CurrentRow.Index
TxtIdExtraordinario.Text = .Rows(i).Cells("IdSolictud").Value.ToString
TxtCodigoExtraordinario.Text = .Rows(i).Cells("CodigoExtraodinario").Value.ToString
TxtDescripcionExtraodinario.Text = .Rows(i).Cells("DescripcionExtraordinario").Value.ToString
TxtCodigoMaterial.Text = .Rows(i).Cells("CodigoMaterial").Value.ToString
TxtDescripcionMaterial.Text = .Rows(i).Cells("DescripcionMaterial").Value.ToString
End If
End With
End Sub

Dimitar
Telerik team
 answered on 08 Apr 2019
2 answers
266 views
How to check Esc Keypress/ keydown in radgridview CellEndEdit 
Shanti 😎
Top achievements
Rank 2
Veteran
 answered on 05 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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?