Telerik Forums
UI for WinForms Forum
1 answer
105 views
Hi,

I have two questions

1) I am after complete application of scheduler working with object datasource. (working with database)
2) Anyone use sql 2000 with scheduler, i am getting error Date datatype is not supported

Regards,
Syed
Dobry Zranchev
Telerik team
 answered on 30 Jun 2010
1 answer
94 views
Hi,

I need to Upgrade Telerik controls for winform from q3 2009 to q1 2010. What is the procedure to upgrade to the new version. Is it free for the exisiting customer? Please let me know.

Thanks,
Munish
Stefan
Telerik team
 answered on 30 Jun 2010
1 answer
382 views
I can't seem to get the RadForm's size grip to show. I am setting SizeGripStyle to Show, which is all is takes when using a regular windows form control. What else do I need to do to get it to show on a RadForm?

FYI - I'm using WinForms 2010 Q1.

Thanks in advance!
John
Deyan
Telerik team
 answered on 30 Jun 2010
1 answer
193 views
Hi!

Im trying to use an alternative GridEditor to input Enter into an Textfield in an RadGridView and found the example above anywhere here in the forum.
The problem is, when I'm clicking in the Editbox to edit the text everything works fine, but when I click on the same or on an other textfield in the grid no cursor is shown and it's not possible to edit the fields as long as i reopen the form.

Please help

regards
Willi

Use:
    Private Sub grdOPdaten2_EditorRequired(ByVal sender As ObjectByVal e As EditorRequiredEventArgs) Handles grdOPdaten2.EditorRequired 
        If e.EditorType Is GetType(RadTextBoxEditor) Then 
            e.EditorType = GetType(MyTextBoxEditor) 
        End If 
    End Sub 

