Telerik Forums
UI for WinForms Forum
1 answer
211 views

Converting from using the microsoft DataGridView.  When using a checkbox column in DataGridView, you can set the value that the data holds for the item to be checked, or the true value.  In our system, True is 1, and 0 is false. 

Is there a way to have the GridViewCheckColumn identify what the data value should be for true?  It would be a lot of work to change all of our data to convert to use boolean rather than 1/0.

 

 

Dimitar
Telerik team
 answered on 25 Nov 2015
1 answer
128 views

Hi,

 

 When I want to enter the char 'ę' (right alt+e) editor insert additional '€' so in the end it look like '€ę'. The same situation is with 'ć'. After pressing alt+c it give me '©ć'.

I checked the CommandExecuting event and InsertText command is invoked twice.

That's the main problem. 

The following combinations also should not insert any character (at all): alt+r: ®, alt+t: ™, alt+u: €

 

I am using keyboard polish (programmers) and polish language in Windows 10.

Hristo
Telerik team
 answered on 25 Nov 2015
4 answers
394 views
hiii

i just add 4 windows forms as tol window in a dock control, but i can't set its location that i need...
how can i set the form location in raddock.

i'm using these codes form adding forms to raddock but it shwoing as verticle.. i need to re order it like 2 column and 2 row table.. i mean the first row have 2 frms and second row too...
how can i ???
            frm1 = new Form(); 
            frm2 = new Form(); 
            frm3 = new Form(); 
            frm4 = new Form(); 
 
            
 
            frm1.BackColor = Color.Pink; 
            frm1.Text = "My Form1"
            this.radDock1.DockControl(frm1, DockPosition.Right); 
 
            frm2.BackColor = Color.Pink; 
            frm2.Text = "My Form2"
            this.radDock1.DockControl(frm2, DockPosition.Left); 
 
            frm3.BackColor = Color.Pink; 
            frm3.Text = "My Form3"
            this.radDock1.DockControl(frm3, DockPosition.Left); 
 
            frm4.BackColor = Color.Pink; 
            frm4.Text = "My Form4"
            this.radDock1.DockControl(frm4, DockPosition.Left); 
Thanks,
Shinurag
Oliver
Top achievements
Rank 1
 answered on 25 Nov 2015
4 answers
826 views

 Hi,

 I have a gridview that is bound to a SQL Server DB table.  Users of the gridview can perform inline editing and save their changes using a save button.  The issue I am having is when a user makes changes to a row or rows and then presses a cancel button.  How do I reset these rows back to their initial values when a cancel button is clicked.  Is their a way to refresh or rebind the gridview?

 

 Thanks,

Matthew

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Nov 2015
3 answers
228 views

Hello

Is there a way to keep the vertical stacking order in TimeLineView  GroupedByResource Mode ?

 

I'm working on a planning for different machines and I'm using Hour/30 minutes/15 minutes timescale

I wanted to make WorkTimeException Rules but there's no such things in TimeLineView  so I decided to Create some gray Appointments to show when the machines are not supposed to run.

It's only informative, if the user wants to add or drag-and-drop an appointment that overlaps the grey appointment, he can.

 

The problem is that if the added/Dragged appointment's duration is longer than the gray one, it's stacked above the gray one and I'd like to avoid this.

