Hi,
I have an existing C#.Net application that requires modification. To update it I will basically re-write it with radControls which is all fine.
I am wondering if anyone has created a class library Telerik Winforms project and then have it referenced and consumed by an existing VB6 MDI application?
I have done this before with standard C#.Net and would like to do so again but using the excellent radControls.
There may be issues with theming (I would probably not use any theme) but I would like to check if there may be any issues with references to Telerik files and so on.
Many thanks,
Martin.




I am attempting to export a radTreeView to a PDF using TreeViewSpreadExport
Telerik.WinControls.Export.TreeViewSpreadExport tvse = new Telerik.WinControls.Export.TreeViewSpreadExport(radTV,Telerik.WinControls.Export.SpreadExportFormat.Pdf);{Code that goes here that I can't seem to figure out and is documented very poorly)tvse.RunExport(MyExportDirectory + "\\export.pdf", _____ );The documentation mentions an iSpreadExportRenderer interface, but doesn't give any information how to use it.
Could you provide an example of how to use TreeViewSpreadExport for a PDF (and perhaps an XLS also) ?
Hello,
I have a bound RadTreeView that has its datasource set to a datatable. I've set the DisplayMember and ValueMember of the RadTreeView, but now I would like to bind some additional fields to the tree.
I understand that I can create a new class for the RadTreeNode (or just use the Tag property if I only needed one new value) and give it some additional properties, but how can I bind these new properties in the same manner that setting the ValueMember does? My class currently looks like this:
Public Class MyRadTreeNode Inherits RadTreeNode Private _Value1 As String Private _Value2 As String Public Property Value1 As String Get Return _Value1 End Get Set(value As String) _Value1 = Value1 End Set End Property Public Property Value2 As String Get Return _Value2 End Get Set(value As String) _Value2 = Value2 End Set End PropertyEnd Class
If this is not possible, could anyone recommend a workaround? I was looking at just looping through the tree's datasource, but since neither the DisplayMember nor the ValueMember are set to primary key columns, I don't believe this would be possible. I could change the ValueMember to a primary key but I'd like to avoid doing that if at all possible (I'm assuming I would take a pretty big performance hit if I did this).
Thanks in advance!
Hello, first of all I want to clarify i have not an issue with the product, what I'm trying to do is to support a very specific scenario.
The scenario is the following: a read-only grid, showing data from a query to a large remote database table, on a client with good networking speed and high latency.
The requirement is that the user will have to work on a responsive local ui despite the high latency, so virtualization and data paging is used.
The current implementation uses a virtual grid associated to a local cache that keeps in memory a small page of record, for example 500.
At the very beginning the cache gets the record count to the server and pass this number as the RowCount to the grid.
As the grid raise the event OnCellValueNeeded to get the row number 100,772 , the cache know that record 100,772 is out of its local bounds and will require to the server the records between (for example) 100,722 to 101,221. That's given the high latency requires little less a second, it is not a terrible issue, but... it is noticeable and somebody have the feeling of a not responsive UI, cause the server request is synchronous thus freezing the UI.
I'm not a psychologist but i guess the bad feeling is caused by the fact the user did not requested the "get a new page operation", if i gave the user the "paging" control the user would have a good feeling, but I can't.
I would like to exploit the human sensation about a smoot and responsive UI by running the query async, having the grid showing the value "#loading" on cells and then once the background worker finished loading the cache ask the grid, if the requested cell still is visible, to refresh the cell.
So now i described the scenario, what i would like to ask community is if it is possible and how to :
* have the oncellvalueneeded immediately return a dummy value for any datatype (including datetime cells) and launch the background worker to retrieve the data.
* once the data is ready, ask the grid to refresh the {visible cells} intersecated with the {retrieved from the database data}
Best regards
Andrea


I have two problems with Filtering.
1) I need to set grid.Columns[i].FilterDescriptor.Expression to a string value, but as the Expression is Read Only, so I cannot do this. Note: I don't want to use grid.FilterDescriptors.Add(.....).
2) Why does the grid.FilterDescriptors.First(.....).Value return null? The PropertyName and Operand is OK, but Value is null.