Class:
Public Class MyTextBoxEditor 
    Inherits BaseGridEditor 
    Public Overrides Property Value() As Object 
        Get 
            Dim editorElement As MyTextBoxEditorElement = DirectCast(Me.EditorElement, MyTextBoxEditorElement) 
            Return editorElement.HostedControl.Text 
        End Get 
        Set(ByVal value As Object
            Dim editorElement As MyTextBoxEditorElement = DirectCast(Me.EditorElement, MyTextBoxEditorElement) 
            If value Is Nothing OrElse value Is DBNull.Value Then 
                editorElement.HostedControl.Text = String.Empty 
            Else 
                editorElement.HostedControl.Text = value.ToString() 
            End If 
        End Set 
    End Property 
 
    Public Overrides Sub BeginEdit() 
        MyBase.BeginEdit() 
        Dim editorElement As MyTextBoxEditorElement = DirectCast(Me.EditorElement, MyTextBoxEditorElement) 
        editorElement.HostedControl.BackColor = Color.White 
    End Sub 
 
    Protected Overrides Function CreateEditorElement() As RadElement 
        Return New MyTextBoxEditorElement() 
    End Function 
End Class 
 
Public Class MyTextBoxEditorElement 
    Inherits RadHostItem 
    Public Sub New() 
        MyBase.New(New TextBox()) 
 
        Me.StretchHorizontally = True 
        Me.StretchVertically = True 
        DirectCast(Me.HostedControl, TextBox).AcceptsReturn = True 
        DirectCast(Me.HostedControl, TextBox).AcceptsTab = True 
        DirectCast(Me.HostedControl, TextBox).Multiline = True 
        AddHandler DirectCast(Me.HostedControl, TextBox).KeyDown, AddressOf MyTextBoxEditorElement_KeyDown 
    End Sub 
 
    Private Sub MyTextBoxEditorElement_KeyDown(ByVal sender As ObjectByVal e As KeyEventArgs) 
        If e.KeyCode = Keys.Escape OrElse _ 
        (e.KeyCode = Keys.Enter AndAlso e.Modifiers = Keys.Shift) OrElse _ 
        e.KeyCode = Keys.Tab Then 
            Dim grid As RadGridView = DirectCast(Me.ElementTree.Control, RadGridView) 
            grid.GridBehavior.ProcessKeyDown(New KeyEventArgs(e.KeyCode)) 
        End If 
    End Sub 
End Class 

Alexander
Telerik team
 answered on 30 Jun 2010
1 answer
222 views
Hi!

I'm trying to change the Tab Order in the Telerik RadGridView when using HtmlViewDefinition. Is this possible?
Please see the attached File, Blue is the current order and red is the order i want.

Please help

regards

Willi

Initializing HtmlViewDefinition:
 Dim htmlView As New HtmlViewDefinition 
 
        With htmlView.RowTemplate 
            .Rows.Add(New RowDefinition) 
            .Rows(0).Cells.Add(New CellDefinition("cmbIcpmppCode")) 
            .Rows(0).Cells.Add(New CellDefinition("dtDatum")) 
            .Rows(0).Cells.Add(New CellDefinition("cmbLocal")) 
            .Rows(0).Cells.Add(New CellDefinition("txtZusatz")) 
            .Rows(0).Cells.Add(New CellDefinition("chkHauptleistung")) 
            .Rows(0).Cells.Add(New CellDefinition("grdCmdDelete")) 
 
            .Rows(0).Cells(1).RowSpan = 2 
            .Rows(0).Cells(2).RowSpan = 2 
            .Rows(0).Cells(3).RowSpan = 2 
            .Rows(0).Cells(4).RowSpan = 2 
            .Rows(0).Cells(5).RowSpan = 2 
 
            .Rows.Add(New RowDefinition) 
            .Rows(1).Cells.Add(New CellDefinition("cmbArzt")) 
 
        End With 
        grdOPdaten2.ViewDefinition = htmlView 

Jack
Telerik team
 answered on 30 Jun 2010
2 answers
97 views

Hi,

I added a tab strip with two tab items on the left side. Furthermore I changed the TextOriantation to vertical so that the text appears horizontal on screen. At the end I attached an Image to both tab items. After compiling the application the height of the tab strip changes, both tab items looses their ImagePrimitive settings and the second tab item looses the attached image. 

Regards

Martin

Deyan
Telerik team
 answered on 30 Jun 2010
1 answer
186 views
Hello,
I'm trying to use conditional formatting based on two different columns in a grid.
One is a bool column, based on it i change the row forecolor, the other one is an int and based on it i change the row backcolor. Both are applied to the full row. If i only create the first formatting, it works fine. If i add the second formatting object, the first one does not work anymore. I am only setting RowForeColor on the first formatting object and RowBackColor on the second one. What am i doing wrong? Or are the conditionalFormattingObjects built such that you can only use them on one column at a time on a grid if you apply them to the full row.

Waiting for your response
Jack
Telerik team
 answered on 30 Jun 2010
1 answer
534 views
Hi,

I'm trying to create listbox items programatically and have been so far completely unable to set the back color of the listbox items or to turn the borders on for all listboxitems. Please help.

        // Method to set default ListItem properties 
        private RadListBoxItem newListItem(string displayText, int ID, GMapMarker marker) 
        { 
            RadListBoxItem item = new RadListBoxItem(); 
            item.ImageAlignment = ContentAlignment.MiddleLeft; 
            item.TextImageRelation = TextImageRelation.ImageBeforeText; 
            if (marker is JobMarker) 
            { 
                item.Image = (Image)Properties.Resources.ResourceManager.GetObject(((JobMarker)marker).IconFileName); 
                if (!((JobMarker)marker).IsGeoCoded) 
                    item.BackColor = Color.LightPink; 
            } 
            else if (marker is EmployeeMarker) 
            { 
                item.Image = (Image)Properties.Resources.ResourceManager.GetObject(((EmployeeMarker)marker).IconFileName); 
                if (!((EmployeeMarker)marker).isGeoCoded) 
                { 
                    item.BackColor = Color.LightPink; 
                } 
            } 
            item.Text = displayText; 
            item.Tag = ID; 
            return item; 
        } 

This is the code I am using to create the listboxitem

Boryana
Telerik team
 answered on 30 Jun 2010
3 answers
156 views
Hi,
I have combobox and textbox in my grid and i have 2 tables which stores bank name in the 1st table and the bank account number in the second table.i want that when i select bank name in the combobox it will shows me the account number in the gridviewtext?
Nikolay
Telerik team
 answered on 30 Jun 2010
3 answers
247 views
I have serveral documents and tool windows opened on my maindoc,
I am using SaveLayout method to save my document, and tool windows position.

When i restart my application ifound that theres no way ican get which document or toolwindow are being loaded from .xml file.

I want to load each forms one by one and assign values to my static objects(this is necessary before loading each forms) of perticular document or toolwindow.

How can i accomplish this?
Which event will give me one by one loading of each window?

If thers other way then tell me.
Nikolay
Telerik team
 answered on 30 Jun 2010
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?