The Grey appointment must always be on top of the stack (When Refreshing my RadScheduler i'm adding gray appointments first)

 

There's attached picture to illustrate my problem

 

Thanks a lot.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Nov 2015
1 answer
234 views

Hi,

When we run our program with RadRibbonForm and RadRibbonBar, the minimize and maximize disappeared. If you put the mouse cursor over the place where the buttons should be you can click. No changes in form have been made, it came after an update of the Telerik.

The buttons are visible in design mode.

Minimize and maximizebutton is set to true.

What am I missing?

 


 
Dimitar
Telerik team
 answered on 25 Nov 2015
9 answers
273 views

Hello,

 since the second last update (2015-3-930 and including the latest update 2015-3-1104) the font in the excel export is huge (font size 400something). In "PivotExportToExcelML" there are some changes regarding font/font size (in "CreateStyleElement"). The code hasn't changed and is very simple:

PivotExportToExcelML excelExporter = new PivotExportToExcelML(rPVPanels);
excelExporter.ExportVisualSettings = true;
excelExporter.RunExport(TempFile);

(ExportVisualSetting true/false doesn't change anything)

 Can you confirm that and any plans on fixing this?

 

 

 

Tapakah
Top achievements
Rank 2
 answered on 25 Nov 2015
16 answers
296 views

using CellFormatting event.How can  i setup borders for cells .
            BorderStyles border = new BorderStyles();
            border.Color = Color.Black;
            border.Weight = 1;
            border.LineStyle = LineStyle.Continuous;
            border.PositionType = PositionType.Bottom;
How can i use this, cause somethng like that :
            e.CellStyleInfo.Borders = border;

doesn't work.

In exportML were e.ExcelStyleElement.Borders.Add function, cant find how this must work.

Stefan
Telerik team
 answered on 24 Nov 2015
1 answer
235 views

Hi,

I am new in here. I hope someone will help me.I'm writing this peace of code to check if the inputted text are correct and change the color my text if it is wrong

My error is on SelectionStart and SelectionColor

Please see below my code

Private Sub RadRichTextEditor1_TextChanged(sender As Object, e As EventArgs) Handles RadRichTextEditor1.TextChanged
       Dim ValuetoCheck= RadRichTextEditor2.Text
       Dim ArrayValue() As String = W.Split(" ")
         For Each searchword As String In ValuetoCheck
           Dim index As Integer = 0
           While index <> -1
               index = RadRichTextEditor1.Text.IndexOf(searchword, index)
               If index <> -1 Then
                   If index = RadRichTextEditor1.Text.Length - searchword.Length - 1 Then
                       RadRichTextEditor1.SelectionStart = index
                       RichTRadRichTextEditor1extBox1.SelectionLength = searchword.Length
                       RadRichTextEditor1.SelectionColor = Color.Black
                       RadRichTextEditor1.SelectionStart = RadRichTextEditor1.Text.Length
                       Exit Sub
                   Else
                       index += 1
                   End If
               Else
                   RadRichTextEditor1.SelectionStart = n
                   RadRichTextEditor1.SelectionColor = Color.Red
               End If
           End While
       Next ' added
   End Sub

Dimitar
Telerik team
 answered on 24 Nov 2015
2 answers
132 views

Hi There,

 

I am using expression to define some special function for the format.

I have 2 questions:

1) my function is like

Public Class CustomExpressionContext
    Inherits Telerik.Data.Expressions.ExpressionContext
    Public Function formatAddress(ClientName As String, rawAdd As String) As String
        rawAdd = rawAdd.Replace("{}", vbCrLf)
        rawAdd = rawAdd.Replace("{lf}", ClientName & vbCrLf)
        rawAdd = rawAdd.Replace(vbCrLf & vbCrLf, vbCrLf)
        Return rawAdd
    End Function
End Class

when I use ColumnRawAdd.expression = "formatAddress(AliasName, RawAddresses)"   where ColumnRawAdd is the column for "RawAddresses"

I got exception like "RawAddresses is not defined in the context"

if I use a new column, and set newcolumn.expression = "formatAddress(AliasName, RawAddresses)"  

then there is no problem. Is there something I need to set or check for ColumnRawAdd so I can use ColumnRawAdd for it?

 

2)newcolumn is working fine, but if I LoadLayout for alll the columns first, then define newcolumn.expression = "formatAddress(AliasName, RawAddresses)"  

then the newcolumn is empty, without any exception. What should I do here to have newcolumn have value?

 

Thanks.

 

Ada

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Nov 2015
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?