Telerik Forums
UI for WinForms Forum
1 answer
154 views
RadGridview not changing alternate row on radgridview.Rows.Move(0, 2) . AlternatingRowColor and property remain same.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Dec 2018
5 answers
1.5K+ views
Hi,

I'm in the process of evaluating your winform controls and I'm trying to emulate the way the demo app hub changes the title bar of a form, size and colour. For example when selecting the Grid Example the header is about 80 high, dark blue with a back button.

The app I created has a simple Radform and Rad Data View, on load I try to change the TitleBar, but I must be doing something wrong.
I can change the background colour but the background of the system buttons stay the same.

Here's a snippet 
           this.FormElement.TitleBar.Size = new System.Drawing.Size(this.Width, 100);
            this.FormElement.TitleBar.FillPrimitive.BackColor = Color.DarkBlue;
            this.FormElement.TitleBar.CloseButton.ImagePrimitive.BackColor =  Color.Transparent;

I has also tried to create a new RadTitleBarElement, but the out come is the same.

I know I'm missing something simple here so can you point me in the right direction?

Cheers
Shaun.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Dec 2018
1 answer
265 views

I trying out the UI for winforms.   I seem to get pixelated text in the radlabel.   What do I need to do to fix it?

Dimitar
Telerik team
 answered on 03 Dec 2018
2 answers
623 views
How do i set a min um with on split container i have followed the basic demo on here how to setup the splitter so i have left side and a right with to split panels either side what is it i need to set the width so that the user cannot go to some silly width
Hristo
Telerik team
 answered on 03 Dec 2018
0 answers
180 views
I have a DatePicker (not DateTimePicker) and want to add functionality to it.  If I type "t" it displays today's date.  This part works, but I also want to add t-n/t+n where n is the number of days to add or subtract from today's date.  However, whenever you type a number into a DatePicker, it automatically assumes the same month and year and outputs whatever number you type as the date.  For example if i type t+4, and today's date is 11/20/2018, it displays 11/4/2018, even though, through debugging, it does hit the line that should display 11/24/2018.  It appears to run OnValueChanging a second time, imputing what telerik thinks I want.  Is there anyway to disable this, or cancel it once it starts?
William
Top achievements
Rank 1
 asked on 30 Nov 2018
1 answer
110 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
991 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
880 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
432 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
883 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
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?