Telerik Forums
UI for WinForms Forum
3 answers
198 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
830 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
814 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
479 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
219 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
183 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
194 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
8 answers
452 views

Hi guys,

 

I'm writing an application in vb.net 2017, using Backstage within RadPageView, and am running into an issue..

So, I'm using a 27" touch screen monitor, and have essentially added so many pages that I now need scroll buttons.

Well, the scroll buttons that are available as elements in the toolstrip are so tiny, that I won't be able to really use them with a touch screen.

My question is this: how can I go about making those scroll buttons bigger? If that's not possible, what code can I use if I add two bigger command buttons, in order to get a scroll up/scroll down function?

Also, I've never used gestures before (never worked with a touch screen app before!) - is there an easy way to somehow get it to smoothly scroll by swiping your finger up/down?

 

Sorry if there are a lot of questions here, I just can't seem to figure it out!

Thank you!

Hristo
Telerik team
 answered on 07 Dec 2017
7 answers
205 views

Description:

• When I click on the 'New row', it creates a blank new row.

• When I tab to a Decimal column and add something there and click tab (Note it isnot the last column), it creates an empty row.

I don't get this if instead of clicking tab, I actually click in the next cell.

Dimitar
Telerik team
 answered on 07 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?