Telerik Forums
UI for WinForms Forum
5 answers
810 views
Is there an event for clicking a Legend Item
Kyle
Top achievements
Rank 1
 answered on 11 Dec 2017
7 answers
309 views
Hello,

We have a scenario where we have a table of values that for example list what position type a certain contact would be, the table has an active flag that when set to 'N' means we do not want this value selected on any new entries.  However there is a high possibility that existing records may still use that value.  So when a user opens that contact they should still see that contact's position type, but they shouldn't be able to select an inactive value.

Is it possible to achieve this with the drop down list?

Thanks,

Jeremie
Hristo
Telerik team
 answered on 11 Dec 2017
3 answers
152 views

Hello Telerik,

  I would like to implement a menu item as shown in your sample here -> (https://docs.telerik.com/devtools/winforms/menus/menu/working-with-radmenu-items/nesting-controls-in-menu-items#nesting-radelements-in-menu-items) Where there is an input box and OK button.  However, I am not to get the same effect as shown in the sample.  I'm actually not sure what the "radmenu1" item is in the sample

Desired result:

Option1

-----------

Option 2

Option 3

Option n....

----------- <- Line separator

[Enter New Option Name Here] OK

 

My sample tests shows the following;

Option1
-----------
Option 2
Option 3
Option n....
----------- <- Line separator
[Enter New Option Name Here]

OK

Also, is there a concept of a "placeholder" for the [Enter New Option Name Here] text so that it goes away when you start typing?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Dec 2017
2 answers
720 views
Hi all,

Just wondering if there was to programmatically select specific rows (that meet a criteria, for example), and then move those rows to the top of the grid.

Specifically, I'm looking for a way to do this with a bound list.

This thread was the closet I was able to find on the issue..  http://www.telerik.com/community/forums/winforms/gridview/is-it-possible-the-reorder-the-rows-in-radgridview.aspx
jamsheer
Top achievements
Rank 1
Veteran
 answered on 11 Dec 2017
5 answers
739 views

Hi Jack,

There’s 1 scenario / control that I need to achieve that I could not.
So I’d appreciate if you could help me with this.

What I want is a horizontal list of (selectable) images with a text below each image. The list should also scroll horizontally
I want to add the image items programmatically, filling with a generic list of objects to fill the items with.
if content is wider that the control area. Images have a transparent background of course.
I’ve attached a image so that you can exactly see what I mean.

The ‘bad’ image was my first try of me with the RadListView (from the WinForms UI suite).
I tried to set the position of the text and image so that the text comes below the image, but that doesn’t seem to work properly.
I don’t know if its me or if it is a bug?

A working example of exactly this scenario / controltype would help.


Dimitar
Telerik team
 answered on 11 Dec 2017
16 answers
407 views

I have some problems with detecting the MdiChild after converting from DockingManager to RadDock.

DockingManager1.ActiveMdiChild returned a form.

In RadDock there is no ActiveMdiChild property, and RadDock1.ActiveWindow returns a DockWindow, which cannot be casted to a form, and my program crashes.

I've tried bool exists = (Array.IndexOf(RadDock1.MdiChildren, RadDock1.ActiveWindow), but it returns false.

My entire code is built on ActiveMdiChild being a form, and it would be a lot of work converting it to DockWindow.

How can I get the currently active MdiChild from the RadDock?

Regards, Jill-Connie Lorentsen

Dimitar
Telerik team
 answered on 11 Dec 2017
5 answers
1.0K+ views
Hi I am using RadControlsWinforms_Q2_2008, and I have a Problem

I am using a RadGrid and I add the columns using the Property Builder. Then I add a textboxcolumn and put a {0:c} on the    FormatString, but whe the Grid is displayed it ignores the format.

Thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Dec 2017
7 answers
180 views

Hi, I'm testing Telerik UI for WinForms.

I am trying to show points from a SQL Server database. But I can not make it work. This is the code

            'Conection DataBase
            go_con_sql.ConnectionString = "workstation id='.........';packet size=4096;user id=.......;pwd=.....;data source=..........;persist security info=False;initial catalog=EL_SAR_NET_V30_LUJAN"
            go_con_sql.Open()

            'Query **nod_obj is geometry data type
            Dim ls_sql As String = " Select nod_id,nod_descripcion,nod_obj from mags.EL_Nodos  "
            lo_SqlCommand = go_con_sql.CreateCommand()
            lo_SqlCommand.CommandText = ls_sql
            le_ConnectionState = lo_SqlCommand.Connection.State
            If lo_SqlCommand.Connection.State <> ConnectionState.Open Then lo_SqlCommand.Connection.Open()
            lo_SqlDataAdapter = New SqlClient.SqlDataAdapter(lo_SqlCommand)
            lo_SqlDataAdapter.Fill(lo_DataTable)

            'Load Bing 
            Dim cacheFolder As String = "..\..\cache"
            Dim bingProvider As BingRestMapProvider = New Telerik.WinControls.UI.BingRestMapProvider()
            bingProvider.UseSession = True
            bingProvider.BingKey = "JUnqKyILAJmo6DGiOQ1r~kPM5XDXLRRv1oTVw6XlLbQ~Ap55t-r-mO9JsRmL8z6YFqy6ivH1jv2CFsiEk4AP9JIJQnLfghVjCrIjCPVE-lDY"
            Dim cache As New LocalFileCacheProvider(cacheFolder)
            bingProvider.CacheProvider = cache
            Me.RadMap1.Providers.Add(bingProvider)


            'Load Layer Nodos
            Dim layer As New MapLayer("Nodos")
            Me.RadMap1.Layers.Add(layer)


            Dim source As New BindingSource()
            source.DataSource = lo_DataTable
            Dim datareader As New SqlGeospatialDataReader()
            datareader.Source = source
            datareader.GeospatialPropertyName = "nod_obj"

            'Here is error
            Dim elements As List(Of MapVisualElement) = datareader.Read(source, "nod_obj", True, Nothing) ', True, Nothing
            For Each item As MapVisualElement In elements
                item.BorderColor = Color.YellowGreen
            Next
            Me.RadMap1.Layers("Nodos").AddRange(elements)

The error is "GeospatialPropertyName"

 

What am I doing wrong?

Thank you

Regards

Abel

 

Dimitar
Telerik team
 answered on 11 Dec 2017
2 answers
145 views

We upgraded Telerik winform Q3 2017 and the Right-Click copy was just getting the Cell now in the new version we are getting the entire line on a right-click copy.
How do I get the old behavior back? Probably a simple setting that I cannot seem to find.

Thx

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Dec 2017
4 answers
140 views

Hello, 

I have a radgridview with a datasource linked to entity framework and it works fine.

I have an entity called "USER" and I display all my users in the radgridview, it works just fine.

In my USER entity, I have an attribute "GROUP" which is a collection :

public virtual ICollection<GROUP> GROUP { get; set; }

 

I would like to add a second radgridview to display groups details when you select a user. I think I have to play with event SelectionChanged on the main radgridview but I don't really know how to handle this.

 

Thanks, 

Florian

 

florian
Top achievements
Rank 1
 answered on 08 Dec 2017
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?