Telerik Forums
UI for WinForms Forum
4 answers
275 views

Hi - I need some help with rad panel borders in a WinForm.  I understand from other threads that the way to get a panel's borders to disappear is to set the PanelElement.PanelBorder.Visibility to "Collapsed".  This causes the border to disappear just fine, but it also affects the parent panel by making its borders disappear too.  See the attached image for how it looks.

Is there a way for me to get the child panels to have no border but also not affect the parent panel?  I want that border to remain as it is.

Side note: I have the two child panels inside the parent and set them to Dock left so that when the left control isn't needed that panel can be set to invisible and the panel containing the remaining controls will move to the left.

Thanks.

Bob
Top achievements
Rank 1
 answered on 13 Nov 2015
1 answer
178 views

I have added a custom column with a radSplitButton to my grid. When a button item is clicked, I would like to get the value from another cell in the row, delete the current row and delete other rows in the grid. I raise an event when a button item is clicked. I tried using the following code to subscribe to the event but the cellelement is nothing at this point. What is the best way to subscribe to the event?

 

  Private Sub dgvReconcile_CreateCell(sender As Object, e As Telerik.WinControls.UI.GridViewCreateCellEventArgs) Handles dgvReconcile.CreateCell
        Try
            If e.Column IsNot Nothing AndAlso Not e.CellElement Is Nothing Then
                If e.Column.Name = "CreateNew" AndAlso (TypeOf e.Row Is GridDataRowElement OrElse TypeOf e.Row Is GridNewRowElement) Then
                    Dim myElement As SplitButtonCellElement = DirectCast(e.CellElement, SplitButtonCellElement)
                    AddHandler myElement.NewClicked, AddressOf btnCreateNew_Click
                End If
            End If
        Catch ex As Exception
            MsgBox(ex.ToString)
        End Try
        
    End Sub​

Dimitar
Telerik team
 answered on 13 Nov 2015
5 answers
469 views
I am building the property grid at runtime and I want to use the standard property editors/Attributes  such as Password, browser, dropdown list, etc.    I've found examples of how to write custom editors, but in this case I want to leverage the build in editors.    How can I assign editor attributes at runtime for programmatically added items in a property grid ?

This is the WinForm version of the control , not WPF
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Nov 2015
5 answers
256 views
Hello,

First at all, I would like to say that I like Telerik UI for Winforms a lot, pretty much better than the basic controls of Visual Studio.

I'm using RadScheduler in TimeLineView to make the schedule of the salaries of my company.

The Scheduler is group by resources (the salaries) and show 3 weeks (see the screenshot for more details).

I would like to print the schedule similar (or "look like") as what the user see on his screen.

I looked the options in the PrintPreview things, but I didn't find how to make it.

Is it possible ? And how ?

Thanks in advance.

Sincerely,

Jérémy SIMAO

PS : Sorry for my bad English, I'm French so it's a bit difficult for me to explain it well.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Nov 2015
9 answers
1.8K+ views
Hi

are there is event like SelectionChangeCommitted in the rad ComboBox  in win forms ?
the pwoer of this event is that SelectionChangeCommitted is raised only when the user changes the combo box selection. if you use SelectedIndexChanged or SelectedValueChanged to capture user changes, because those events are also raised when the selection changes programmatically.

Stefan
Telerik team
 answered on 12 Nov 2015
14 answers
192 views
Hi,

Is it possible that if user click the hyperlink a form will be open?
Thanks.
VLADISLAV
Top achievements
Rank 1
 answered on 12 Nov 2015
1 answer
121 views

Hello, is it possible to modify the calculator?

For example, I only want to have a num pad without memory and calculation buttons.

At the moment, I only can disable or hide the buttons. But that is not very nice.

 

Thanks for your help!

Dimitar
Telerik team
 answered on 12 Nov 2015
2 answers
137 views

Hi Telerik,

 I use the RowFormatting Event to change the bordel color of the parentrow when childrows are expanded, here's my code :

 

private void GridEmployeRenard_RowFormatting(object sender, Telerik.WinControls.UI.RowFormattingEventArgs e)
       {
           if (e.RowElement.RowInfo.IsExpanded)
           {
               e.RowElement.BorderColor = RowExpandedColor; // RowExpandedColor is set above in the code
           }
           else
           {
               e.RowElement.ResetValue(Telerik.WinControls.UI.LightVisualElement.BorderColorProperty, ValueResetFlags.Local);
           }
       }

However when the row losts focus, the bordercolor is reset.
I need the rowBorderColor keeps the RowExpandedColor value until the row is collapsed by the user.

Any idea to do that please ?

 

Regards.

christian
Top achievements
Rank 1
 answered on 12 Nov 2015
2 answers
836 views

The documentation says multi-select is possible, even gives examples here: http://www.telerik.com/help/winforms/dropdown-and-listcontrol-dropdownlist-selection.html

 I am using version 2015.3.1104.40 version of Telerik.WinControls for WinForms (I recently upgraded to the latest version).

I don't see this property anywhere under drop down list, nor does it come up in intellisense.

Stefan
Telerik team
 answered on 12 Nov 2015
3 answers
163 views

Since the latest Update (Nov 2015) I run in all my implementations for LOD (RadTreeView) into an endless loop (stack overflow exception).

I've checked my implementation and even if I return immediately in the NodesNeeded event method - the exception is thrown.

It seems to me, that this update is buggy ... Can anybody confirm this observation or is there a problem on my side?

My implementation is very simple

LazyLoad=false

NodesNeeded += (o, e)=>{return;};

Any help is appreciated.

 

Thanks

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?