Telerik Forums
UI for WinForms Forum
3 answers
654 views

In regular winforms controls, where there's a touch screen, if a textbox gains focus then the touch keyboard doesn't automatically popup. However automatic popup works correctly on winforms VS RichTextbox control.

see the following stackoverflow forum thread

https://stackoverflow.com/questions/36179917/automatically-pop-up-tablet-touch-keyboard-on-winforms-input-focus/40259606

I only discovered the problem a couple of days ago as I usually use keyboards I've developed myself which are embedded in my windows. We've moved into the Chinese market with our product and because the Pinyin keyboard is so horribly complex we thought we'd opt to use Windows own touch keyboard despite not being able to host it nicely in the windows. Whilst researching and testing we discovered in horror that textboxes wouldn't support it.

My only option is switching out all textboxes and there's 100s of forms :( .

I've a 2nd problem in that I can't test on my development pc as it doesn't have a touch screen, the touch screen emulator came after vs2010. So I can't just throw one of your radtextboxes on  a form and try it out.

So my question is, if I globally switched out all the textboxes with RadTextBox or radtextboxcontrol, will they automatically pop up the touch keyboard? (We're updating our old app a form at a time with telerik controls)

thanks
Hristo
Telerik team
 answered on 04 Apr 2018
3 answers
126 views
Please look at the attachment,

From the first column to the third column, my expectations are like the fifth column.

Remarks: I hope to support word (or excel) replication in the entire row (full column)
Hristo
Telerik team
 answered on 03 Apr 2018
3 answers
171 views
This bug appears in the entire row or column。
Hristo
Telerik team
 answered on 03 Apr 2018
9 answers
600 views
Hi,
I have RadGridView object and I want to Validate user input. there are two coulmns. when the user enters a value which is greater than 0 for column1 then if the column2 is greater than 0 an error must be occured and also this is the rule for coulmn2 (that is if coulmn2 value is greater than 0 and also column1's value is greater than 0 the error occurs.)
the problem is that first of all I must check the value of a cell. but when I check an error occurs and tells that the value is null:
if(column1.currentrow.column["MyCoulmn"].value!=null) // Runtime Error:  Value is null, use new keyword!

how can I validate column content without getting this error. also when I try this:
Convert.ToInt16(column1.currentrow.column["MyColumn"].value.ToString())>0
FormatException Occurs. While my value is 2 for example, Why such error occurs?
Thank you, please help me.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Apr 2018
1 answer
134 views

I read this: "Commercial WinForms applications deployed to Your end users. In this case, you may deploy the Telerik assemblies together with your application with the sole exception of the Telerik.WinControls.UI.Design.dll assembly. The Telerik.WinControls.UI.Design.dll assembly may not be deployed to end-users under any circumstance."

 

And then if I release a free or trial version I'm required to protect all assemblies. If I don't sell my application with a free version or a free version with a trial I can deploy all the telerik assemblies as is with the exception of Telerik.WinControls.UI.Design.dll?

Hristo
Telerik team
 answered on 02 Apr 2018
1 answer
131 views
Please refer to the picture to see the following information:
T1, T2 are two common cells and T3 is a merged cell
When the mouse moves on T3, it triggers the border of T1 and T2, which will change the cell size of T1 and T2
Hristo
Telerik team
 answered on 02 Apr 2018
1 answer
141 views

I'm evaluating the RichTextEditor for WinForms as a replacement for another third-party control.  Frankly it would save me a lot of work if we could use your control, so I'm very enthusiastic about it, but I've discovered a problem.  When a line contains multiple font styles, I'm seeing a vertical alignment issue. Likely no one would ever do this in the real world, but it's part of our regression tests and I know it's going to be a barrier selling this to my boss.

I've attached a couple images.  My test app is little more than the editor and an associated ribbon bar, and I used the ribbon bar to make the formatting changes as shown.  The default font in Verdana, and the misaligned text is Courier New.  I saved the text as a docx and loaded it in Word, and you can see in the other image that the alignment problem is not present.

Any suggestions?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
9 answers
542 views

Hi, I'm stuck with such a problem.

I need to filter data at grid only from code (ShowFilteringRow = false). My filter condition is slightly complex so I use the FilterPredicate just like that - https://docs.telerik.com/devtools/winforms/gridview/filtering/custom-filtering#implementing-filtering-mechanism-using-filterpredicate

I've set  EnableCustomFiltering = true and implement the PerformFiltering predicate:

private void ChangeFilter(bool filtering)
{
    tree.BeginEdit();
    if (filtering)
    {
        tree.MasterTemplate.FilterPredicate = new Predicate<GridViewRowInfo>(PerformFiltering);
    }
    else
    {
        tree.MasterTemplate.FilterPredicate = null;
    }
    tree.EndEdit();
}
 
private bool PerformFiltering(GridViewRowInfo row)
{
    return (decimal)row.Cells["UnitPrice"].Value > 30;
}

But nothing happens when I fire the ChangeFilter() - the data still unfiltered. Do you know please, ehat am I doing wrong, or how can I fire filtering process from code?

M

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
7 answers
190 views
Hi Telerik,

I have a nested grid and would like to apply different theme for each child grid. Is it possible to do such thing?
For example:

- the first grid uses Aqua theme
    - the 1st child grid uses Desert
        - the 2nd child uses Office 2010
          
Another option is to have different color for each grid.

Regards,

Alep
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
2 answers
162 views
I am working on a screen that uses the scheduler.  I only want to show the month view and place the different tasks on the calendar.  I have this working the main issue I am having is I would like to color the background based on our own internal status.  As of right now I have been able to use the AppointmentFormatting to change the colors and have it display the way I would like.  I also see that I could add AppointmentBackgroundInfo so for Status Id's that already exist are no issue.  Is there a way to override the existing status backcolor and gradientstyle?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?