Hello everybody!
I've questions to you and specially Telerik's developers.
1. We changed library from full version Q1 (2011.1.0419.35) to full version Q2 (2011.2.0712.35). Both versions are full and were bought (not any trials).
After this change very important functionality for us - dragging / moving on map after click right button mouse - don't work.
We use Visual Studio 2010 and Team Foundation Server for software development. Our project is made in WPF(C#).
Any old libraries (Q1) were replaced on new Q2 version (in TFS and local machines).
Interestingly if I make simple project in WPF and use this radmap Q2 version (without any TFS connection) this moving maps functionality works.
What should we do? any idea????
2. We changed Q1 to Q2, because new version has new functionality available by SqlGeospatialDataReader, and .... here is another problem namely: SqlGeospatial gets good data and don't display any polygon or points on informationlayer. Example code is shown below:
xaml:
................
<telerik:InformationLayer x:Name="layer1" Visibility="Visible">
<telerik:InformationLayer.Reader>
<telerik:SqlGeospatialDataReader x:Name="sqlGeospatialDataReader">
</telerik:SqlGeospatialDataReader>
</telerik:InformationLayer.Reader>
</telerik:InformationLayer>
.................
code behind:
............
DBContext.DataClasses1DataContext db = new DBContext.DataClasses1DataContext();
List<string> mylist = new List<string>();
foreach (var element in db.usp_GetRegions().ToList())
{
mylist.Add(element.WKT);
}
sqlGeospatialDataReader.Source = mylist;
at sqlGeospatialDataReader.Source = mylist, the SqGeoSpatialDataReader.Source gets complete list of WKT's as strings. This code has debugged and contains correct data required by SqlGeoSpatialDataReader (I think so :-)).
usp_GetRegions() is stored procedure that gets data from SQL Server and works fine (return correct format of data).
Can you give (link example or some other) me any example of use this class in codebehind. I tried "List<IEnumerable> mylist" and don't work also.
I will be grateful for help.
Pablo
I've questions to you and specially Telerik's developers.
1. We changed library from full version Q1 (2011.1.0419.35) to full version Q2 (2011.2.0712.35). Both versions are full and were bought (not any trials).
After this change very important functionality for us - dragging / moving on map after click right button mouse - don't work.
We use Visual Studio 2010 and Team Foundation Server for software development. Our project is made in WPF(C#).
Any old libraries (Q1) were replaced on new Q2 version (in TFS and local machines).
Interestingly if I make simple project in WPF and use this radmap Q2 version (without any TFS connection) this moving maps functionality works.
What should we do? any idea????
2. We changed Q1 to Q2, because new version has new functionality available by SqlGeospatialDataReader, and .... here is another problem namely: SqlGeospatial gets good data and don't display any polygon or points on informationlayer. Example code is shown below:
xaml:
................
<telerik:InformationLayer x:Name="layer1" Visibility="Visible">
<telerik:InformationLayer.Reader>
<telerik:SqlGeospatialDataReader x:Name="sqlGeospatialDataReader">
</telerik:SqlGeospatialDataReader>
</telerik:InformationLayer.Reader>
</telerik:InformationLayer>
.................
code behind:
............
DBContext.DataClasses1DataContext db = new DBContext.DataClasses1DataContext();
List<string> mylist = new List<string>();
foreach (var element in db.usp_GetRegions().ToList())
{
mylist.Add(element.WKT);
}
sqlGeospatialDataReader.Source = mylist;
at sqlGeospatialDataReader.Source = mylist, the SqGeoSpatialDataReader.Source gets complete list of WKT's as strings. This code has debugged and contains correct data required by SqlGeoSpatialDataReader (I think so :-)).
usp_GetRegions() is stored procedure that gets data from SQL Server and works fine (return correct format of data).
Can you give (link example or some other) me any example of use this class in codebehind. I tried "List<IEnumerable> mylist" and don't work also.
I will be grateful for help.
Pablo