Telerik Forums
UI for WinForms Forum
5 answers
254 views
I have a RadTreeView that can get up to 4 levels deep.  The problem I am having is that adding and removing nodes is extremely slow.  Unfortunately my current position doesnt allow me to write a batch function to insert/remove nodes in groups.  I tried using the BegingUpdate() and EndUpdate() and this helped, and by helped i mean it took my CPU utilization from 100% to 50%.  Any suggestions on how to improve this?
Stefan
Telerik team
 answered on 21 Mar 2011
2 answers
188 views
Hi, I'm working with two monitors. When I move the treeview to the secondary monitor, the context menu of every node is displayed in the main monitor. It occurs too with the control demo installed with the components, so, I suposs that it's a bug.

Another thing, text displayed in the context menu are not aligned. I change every TextAlignment of each item, but what are displayed at runtime is very different.

Thanks.
Stefan
Telerik team
 answered on 21 Mar 2011
4 answers
169 views
Hi
I have placed a RadTreeView on a form and then in the load event have the following:

            for (int i = 0; i < 10; i++)  
            {  
                RadTreeNode treeNode = new RadTreeNode(i.ToString());  
                treeNode.ShowRadioButton = true;  
 
                radTreeView1.Nodes.Add(treeNode);  
            }  
 

The problem is that when I click on one item in the list and then another, the first one is not deselected and I end up with all the radio buttons selected.  The sample you provide does not have this problem.

Please could you explain how to achieve the effect I want - a list of (top level) radio buttons.

Thanks

Best regards

Marek

Stefan
Telerik team
 answered on 21 Mar 2011
4 answers
231 views
Hi.
I am using the Rad Treeview for Win Forms.
I am trying to bind the tree to a datatable.
The table consists of columns that include ID and ParentID
However, the ID and ParentID are GUID's. Am I correct in assuming that the columns need to be integers? As the binding is giving me weird errors (Unable to cast object of type 'System.Windows.Forms.RelatedPropertyManager' to type 'System.Windows.Forms.CurrencyManager'.)

What do you suggest I do to fix this? Is my only option to go and create a method that will loop through each of these rows in my table and convert their GUID's into integers and match up the related ParentID's?

Thanks for any help,
Kris
Stefan
Telerik team
 answered on 21 Mar 2011
2 answers
119 views
Hello,

i have an issue with exporttopdf.
even when i set the scale, fittopagewidth properties the result (pdf) looks everytime the same.
my code:

ExportToPDF pdf = new ExportToPDF(this._rg);
          pdf.ExportVisualSettings = true;
 
          pdf.Scale = 0.4f;
          pdf.FitToPageWidth = true;
 
          //pdf.TableBorderThickness = 0;
          pdf.RunExport(path);


thx for help
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
8 answers
643 views
Has anyone been able to get a RadTreeView to bind to custom business objects?
I followed the example in the help but it only seems to show my first level artist nodes.  In fact it doesn't even show the top level 'Artists' node.

I was also initially getting null object errors adding to the RelationBindings collection.  It seems the collection is not initialized until you call some other method like RadTreeView.DataSource.

The example also only seems to use a single binding source and then uses compound property references to navigate the sub-relationships e.g. "Albums.Songs", whereas the DataSet example sets up a different binding source for each type of data.

Also assuming I could get this to work, what is the liklihood that it will be two way.  I tried editing the name of a top level node and that seems to push the name back into the source data object.  But what will happen if I start dragging and dropping.  Is it to much to expect that it will handle this too?  I guess that would be problematic for the Artists/Albums/Songs example because you could drag a Song to an Artist.   However, I have a need for a generic type hierarchy where all nodes are the same type and so a node can be dragged pretty much anywhere.

Thanks for any input
Martin
Stefan
Telerik team
 answered on 21 Mar 2011
2 answers
151 views
Hi....

i have developed one software using telerik win form controls.but while running that software it takes more time to load each form...

why it takes more time?is it reason of loading dll files?

what is the problem and how can reduce the loading time.......


pls help me....
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
3 answers
135 views
Hello,

I'm converting over to telerik controls from straight ms objects and I'm running into a problem with drop down lists. I have a simple class that I created for date selection and I currently use this in my project with combo boxes. With a regular combo box I am able to add the objects right into the combo box, however I don't see that with the rad drop down list and I'm unsure the best way to get the same functionality.

If it helps, the object has a text value and then 2 dates. It's used for a 'quick date' selection, so the drop down has items like "Today", "This Week", "This Month" etc. and when the user selects the item they want I can use the object to get the 2 dates that are attached to the object and filter my data.

Thanks for any help you can provide!
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
1 answer
158 views
Is there a way to export the new theme Office 2010 black to a tssp ?

The visual style builder does not seem to be aware of it's existance, and "Export Built in Themes" does not export it.
Nikolay
Telerik team
 answered on 21 Mar 2011
1 answer
135 views
Hi,

I display RadMessageBox in a textbox's validating.  After I press OK button in the messagebox, the cursor is focus in the current control instead of next control.
However, if I use Visual Studio's messagebox, the cursor will stay in the next control after I press OK button.
So, how can I solve it?

p.s. The step to produce this problem as following:
1. Click on TextBox1 in form
2. Tab away from TextBox1
3. Message prompt out.
4. Use mouse to click [OK] button in message box.
5. After the message box disappear, the cursor stay in textbox1 (it should stay in textbox2).



 

Imports Telerik.WinControls
  
Public Class Form1
  
    Private Sub TextBox1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating
        RadMessageBox.Show("Testing", Me.Text, MessageBoxButtons.OK, RadMessageIcon.Info)
    End Sub
End Class
Richard Slade
Top achievements
Rank 2
 answered on 20 Mar 2011
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)
Chart (obsolete as of Q1 2013)
Form
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?