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
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.
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
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
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
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