Telerik Forums
UI for WinForms Forum
1 answer
96 views

     Let's say I want to give my user the ability to select some text and convert it to some other text, for instance to mangle it with ROT13 cipher. And selection could be made of several ranges, including in table cells. How would I go about this? My first idea was something like the code below, but some kind of update is required, because I only see the change if I scroll the text out view and back in, and even then the changed text does not reflow, but it continues after the right margin. Also, ability to undo the changes would be nice.

foreach (var inlineLayoutBox in radRichTextEditor1.Document.Selection.GetSelectedBoxes())
{
    if (inlineLayoutBox.Text.Contains('e'))
        inlineLayoutBox.Text = inlineLayoutBox.Text.Replace("e", "3333333");
}

 

Tanya
Telerik team
 answered on 30 Nov 2018
9 answers
935 views
1. Is there any way to remove the titlebar from a radform or increase the height of the titlebar (formelement.titlebar)? i tried 

 

this.FormElement.TitleBar.Visibility = ElementVisibility.Collapsed; in the form load, but it shows an empty area initially until a resize or refersh.

 


2. How to add leftiamge, rightimage and background image in titlebars? (both radtitlebar and formelement.titlebar )

I tried both scenarios and could not success.

thanks
Ren
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 30 Nov 2018
17 answers
804 views
Hi everyone.

I have this issue, and i'm trying to deal with it for the last 3 days now, no solution found.
My grid is loaded using an DataAdapter.

When I edit the items in the grid,and fire the update command, the data in my database will not be updated.
This is until i move the grid one row. Then it will accept changes made. So i'm struggeling here to find a way out.

Could you please provide me some sample or solution for this?
Btw, i'm using VB.NET for this.
Hristo
Telerik team
 answered on 30 Nov 2018
4 answers
392 views

Hello,

is it possible to display emotes in a message and edit the color of the name ??
Ive added an Example of what i mean.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Nov 2018
5 answers
825 views

Hi All,

How can we just clear radgridview, clear row, column, relation also on their template ?. Then radgridview being like the first time it loaded when then application run. So we can define columns on it over and over. Instead of using those :

        RadGridView1.DataSource = Nothing
        template.DataSource = Nothing
        template1.DataSource = Nothing

        While Me.RadGridView1.Rows.Count > 0
        Me.RadGridView1.Rows.RemoveAt(Me.RadGridView1.Rows.Count - 1)
        End While

        While Me.RadGridView1.Columns.Count > 0
            RadGridView1.Columns.RemoveAt(Me.RadGridView1.Columns.Count - 1)
        End While

        While template.Rows.Count > 0
        template.Rows.RemoveAt(template.Rows.Count - 1)
        End While

        While Me.RadGridView1.Relations.Count > 0
            Me.RadGridView1.Relations.RemoveAt(Me.RadGridView1.Relations.Count - 1)
        End While

 

Thanks in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Nov 2018
16 answers
3.2K+ views
I would like to display two line of text in my header colums ... how can this be done ?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Nov 2018
8 answers
200 views
Or how can I change its color? I have changed FormBorderPrimitive's color,But it has not changed
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Nov 2018
5 answers
438 views

How select text/value in SpinEditor?

If set focus is object (method Enter) value SpinEditor select all

How to do it?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Nov 2018
6 answers
307 views

Hi, I was wondering if it was possible for a DescriptionTextListDataItem to have children in a dropdownlist control?

See on video DropDownList

I have the attached so far

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Nov 2018
1 answer
79 views

Hi~~

 

I want use the theme and change the  backcolor of timelineitem in TimelineItemFormatting

 

protected override void OnShown(EventArgs e)

{

     ThemeResolutionService.LoadPackageFile("CustomTheme.tssp");

     ganttview.ThemeName = "CustomTheme";

     // I Use CustomTheme after not change timeline backcolor

 

}

private void ganttView_TimelineItemFormatting(object sender, GanttViewTimelineItemFormattingEvent Args e)

{

    

    

      foreach(LightVisualElement element in e.ItemElement.BottomElement.Children)

      {

          if(holidayList.Contain(element .Start))

          {

             // not chage color

             // why?

                element.BackColor = Color.Red; 

                element.BackColor2 = Color.Red;

                element.BackColor3 = Color.Red;

                element.BackColor4 = Color.Red;

           }

     }

Hristo
Telerik team
 answered on 28 Nov 2018
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)
Chart (obsolete as of Q1 2013)
Form
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
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
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? 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?