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

I want to use RadScrollBar for scintillaNET syntax editor. How can i use RadScrollBar as custom scintillaNET scrollbar? Is it possible

Thanks.
Dimitar
Telerik team
 answered on 22 Oct 2014
1 answer
181 views
Hi,

I'm sure this is an easy issue but i'm struggling to find a solution on my own. Basically I want to get the name of the column that i made groupby it.


example:
.
1- I have data in my radgridview and i drag and drop on of the column to make group by it.

2- I have an event 
   
Private Sub ReportingGridView_GroupByChanged(sender As Object, e As GridViewCollectionChangedEventArgs) Handles ReportingGridView.GroupByChanged

End Sub


my question is : how I can return the name of the column that I made group by it??????????????



PLZ Help...
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2014
11 answers
1.3K+ views

Hi,

Could you please provide me any solution how to change selected grid view row color using Visual Style Builder.

I'd like to customize it and don't know how to handle this problem.

I was browsing it for a long time with out any result ... 

Thanks in advance,

Regards.

Stefan
Telerik team
 answered on 22 Oct 2014
2 answers
136 views
In my application I use a RadRibbonForm and I set  RibbonBar.Expanded = false; . But it looks like the ribbonbar missing something as (1) in the image. Please see the attachment. In the application I pressed button ExpandButton  twice, and I got the correct menu as (2) in the image.
Is there any way to make the first time I run my application which the RibbonBar.Expanded=false and I get the correct menu as (2) in the image.
Thanks & Best Regards,
Nguyen
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2014
1 answer
219 views
Hello,

Is there any way to add a button on title bar of RadRibbonForm or a textbox like the image below?

Thanks & Regards,
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2014
2 answers
2.3K+ views
Hi,

I have my Radgridview for Winforms (vb.net) with multi-select option.

I have set my code to change the backcolor of the grid based on a criteria.

If CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 0 Or CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 20 Then
    e.RowElement.DrawFill = True
    e.RowElement.BackColor = Color.LightYellow
ElseIf CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 3 Then
     e.RowElement.DrawFill = True
     e.RowElement.BackColor = Color.Gold
End If

It works perfect!

But now when I multi-select the rows it doen't show the color of the selection? Is there a way to have the rows selected to have different color? Atleast I need to differentiate the selected rows.

In the attachment I submitted, I have selected row 2,3 and 4. It just shows the border of the rows little darker. Its very harder to distinguish the color of the selection.

So I just want a color for selecting records and if I unselect it, the color should come back to the original color.
Beatrice
Top achievements
Rank 1
 answered on 21 Oct 2014
4 answers
347 views
Hi,

I have a two level hierarchy in my RadGridview and want to hide a column on the second level grid, on a per row basis, based on a data element on the parent row.

I have attached an example, Based on the value of column3 of the master template, subColumn 4 is either visible or not.

I know how to programmatically set the visibility of the column, the only problem is that i do not have a per master template row granularity of control over the visibility of the second level grid's columns. the column is either visible for all of the second level hierarchy grids or not visible.

Is this a limitation of the gridview? At this point, some general guidance on this matter would be very helpful.

Thanks!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2014
5 answers
221 views
Hi, my intention is to display a RadcontextMenu on a RadListControl when a mouse right-button is pressed or released (depending on the ClickMode configuration of the RadListControl).

I just would like to threat a right-button click in the same way as a left-button click is threated by default in a  RadListControl, but I don't know whether Telerik provides a way to do this just by setting an specific property or somethins similar, what I'm doing is iterating the RadListControl items and determine which item contains the current mouse location but maybe this is a heavy method for big list item collections.

Pleasse. could you check my approach to see if it can be improved/simplified in some way via Telerik?

Also, I have an unsolved problem, in the line 96 of the code below I would like to determine which radListControl called the RadContextMenu to retrieve its SelectedItem.Text property, but I don't know if its possibly.

Thanks in advance.

