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

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.

Hello,
I hope this is a simple question. But how can I give a donut graph another size?
Because resizing the client area at designtime doesn't change the size of the donut.
Also not changing the Size property by hand.
Below is the code that I have. What do I miss?
this.chartView.AreaType = ChartAreaType.Pie;
DonutSeries series = new DonutSeries();
series.DataPoints.Add(new PieDataPoint(50, "Germany"));
series.DataPoints.Add(new PieDataPoint(70, "United States"));
series.DataPoints.Add(new PieDataPoint(40, "France"));
series.DataPoints.Add(new PieDataPoint(25, "United Kingdom"));
series.ShowLabels = true;
series.Size = new Size(400, 400); //***
this.chartView.Series.Add(series);
this.chartView.Series[0].ForeColor = Color.White;
this.chartView.Series[0].Font = new Font("Arial", 12, FontStyle.Bold);

Hi,
have got to make this panel which contains a lot of group controls and I have run out of height on the winform..I tried using the scrollable panel docked to the form but no good (although it did allow some scrolling...how do I get a scrollable panel at design time where I can load all these controls?

How do we validate from the collection editor? In my case, a collection property that pops up a collection editor. If I change an item's property values, my Validating/End-editing handlers do not get called.
Thanks.

Hello,
I am using a ShapedForm (without TitleBar control) instead of normal Form, but now it seems like my default Form events like keypress, keydown etc. are not working anymore.
How can I get these to work? I want the form to close when a user presses Escape. And possibly Minimize form when a user presses e.g. F10.
Do I need a Titlebar? If so, how can I make this titlebar Blue instead of grey? Plus some caption on it as well of course.

Hello
I need to use some dropdown cascading filters, when i change first of them the others must be fill with related data. I'm using unbound mode to add descriptors and trying to archieve this with EditorInitialized event but i don't know how to discriminate parts of the filter.
How can i archive this?
Thanks