001.Option Strict On
002.Option Explicit On
003.Option Infer Off
004. 
005.Imports Telerik.WinControls
006.Imports Telerik.WinControls.Enumerations
007.Imports Telerik.WinControls.UI
008. 
009.Public Class RadContextMenu_TestForm
010. 
011.    Private Shadows Sub Load() Handles MyBase.Load
012. 
013.        ' Set the RadListControl behavior
014.        With Me.RadListControl1
015.            .SortStyle = SortStyle.Ascending
016.            .SelectionMode = SelectionMode.One
017.            .ListElement.ClickMode = ClickMode.Release
018.        End With
019. 
020.        ' Set the listRadListControl items
021.        Me.RadListControl1.DataSource =
022.            From p As Process In Process.GetProcesses
023.            Select p.ProcessName
024. 
025.    End Sub
026. 
027.    ''' <summary>
028.    ''' Shows a RAD context menu on the active <see cref="RadListControl"/> item.
029.    ''' </summary>
030.    ''' <param name="ctrl">The <see cref="RadListControl"/> control.</param>
031.    ''' <param name="ctxm">The <see cref="RadContextMenu"/> to show.</param>
032.    Private Sub ShowRadContextMenu(ByVal ctrl As RadListControl,
033.                                   ByVal ctxm As RadContextMenu)
034. 
035.        For Each Item As RadListDataItem In ctrl.Items
036. 
037.            If Item.VisualItem IsNot Nothing AndAlso Item.VisualItem.IsMouseOverElement Then
038.                Item.Selected = True
039.                ctxm.Show(MousePosition)
040.            End If
041. 
042.        Next Item
043. 
044.    End Sub
045. 
046.    ''' <summary>
047.    ''' Handles the MouseDown event of the RadListControl1 control.
048.    ''' </summary>
049.    ''' <param name="sender">The source of the event.</param>
050.    ''' <param name="e">The <see cref="MouseEventArgs"/> instance containing the event data.</param>
051.    Private Sub RadListControl1_MouseDown(ByVal sender As Object, ByVal e As MouseEventArgs) _
052.    Handles RadListControl1.MouseDown
053. 
054.        Dim ctrl As RadListControl = DirectCast(sender, RadListControl)
055. 
056.        If (e.Button = Windows.Forms.MouseButtons.Right) _
057.        AndAlso (ctrl.ListElement.ClickMode = ClickMode.Press) Then
058. 
059.            Me.ShowRadContextMenu(ctrl, Me.RadContextMenu1)
060. 
061.        End If
062. 
063.    End Sub
064. 
065.    ''' <summary>
066.    ''' Handles the MouseUp event of the RadListControl1 control.
067.    ''' </summary>
068.    ''' <param name="sender">The source of the event.</param>
069.    ''' <param name="e">The <see cref="MouseEventArgs"/> instance containing the event data.</param>
070.    Private Sub RadListControl1_MouseUp(ByVal sender As Object, ByVal e As MouseEventArgs) _
071.    Handles RadListControl1.MouseUp
072. 
073.        Dim ctrl As RadListControl = DirectCast(sender, RadListControl)
074. 
075.        If (e.Button = Windows.Forms.MouseButtons.Right) _
076.        AndAlso (ctrl.ListElement.ClickMode = ClickMode.Release _
077.                 OrElse
078.                 ctrl.ListElement.ClickMode = ClickMode.Hover) Then
079. 
080.            Me.ShowRadContextMenu(ctrl, Me.RadContextMenu1)
081. 
082.        End If
083. 
084.    End Sub
085. 
086.    ''' <summary>
087.    ''' Handles the Click event of the RadMenuItem1 control.
088.    ''' </summary>
089.    ''' <param name="sender">The source of the event.</param>
090.    ''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
091.    Private Sub RadMenuItem1_AddToExclusionList_Click(ByVal sender As Object, ByVal e As EventArgs) _
092.    Handles RadMenuItem1.Click
093. 
094.        If DirectCast(e, MouseEventArgs).Button = Windows.Forms.MouseButtons.Left Then
095. 
096.            MessageBox.Show(DirectCast(RadMenuItem1.OwnerControl, RadListControl).SelectedItem.Text)
097. 
098.        End If
099. 
100.    End Sub
101. 
102.End Class
Dimitar
Telerik team
 answered on 21 Oct 2014
1 answer
157 views
Are there plans to have RadDataEntry implement the IPrintable interface so it can be used with RadPrintDocument?
George
Telerik team
 answered on 21 Oct 2014
1 answer
125 views
Hi, 

How can i catch a new added row event while the user process the adding event 

thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2014
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?